Re: [AUCTeX] cursor jumping in auctex

2007-07-01 Thread David Kastrup
Ralf Angeli <[EMAIL PROTECTED]> writes:

> * David Kastrup (2007-06-30) writes:
>
>> Ralf Angeli <[EMAIL PROTECTED]> writes:
>>
>>> We should honor `blink-matching-paren'.
>>
>> It would seem reasonable to me to have our own customization variable
>> for this, defaulting to the value of blink-matching-paren.
>
> I don't think we need this extra bit of complexity and therefore checked
> in a change without an additional customization option.

It is rather common in mathematics to have unmatched parens, like with
$[0,\infty)$.  Whether this is enough reason for people to turn off
paren matching, I don't know.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] cursor jumping in auctex

2007-07-01 Thread Ralf Angeli
* David Kastrup (2007-06-30) writes:

> Ralf Angeli <[EMAIL PROTECTED]> writes:
>
>> We should honor `blink-matching-paren'.
>
> It would seem reasonable to me to have our own customization variable
> for this, defaulting to the value of blink-matching-paren.

I don't think we need this extra bit of complexity and therefore checked
in a change without an additional customization option.

-- 
Ralf


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] cursor jumping in auctex

2007-06-30 Thread David Kastrup
Ralf Angeli <[EMAIL PROTECTED]> writes:

> * David Kastrup (2007-06-26) writes:
>
>> With regard to the matching: uhm.  Not easy to turn that off.  Perhaps
>> something like resetting the keybinding of $ to self-insert-command or
>> so.
>>
>> Ralf, any better idea?
>
> We should honor `blink-matching-paren'.

It would seem reasonable to me to have our own customization variable
for this, defaulting to the value of blink-matching-paren.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] cursor jumping in auctex

2007-06-30 Thread Ralf Angeli
* David Kastrup (2007-06-26) writes:

> With regard to the matching: uhm.  Not easy to turn that off.  Perhaps
> something like resetting the keybinding of $ to self-insert-command or
> so.
>
> Ralf, any better idea?

We should honor `blink-matching-paren'.

-- 
Ralf


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] cursor jumping in auctex

2007-06-29 Thread David Kastrup

Please keep the mailing list copied in your replies.  I am not the
only AUCTeX developer.

Vladimir Zhuravlev <[EMAIL PROTECTED]> writes:

> Did not really work:
>
>
> An error has occurred while loading `/home/avova/.emacs':
>
> Symbol's value as variable is void: TeX-mode-map
>
>
>
>
>
> David Kastrup wrote:
>> Vladimir Zhuravlev <[EMAIL PROTECTED]> writes:
>>
>>> Is there at least a dirty temporary hack that can turn cursor jumping off ?
>>
>> Something like
>> (add-hook 'TeX-mode-hook
>>   (define-key TeX-mode-map "$" 'self-insert-command))
>> might work.

Hm, obvious mistake.  This would need to be

(add-hook 'TeX-mode-hook (lambda nil
   (define-key TeX-mode-map "$" 'self-insert-command)))

-- 
David Kastrup


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] cursor jumping in auctex

2007-06-26 Thread David Kastrup
Vladimir  <[EMAIL PROTECTED]> writes:

> Hi,
>
> I am an emacs newbie and I am learning it just because of 
> AUCTEX/preview-latex.
> For some reason auctex does not respect my emacs settings -- I put 
>
> (setq blink-matching-paren nil)
> (show-paren-mode 0)
>
> in my ~/.emacs because I hate to see the cursor jumping. Nonetheless
> in auctex mode it still jumps on dollar signs. How can I fix that ?
> Also, I do not want $$ to be inserted automatically, is it possible
> to turn this off ?

M-x customize-variable RET TeX-math-close-double-dollar RET
(don't forget saving for future sessions).  Actually, the value nil is
the _default_ for AUCTeX 11.84, so you may want to upgrade.

With regard to the matching: uhm.  Not easy to turn that off.  Perhaps
something like resetting the keybinding of $ to self-insert-command or
so.

Ralf, any better idea?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] cursor jumping in auctex

2007-06-25 Thread Vladimir
Hi,

I am an emacs newbie and I am learning it just because of AUCTEX/preview-latex.
For some reason auctex does not respect my emacs settings -- I put 

(setq blink-matching-paren nil)
(show-paren-mode 0)

in my ~/.emacs because I hate to see the cursor jumping. Nonetheless in auctex
mode it still jumps on dollar signs. How can I fix that ? Also, I do not want $$
to be inserted automatically, is it possible to turn this off ? 





___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex