* Redefine <return> to do newline in Custom mode
@ 2007-10-20 4:40 Matthew Flaschen
0 siblings, 0 replies; 3+ messages in thread
From: Matthew Flaschen @ 2007-10-20 4:40 UTC (permalink / raw)
To: emacs
By default, hitting return in custom mode goes to the next field.
However, I would like to rebind it to newline to make it easier to edit
multi-line fields. I have tried:
(define-key custom-mode-map "RET" 'newline)
as well as several variations ("^M", "<return>, etc.)
but it seems to have no effect in the actual customization field. I am
running 22.1.1, packaged by Fedora.
Thanks,
Matt Flaschen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Redefine <return> to do newline in Custom mode
[not found] <mailman.2337.1192855902.18990.help-gnu-emacs@gnu.org>
@ 2007-10-23 15:26 ` Johan Bockgård
2007-10-27 1:59 ` Matthew Flaschen
0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2007-10-23 15:26 UTC (permalink / raw)
To: help-gnu-emacs
Matthew Flaschen <matthew.flaschen@gatech.edu> writes:
> By default, hitting return in custom mode goes to the next field.
> However, I would like to rebind it to newline to make it easier to
> edit multi-line fields.
The fields use `custom-field-keymap'.
--
Johan Bockgård
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Redefine <return> to do newline in Custom mode
2007-10-23 15:26 ` Johan Bockgård
@ 2007-10-27 1:59 ` Matthew Flaschen
0 siblings, 0 replies; 3+ messages in thread
From: Matthew Flaschen @ 2007-10-27 1:59 UTC (permalink / raw)
To: Johan Bockgård; +Cc: help-gnu-emacs
Johan Bockgård wrote:
> Matthew Flaschen <matthew.flaschen@gatech.edu> writes:
>
>> By default, hitting return in custom mode goes to the next field.
>> However, I would like to rebind it to newline to make it easier to
>> edit multi-line fields.
>
> The fields use `custom-field-keymap'.
Thank you very much. I wasn't aware of that variable.
Matt Flaschen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-27 1:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-20 4:40 Redefine <return> to do newline in Custom mode Matthew Flaschen
[not found] <mailman.2337.1192855902.18990.help-gnu-emacs@gnu.org>
2007-10-23 15:26 ` Johan Bockgård
2007-10-27 1:59 ` Matthew Flaschen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.