From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Madhu Newsgroups: gmane.emacs.help Subject: Re: colours lost Date: Sun, 14 Jul 2019 17:57:24 +0530 Message-ID: References: <83pnruo2ub.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109810"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 14 14:51:52 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmdyp-000SQC-DH for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jul 2019 14:51:51 +0200 Original-Received: from localhost ([::1]:60342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmdyo-0002lU-8D for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jul 2019 08:51:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54229) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmdyk-0002lH-Kw for help-gnu-emacs@gnu.org; Sun, 14 Jul 2019 08:51:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmdyj-0001cA-IT for help-gnu-emacs@gnu.org; Sun, 14 Jul 2019 08:51:46 -0400 Original-Received: from [117.208.206.155] (port=37582 helo=localhost.localdomain) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hmdyh-0001Oo-Sh for help-gnu-emacs@gnu.org; Sun, 14 Jul 2019 08:51:45 -0400 Original-Received: (qmail 11391 invoked by uid 500); 14 Jul 2019 12:27:24 -0000 In-Reply-To: (Madhu's message of "Sat, 06 Jul 2019 21:03:44 +0530") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 117.208.206.155 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121171 Archived-At: I'm curious if anyone was able to reproduce this. Maybe some more changes in the emacs custom mechanism will push the bug away.. * Madhu : > I've extracted one twisted test case from my .emacs and it is something > of a mystery. > > ;; Put this form in a file, say f.el > > (eval-after-load 'gnus-sum > '(progn > (defadvice gnus-summary-save-article (after rmail-label-prompter-advice activate) > (if (eq gnus-default-article-saver 'gnus-summary-save-in-rmail) > (message "foo") > (message "bar"))) )) > > Then open a file which does not autoload org-mode but which can be > converted to org-mode. For example I use hyperbole's DEMO file: > > emacs -Q -eval '(list-colors-display)' -l f.el ~/elisp/pkg/hyperbole/DEMO > > Then with DEMO as the current buffer, do M-x org-mode > > Then M-x list-colors-display shows my colours are gone. > > (gnus-default-article-saver is a variable defined n gnus-art and may not > be defined when gnus-sum is loaded.) > > [Unrelated notes] > > 1 Although this mailing list is being propagated to the usenet group, the > posts on the usenet group do not seem to make it to the mailing list. > > 2 Setting mail-user-agent to message-user-agent instead of > sendmail-user-agent drops all the References headers when replying to a > mail from a gnus summary buffer. > I've extracted one twisted test case from my .emacs and it is something > of a mystery. > > ;; Put this form in a file, say f.el > > (eval-after-load 'gnus-sum > '(progn > (defadvice gnus-summary-save-article (after rmail-label-prompter-advice activate) > (if (eq gnus-default-article-saver 'gnus-summary-save-in-rmail) > (message "foo") > (message "bar"))) )) > > Then open a file which does not autoload org-mode but which can be > converted to org-mode. For example I use hyperbole's DEMO file: > > emacs -Q -eval '(list-colors-display)' -l f.el ~/elisp/pkg/hyperbole/DEMO > > Then with DEMO as the current buffer, do M-x org-mode > > Then M-x list-colors-display shows my colours are gone. > > (gnus-default-article-saver is a variable defined n gnus-art and may not > be defined when gnus-sum is loaded.)