[AUCTeX-devel] Use user-full-name as initial input to author macro

2013-04-16 Thread Mosè Giordano
Hi all, I'm sending a patch defining a new customizable variable (whose default value is `user-full-name') to be used as initial input to `\author' macro. Any comments? Some minutes ago I've documented some missing features in `doc/auctex.texi', I hope it's OK. Bye, Mosè

Re: [AUCTeX-devel] Use user-full-name as initial input to author macro

2013-04-16 Thread Orlando Iovino
Il 16/04/2013 16:24, Mosè Giordano ha scritto: I'm sending a patch defining a new customizable variable (whose default value is `user-full-name') to be used as initial input to `\author' macro. Any comments? It's a very good idea! Bye, Orlando -- Orlando Iovino

Re: [AUCTeX-devel] Use user-full-name as initial input to author macro

2013-04-16 Thread Tassilo Horn
Mosè Giordano giordano.m...@libero.it writes: Hi Mosè, I'm sending a patch defining a new customizable variable (whose default value is `user-full-name') to be used as initial input to `\author' macro. Any comments? That's a good idea. One comment below. Some minutes ago I've documented

Re: [AUCTeX-devel] Use user-full-name as initial input to author macro

2013-04-16 Thread Mosè Giordano
Hi Tassilo, 2013/4/16 Tassilo Horn t...@gnu.org: +(defun LaTeX-arg-author (optional) + Prompt for author name. +Insert the given value as a TeX macro argument. If OPTIONAL is +non-nil, insert it as an optional argument. Use +`LaTeX-default-author' as initial input. + (let ((author (if

Re: [AUCTeX-devel] Use user-full-name as initial input to author macro

2013-04-16 Thread Tassilo Horn
Mosè Giordano giordano.m...@libero.it writes: 2013/4/16 Tassilo Horn t...@gnu.org: +(defun LaTeX-arg-author (optional) + Prompt for author name. +Insert the given value as a TeX macro argument. If OPTIONAL is +non-nil, insert it as an optional argument. Use +`LaTeX-default-author' as

Re: [AUCTeX-devel] Use user-full-name as initial input to author macro

2013-04-16 Thread Mosè Giordano
Hi Tassilo, 2013/4/16 Tassilo Horn t...@gnu.org: No no, let's keep it, and let's also use 'user-full-name (quoted) as default value. Then, I think using (if (symbolp LaTeX-default-author) (symbol-value LaTeX-default-author) LaTeX-default-author) is preferrable to `eval'.