免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: flw
打印 上一主题 下一主题

有关 Emacs 使用技巧的内容请在这个帖子讨论。 [复制链接]

论坛徽章:
0
231 [报告]
发表于 2005-09-03 23:41 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

有谁知道gemacs/guile-emacs现在怎样了?上http://gemacs.sourceforge.net/已经几年没更新了。


gemacs真的没人支持下去吗?我找到最后一封gemacs的邮件:
This is the mail archive of the guile-emacs@sources.redhat.com mailing list for the Guile project.


--------------------------------------------------------------------------------
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]  
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

emacs and guile...
From: Ken Raeburn <raeburn at raeburn dot org>;
To: guile-emacs at sources dot redhat dot com
Date: Fri, 22 Jul 2005 18:31:24 -0400
Subject: emacs and guile...

--------------------------------------------------------------------------------
Looks like this list is mostly dead, but in case there's any interest, I've been banging on the Emacs CVS code recently and have a version which starts up, runs dired, edits a file, etc., in a terminal window on my Mac laptop. Okay, that's not very interesting; what is more interesting is that it's using Guile's allocator and GC, and smob representations for most of the non-trivial Lisp object types. (Conversions shouldn't be hard, but closer integration of the types will take some work.)

There are still plenty of bugs (for starters, it doesn't bootstrap yet, hasn't been tested on a window system, and uses an unreadable color scheme in a color xterm window), so I'm not looking for new bug reports without patches right now, but if anyone else is interested in banging on it and helping me fix problems, I can make a copy available.

Ken


--------------------------------------------------------------------------------
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]  
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

论坛徽章:
0
232 [报告]
发表于 2005-09-07 13:03 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

emacs 中如何进行列选择?

是否可以象 ultraedit 那样选择多列并且编辑东西?

论坛徽章:
0
233 [报告]
发表于 2005-09-07 15:31 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

原帖由 "wolfman.wu" 发表:
emacs 中如何进行列选择?

是否可以象 ultraedit 那样选择多列并且编辑东西?

可以参考emacs的info中rectangles这节
或到http://www.emacswiki.org搜索
`C-x r d'
     Delete the text of the region-rectangle (`delete-rectangle').

`C-x r y'
     Yank the last killed rectangle with its upper left corner at point
     (`yank-rectangle').

`C-x r o'
     Insert blank space to fill the space of the region-rectangle
     (`open-rectangle').  This pushes the previous contents of the
     region-rectangle rightward.

`M-x clear-rectangle'
     Clear the region-rectangle by replacing its contents with spaces.

`M-x delete-whitespace-rectangle'
     Delete whitespace in each of the lines on the specified rectangle,
     starting from the left edge column of the rectangle.

`C-x r t STRING <RET>;'
     Replace rectangle contents with STRING on each line.
     (`string-rectangle').

`M-x string-insert-rectangle <RET>; STRING <RET>;'
     Insert STRING on each line of the rectangle.

论坛徽章:
0
234 [报告]
发表于 2005-09-08 17:15 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

有三个问题想请教:

怎么跳到前一次光标的位置?

怎么copy前一次复制的内容,而不是这次复制的内容?

在编C代码时,怎么在emacs里让选中的区域自动缩进?

万分感谢!!!

论坛徽章:
0
235 [报告]
发表于 2005-09-09 09:46 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

原帖由 "smtuotuo" 发表:
有三个问题想请教:

怎么跳到前一次光标的位置?

怎么copy前一次复制的内容,而不是这次复制的内容?

在编C代码时,怎么在emacs里让选中的区域自动缩进?

万分感谢!!!


>;>; 怎么跳到前一次光标的位置?

这里的“前一次”的意思是指的“上上次”吧?如果是这样,Emacs没有对应的命令,但是你可以折衷实现:使用Emacs的寄存器功能来记录位置和进行位置跳转。

  1. C-x r SPC r
  2.     Save position of point in register r (point-to-register).
  3. C-x r j r
  4.     Jump to the position saved in register r (jump-to-register).
复制代码

上面的 r 代表你指定的一个字符,相当于这个位置的名子。

>;>; 怎么copy前一次复制的内容,而不是这次复制的内容?

同样也可以使用寄存器功能来实现:

  1. C-x r s r
  2.     Copy region into register r (copy-to-register).
  3. C-x r i r
  4.     Insert text from register r (insert-register).
复制代码


>;>; 在编C代码时,怎么在emacs里让选中的区域自动缩进?

  1. C-M-\
  2.     Re-indent all lines in the region (indent-region).
复制代码
东门之杨 该用户已被删除
236 [报告]
发表于 2005-09-14 15:02 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
237 [报告]
发表于 2005-09-15 12:21 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

看完这些命令差不多都要累S了,更不要说记了

论坛徽章:
0
238 [报告]
发表于 2005-09-16 15:48 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

哪有emacs for dos下载??
我最近学保护模式编程在dos上.

论坛徽章:
0
239 [报告]
发表于 2005-09-16 16:44 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

请问:我在.emacs中添加:
(column-number-mode t)
为什么仍然不能显是行号?
我在搜索emacs文章是经常看到一些带有.el的文件,这是emacs的扩展吗?如何使用?解压到硬盘就行了吗?

请个位指点,谢谢。

论坛徽章:
0
240 [报告]
发表于 2005-09-16 17:00 |只看该作者

有关 Emacs 使用技巧的内容请在这个帖子讨论。

原帖由 "liuyishao" 发表:
请问:我在.emacs中添加:
(column-number-mode t)
为什么仍然不能显是行号?
我在搜索emacs文章是经常看到一些带有.el的文件,这是emacs的扩展吗?如何使用?解压到硬盘就行了吗?

请个位指点,谢谢。


(column-number-mode t)
这个只是在下面的工具栏上加上行数显示而已,你如果想在左边显示出来的话要加入setnu和setnu-plus这两个插件....在http://learn.tsinghua.edu.cn/homepage/2001315450/emacs_elisp.html可以找到

.el文件是elisp写的emacs的插件,只需要放在一个文件夹下面然后在.emacs中指定路径就可以了,有一些还要写require....你自己去看看,看多了就知道了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP