vmlinz | 2 Sep 09:20 2011

[Jed-users-l] 访问我的图片

嗨,

我创建了一个Netlog个人主页,其中包括我的图片、视频、博客和活动。非常希望邀请你成为我的朋友,一起共享我们的天地。这需要你先在Netlog上注册哦!在登录后,你也可以创建属于自己的个人主页了。

看一看:
http://zh.netlog.com/go/mailurl/-bT0yOTQ5OTE4MDImbD0xJmdtPTEyJnU9JTJGZ28lMkZyZWdpc3RlciUyRmlkJTNELWFtVmtMWFZ6WlhKekxXeEFhblJoYmk1amIyMF8lMjZ1aWQlM0QxNzE3MDE1OTk_

祝好,
vmlinz

----------------------------------------------------------------
如果你不想再接接收到来自朋友的任何邀请,则请
http://zh.netlog.com/go/mailurl/-bT0yOTQ5OTE4MDImbD0yJmdtPTEyJnU9JTJGZ28lMkZub21haWxzJTJGaW52aXRlJTJGZW1haWwlM0QtYW1Wa0xYVnpaWEp6TFd4QWFuUmhiaTVqYjIwXyUyNmNvZGUlM0QxMzI2NTYyMw__
Don't want to receive invitations from your friends anymore?
http://zh.netlog.com/go/mailurl/-bT0yOTQ5OTE4MDImbD0zJmdtPTEyJnU9aHR0cCUzQSUyRiUyRmVuLm5ldGxvZy5jb20lMkZnbyUyRm5vbWFpbHMlMkZpbnZpdGUlMkZlbWFpbCUzRC1hbVZrTFhWelpYSnpMV3hBYW5SaGJpNWpiMjBfJTI2Y29kZSUzRDEzMjY1NjIz
_______________________________________________
Jed-users-l mailing list
Jed-users-l <at> jtan.com
http://mailman.jtan.com/mailman/listinfo/jed-users-l
Peter Bengtsson | 23 Sep 14:34 2011

[Jed-users-l] ` double press

Why do I have to press the backtick ( ` ) key twice every time in jed? 
Quite annoying when writing a reStructuredText document. 
_______________________________________________
Jed-users-l mailing list
Jed-users-l <at> jtan.com
http://mailman.jtan.com/mailman/listinfo/jed-users-l

Manfred Hanke | 23 Sep 15:00 2011
Picon
Picon

Re: [Jed-users-l] ` double press

Hi Peter,

On 09/23/2011 02:34 PM, Peter Bengtsson wrote:
> Why do I have to press the backtick ( ` ) key twice every time in jed? 
> Quite annoying when writing a reStructuredText document.

By default, "`" is bound to the quoted_insert function, i.e., the first
` inserts the second ` (just as any other character) literally.

You can use
  setkey("self_insert_cmd", "`");
if you want to have the backtick inserted itself.

Cheers,

Manfred
_______________________________________________
Jed-users-l mailing list
Jed-users-l <at> jtan.com
http://mailman.jtan.com/mailman/listinfo/jed-users-l

Facundo Andrés Bianco | 23 Sep 16:15 2011

Re: [Jed-users-l] ` double press

On Fri, Sep 23, 2011 at 10:00 AM, Manfred Hanke
<Manfred.Hanke <at> sternwarte.uni-erlangen.de> wrote:
> Hi Peter,
>
> On 09/23/2011 02:34 PM, Peter Bengtsson wrote:
>> Why do I have to press the backtick ( ` ) key twice every time in jed?
>> Quite annoying when writing a reStructuredText document.
>
> By default, "`" is bound to the quoted_insert function, i.e., the first
> ` inserts the second ` (just as any other character) literally.
>
> You can use
>  setkey("self_insert_cmd", "`");
> if you want to have the backtick inserted itself.
>
> Cheers,
>

Didn't work for me :/

Best,

--

-- 
Facundo Andrés Bianco
freenode / identica: vando
http://van.do
_______________________________________________
Jed-users-l mailing list
Jed-users-l <at> jtan.com
http://mailman.jtan.com/mailman/listinfo/jed-users-l
(Continue reading)

Manfred Hanke | 23 Sep 16:50 2011
Picon
Picon

Re: [Jed-users-l] ` double press

> <Manfred.Hanke <at> sternwarte.uni-erlangen.de> wrote:
>> You can use
>>  setkey("self_insert_cmd", "`");
>> if you want to have the backtick inserted itself.

On 09/23/2011 04:15 PM, Facundo Andrés Bianco wrote:
> Didn't work for me :/

What does
   M-x showkey `
report instead?

If you put the setkey command in ~/.jedrc, are there any other commands
afterwards, which might overwrite that key binding?

Cheers,

Manfred
_______________________________________________
Jed-users-l mailing list
Jed-users-l <at> jtan.com
http://mailman.jtan.com/mailman/listinfo/jed-users-l
Facundo Andrés Bianco | 23 Sep 18:38 2011

Re: [Jed-users-l] ` double press

On Fri, Sep 23, 2011 at 11:50 AM, Manfred Hanke
<Manfred.Hanke <at> sternwarte.uni-erlangen.de> wrote:
>> <Manfred.Hanke <at> sternwarte.uni-erlangen.de> wrote:
>>> You can use
>>>  setkey("self_insert_cmd", "`");
>>> if you want to have the backtick inserted itself.
>
> On 09/23/2011 04:15 PM, Facundo Andrés Bianco wrote:
>> Didn't work for me :/
>
> What does
>   M-x showkey `
> report instead?
>

Just "self_insert_cmd".

> If you put the setkey command in ~/.jedrc, are there any other commands
> afterwards, which might overwrite that key binding?
>

Nones, but I think maybe it happens because I use a spanish keyboard config.

Thanks!

--

-- 
Facundo Andrés Bianco
freenode / identica: vando
http://van.do
_______________________________________________
(Continue reading)

Guenter Milde | 23 Sep 22:45 2011
Picon
Picon

Re: [Jed-users-l] ` double press

On 23.09.11, Peter Bengtsson wrote:
> Why do I have to press the backtick ( ` ) key twice every time in jed? 
> Quite annoying when writing a reStructuredText document. 

Look up its key-binding Help>Key (by default, it is quoted_insert).

I agree that this is an unfortunate choice for editing rst (but Jed is far
older).

This is why I have in my jed.rc the lines:

% quoted insert: I need ` more than °
setkey("self_insert_cmd", "`");
setkey ("quoted_insert", "\x{B0}"); % Character '°' 0xB0 DEGREE SIGN

BTW: this changes the default keymap: if you call a setkey command after a
special map is set up, it will not have any effect on this map. So, in an
rst mode hook, you would need to write, e.g.:

define rst_mode_hook()
{
   definekey("self_insert_cmd", "`", "rst");
}

However, this is already done in the rst mode
http://jedmodes.sf.net/mode/rst/

Günter
_______________________________________________
Jed-users-l mailing list
(Continue reading)


Gmane