From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: recentering for next-error
Date: Sat, 23 Jun 2007 00:11:49 +0200 [thread overview]
Message-ID: <87k5tvabbu.fsf@ambire.localdomain> (raw)
In-Reply-To: <87y7ibhl65.fsf@jurta.org> (Juri Linkov's message of "Fri\, 22 Jun 2007 22\:32\:23 +0300")
() Juri Linkov <juri@jurta.org>
() Fri, 22 Jun 2007 22:32:23 +0300
when I set the `recenter' argument in the Customization
buffer to the value `(4)', this doesn't work.
i see expected behavior using:
(setq next-error-recenter '(4))
presently, the defcustom for next-error-recenter permits only
numbers and nil. how about this one?
(defcustom next-error-recenter nil
"*Display the line in the visited source file recentered as specified.
If non-nil, the value is passed directly to `recenter'."
:type '(choice (integer :tag "Line to recenter to")
(const :tag "Center of window" (4))
(const :tag "No recentering" nil))
:group 'next-error
:version "23.1")
changes: s/number/integer/, add const (4), docstring update.
thi
next prev parent reply other threads:[~2007-06-22 22:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 9:39 recentering for next-error Thien-Thi Nguyen
2007-06-21 9:50 ` Andreas Schwab
2007-06-22 1:51 ` Richard Stallman
2007-06-22 19:32 ` Juri Linkov
2007-06-22 22:11 ` Thien-Thi Nguyen [this message]
2007-06-22 22:22 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k5tvabbu.fsf@ambire.localdomain \
--to=ttn@gnuvola.org \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).