unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [patch] follow mode for occur, compilation and diff
Date: 29 Aug 2004 12:29:07 -0400	[thread overview]
Message-ID: <m17jrhgbfg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200408290200.i7T20ZGK020594@scanner2.ics.uci.edu>

> + (define-minor-mode next-error-follow-minor-mode

I wouldn't bother with the "-minor".

> + (defun toggle-next-error-follow-mode ()
> +   "Toggles `next-error-follow-minor-mode'. "
> +   (interactive)
> +   (next-error-follow-minor-mode (not next-error-follow-minor-mode)))

What is this for?  Toggling is almost never ever used when called from
Lisp anyway.  And M-x next-error-follow-minor-mode RET will do the toggling
just fine, as happens for all minor modes.  I.e. just bind C-c C-f to
next-error-follow-minor-mode.


        Stefan

  reply	other threads:[~2004-08-29 16:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-29  2:00 [patch] follow mode for occur, compilation and diff Dan Nicolaescu
2004-08-29 16:29 ` Stefan [this message]
2004-08-29 17:21   ` Dan Nicolaescu
2004-09-13 18:00 ` Ted Zlatanov

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=m17jrhgbfg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.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).