all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Olson <mwolson@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: [PATCH] desktop.el: do not save some minor modes
Date: Mon, 29 Oct 2007 20:51:25 -0400	[thread overview]
Message-ID: <87d4ux1l2q.fsf@hariken.mwolson.org> (raw)
In-Reply-To: m2640papmj.fsf@news.cyberhut.org


[-- Attachment #1.1: Type: text/plain, Size: 999 bytes --]

CHENG Gao <chenggao@gmail.com> writes:

>>>        (add-to-list 'desktop-minor-mode-table '(erc-track-minor-mode
>>> nil))
>>> solves my problem, so this patch is not needed.
>>> Should we do that by default? Is it clear that users will prefer not
>>> to record that minor mode?
>>
>> I've now checked in a change to this effect.
>
> After this change this is one thing annoying - I have to (require
> 'desktop) to use erc even I dont use desktop.el otherwise an error is
> triggered telling desktop-minor-mode-table not existed or something. I
> think it's a bug.

OK, I've now moved the line into the definition of
desktop-minor-mode-table itself, which seems to be what other modes do.
This should fix the annoyance.

-- 
       Michael Olson -- FSF Associate Member #652     |
 http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
            Sysadmin -- Hobbies: Lisp, GP2X, HCoop    | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2007-10-30  0:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-25  5:53 [PATCH] desktop.el: do not save some minor modes Levin
2007-10-25  6:53 ` martin rudalics
2007-10-25  8:16   ` Levin
2007-10-25  8:40 ` Juanma Barranquero
2007-10-26  1:09   ` Levin
2007-10-26  3:49 ` Richard Stallman
2007-10-26  4:53   ` Levin
2007-10-26  8:31     ` Juanma Barranquero
2007-10-27  2:28     ` Richard Stallman
2007-10-29  1:03       ` Michael Olson
2007-10-29 15:48         ` CHENG Gao
2007-10-30  0:51           ` Michael Olson [this message]
2007-10-30 11:22             ` CHENG Gao

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=87d4ux1l2q.fsf@hariken.mwolson.org \
    --to=mwolson@gnu.org \
    --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 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.