all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Richard Sharman <rsharman@pobox.com>
Cc: Juanma Barranquero <lekktu@gmail.com>,
	Emacs Devel <emacs-devel@gnu.org>, Richard Stallman <rms@gnu.org>,
	martin rudalics <rudalics@gmx.at>
Subject: Re: patch to hilight-chg not in emacs 22.1
Date: Tue, 18 Mar 2008 12:51:32 -0400	[thread overview]
Message-ID: <jwvlk4grn6d.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8CB2E924-9CF1-4312-911C-1DA4783D19FD@pobox.com> (Richard Sharman's message of "Mon, 17 Mar 2008 23:11:37 -0400")

>>> So,  I have simplified the change to hilit-chg.el and have removed the
>>> part
>>> that required the change to easy-mmode.  (I think what I was  previously
>>> doing was overkill anyway.)
>> 
>> Thank you, this looks good.  I'd only advise you to rename
>> highlight-changes-toggle-visibility to highlight-changes-visible-mode
>> and define it (yet again) with define-minor-mode.

> So, if I understand it,  you are suggesting having two minor modes:
> highlight-changes-mode and highlight-changes-visible-mode?  Isn't  that
> going to be a bit confusing??

> If highlight-changes-mode were on then the meaning of the new mode is
> straight forward,  but if it were off should it just toggle the flag  and
> otherwise have no effect?  So it affects highlight changes mode  either
> immediately if that mode is on otherwise the next time it is  turned on?
> I can try and it see what it's like.

In what way are those problems different if the command is named
"highlight-changes-toggle-visibility" and implemented without
define-minor-mode?


        Stefan




  reply	other threads:[~2008-03-18 16:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-16 17:52 patch to hilight-chg not in emacs 22.1 Richard Sharman
2008-03-17 14:11 ` Stefan Monnier
2008-03-18  3:11   ` Richard Sharman
2008-03-18 16:51     ` Stefan Monnier [this message]
2008-03-19  2:43       ` Richard Sharman
2008-03-19 16:20         ` Stefan Monnier
2008-04-25 14:27           ` Juanma Barranquero
2008-05-02  3:21             ` Richard Sharman
2008-05-02  8:53               ` Juanma Barranquero
2008-03-18  9:55 ` martin rudalics

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvlk4grn6d.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=rms@gnu.org \
    --cc=rsharman@pobox.com \
    --cc=rudalics@gmx.at \
    /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 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.