unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10180: 24.0.92; Gnus shows spurious message with org MIME part
@ 2011-12-01 14:20 Stephen Berman
  2012-01-06 23:21 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Berman @ 2011-12-01 14:20 UTC (permalink / raw)
  To: 10180

Whenever I open an email or posting in Gnus that contains a MIME part
whose type is "text/org"
(e.g. http://permalink.gmane.org/gmane.emacs.bugs/54532), the echo area
displays the message "OVERVIEW".  This is because the MIME type text/org
induces (via defcustom mm-inline-media-tests) a call to
mm-display-org-inline,
which calls mm-display-inline-fontify,
which calls org-mode,
which calls org-set-startup-visibility,
which calls org-cycle,
which calls org-cycle-internal-global,
which calls (message "OVERVIEW").

Since the email or posting I'm reading in Gnus is not in org-mode and I
cannot cycle the state of the MIME part, the message is at best
superfluous, at worst confusing.

In GNU Emacs 24.0.92.1 (i686-suse-linux-gnu, GTK+ Version 2.24.7)
 of 2011-12-01 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.11004000
configured using `configure  '--without-toolkit-scroll-bars' 'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#10180: 24.0.92; Gnus shows spurious message with org MIME part
  2011-12-01 14:20 bug#10180: 24.0.92; Gnus shows spurious message with org MIME part Stephen Berman
@ 2012-01-06 23:21 ` Lars Magne Ingebrigtsen
  2012-02-01 14:21   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-01-06 23:21 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 10180, Bastien Guerry

Stephen Berman <stephen.berman@gmx.net> writes:

> Whenever I open an email or posting in Gnus that contains a MIME part
> whose type is "text/org"
> (e.g. http://permalink.gmane.org/gmane.emacs.bugs/54532), the echo area
> displays the message "OVERVIEW".  This is because the MIME type text/org
> induces (via defcustom mm-inline-media-tests) a call to
> mm-display-org-inline,
> which calls mm-display-inline-fontify,
> which calls org-mode,
> which calls org-set-startup-visibility,
> which calls org-cycle,
> which calls org-cycle-internal-global,
> which calls (message "OVERVIEW").
>
> Since the email or posting I'm reading in Gnus is not in org-mode and I
> cannot cycle the state of the MIME part, the message is at best
> superfluous, at worst confusing.

Yes, that seems rather confusing.

Bastien, can the

  (message "OVERVIEW")

be removed from the org function?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#10180: 24.0.92; Gnus shows spurious message with org MIME part
  2012-01-06 23:21 ` Lars Magne Ingebrigtsen
@ 2012-02-01 14:21   ` Lars Ingebrigtsen
  2012-02-01 15:27     ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2012-02-01 14:21 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: Stephen Berman, 10180

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

>> which calls org-cycle-internal-global,
>> which calls (message "OVERVIEW").
>>
>> Since the email or posting I'm reading in Gnus is not in org-mode and I
>> cannot cycle the state of the MIME part, the message is at best
>> superfluous, at worst confusing.
>
> Yes, that seems rather confusing.
>
> Bastien, can the
>
>   (message "OVERVIEW")
>
> be removed from the org function?

Bastien?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#10180: 24.0.92; Gnus shows spurious message with org MIME part
  2012-02-01 14:21   ` Lars Ingebrigtsen
@ 2012-02-01 15:27     ` Bastien
  2012-02-02 10:55       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2012-02-01 15:27 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Stephen Berman, 10180

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>>> which calls org-cycle-internal-global,
>>> which calls (message "OVERVIEW").
>>>
>>> Since the email or posting I'm reading in Gnus is not in org-mode and I
>>> cannot cycle the state of the MIME part, the message is at best
>>> superfluous, at worst confusing.
>>
>> Yes, that seems rather confusing.
>>
>> Bastien, can the
>>
>>   (message "OVERVIEW")
>>
>> be removed from the org function?

Sorry I missed this message.

I don't want to remove this message when this function is used from
within an Org buffer.  What variable can I check to tell the function
we are building a (Gnus) message?

PS: I consider implementing `org-message' similar to `gnus-message',
but that will not directly address the issue.  

-- 
 Bastien





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#10180: 24.0.92; Gnus shows spurious message with org MIME part
  2012-02-01 15:27     ` Bastien
@ 2012-02-02 10:55       ` Lars Ingebrigtsen
  2012-02-03  8:36         ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2012-02-02 10:55 UTC (permalink / raw)
  To: Bastien; +Cc: Stephen Berman, 10180

Bastien <bzg@altern.org> writes:

> I don't want to remove this message when this function is used from
> within an Org buffer.  What variable can I check to tell the function
> we are building a (Gnus) message?

That's a good question.  Hm...

Well, the buffer Gnus uses will have a name that starts with
"*fontification*"...

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#10180: 24.0.92; Gnus shows spurious message with org MIME part
  2012-02-02 10:55       ` Lars Ingebrigtsen
@ 2012-02-03  8:36         ` Bastien
  2012-02-07 13:34           ` Stephen Berman
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2012-02-03  8:36 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Stephen Berman, 10180

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Well, the buffer Gnus uses will have a name that starts with
> "*fontification*"...

Thanks.  I just pushed a fix that will prevent the display of 
messages when org-mode is called in a Gnus article buffer. 

-- 
 Bastien





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#10180: 24.0.92; Gnus shows spurious message with org MIME part
  2012-02-03  8:36         ` Bastien
@ 2012-02-07 13:34           ` Stephen Berman
  2012-02-07 15:27             ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Berman @ 2012-02-07 13:34 UTC (permalink / raw)
  To: Bastien; +Cc: Lars Ingebrigtsen, 10180

On Fri, 03 Feb 2012 09:36:08 +0100 Bastien <bzg@altern.org> wrote:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Well, the buffer Gnus uses will have a name that starts with
>> "*fontification*"...
>
> Thanks.  I just pushed a fix that will prevent the display of 
> messages when org-mode is called in a Gnus article buffer. 

Thanks.  Will this be merged to the Emacs trunk before the 24.1 release?

Steve Berman





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#10180: 24.0.92; Gnus shows spurious message with org MIME part
  2012-02-07 13:34           ` Stephen Berman
@ 2012-02-07 15:27             ` Bastien
  0 siblings, 0 replies; 8+ messages in thread
From: Bastien @ 2012-02-07 15:27 UTC (permalink / raw)
  To: Stephen Berman; +Cc: Lars Ingebrigtsen, 10180

Hi Stephen,

"Stephen Berman" <stephen.berman@gmx.net> writes:

> On Fri, 03 Feb 2012 09:36:08 +0100 Bastien <bzg@altern.org> wrote:
>
>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>>
>>> Well, the buffer Gnus uses will have a name that starts with
>>> "*fontification*"...
>>
>> Thanks.  I just pushed a fix that will prevent the display of 
>> messages when org-mode is called in a Gnus article buffer. 
>
> Thanks.  Will this be merged to the Emacs trunk before the 24.1
> release?

No.  Emacs trunk is currently in feature freeze, and Org 7.8.03
is the version that will be shipped with Emacs.  

-- 
 Bastien





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-02-07 15:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-01 14:20 bug#10180: 24.0.92; Gnus shows spurious message with org MIME part Stephen Berman
2012-01-06 23:21 ` Lars Magne Ingebrigtsen
2012-02-01 14:21   ` Lars Ingebrigtsen
2012-02-01 15:27     ` Bastien
2012-02-02 10:55       ` Lars Ingebrigtsen
2012-02-03  8:36         ` Bastien
2012-02-07 13:34           ` Stephen Berman
2012-02-07 15:27             ` Bastien

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).