Your message dated Sun, 22 Jun 2008 12:47:46 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Re: Bug#485787: In muttrc 'exec collapse-all' prevents
'push' and 'exec' from working at runtime
has caused the Debian Bug report #485787,
regarding In muttrc 'exec collapse-all' prevents 'push' and 'exec' from working
at runtime
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
485787: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485787
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: mutt
Version: 1.5.18-1
Severity: normal
collapse-all seems to prevent additional 'push' and 'exec' commands to
be executed at runtime:
$ cat muttrc.bugreport
push <show-version>
exec collapse-all
$ mutt -n -F muttrc.bugreport
q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help
[...]
---Mutt: /var/mail/fwernli
[Msgs:0]---(date/date)----------------------------------------------(all)---
There are no messages.
$ cat muttrc.bugreport
push <show-version>
#exec collapse-all
$ mutt -n -F muttrc.bugreport
q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help
[...]
---Mutt: /var/mail/fwernli
[Msgs:0]---(date/date)----------------------------------------------(all)---
Mutt 1.5.18 (2008-05-17)
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25.4d820 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mutt depends on:
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime
ii libgnutls26 2.2.5-1 the GNU TLS library - runtime libr
ii libidn11 1.8-1 GNU libidn library, implementation
ii libncursesw5 5.6+20080308-1 Shared libraries for terminal hand
ii libsasl2-2 2.1.22.dfsg1-20 Cyrus SASL - authentication abstra
Versions of packages mutt recommends:
ii locales 2.7-10 GNU C Library: National Language (
ii mime-support 3.40-1.1 MIME files 'mime.types' & 'mailcap
ii postfix [mail-transport-agent 2.5.2-0 High-performance mail transport ag
-- no debconf information
--- End Message ---
--- Begin Message ---
Re: [EMAIL PROTECTED] 2008-06-16 <[EMAIL PROTECTED]>
> > Can you try using 2 exec there, or only push, or -better- merge these
> > into one single push statement?
> >
> > mutt -e 'push <collapse-all><show-version>' works here.
>
> it doesn't here, it says "There are no messages." instead
> Ok I have no local mail so this could indeed be a display overwriting
> another message in this case. However I wasn't telling the whole story in my
> test case. In fact I run mutt in a GNU screen, and use a push command to
> change screen's title:
>
> push :set\ wait_key=no\n!~/script/scrtit\ MUTT\n:set\ wait_key=yes\n
Multiple push/execs are hard to get right, maybe reversing the order helps.
Btw, if you want a custom screen title for mutt, the ability to use a
pipe for status_format might help (since mutt about 1.5.17):
| 30.2. Filters
|
| Any format string ending in a vertical bar (``|'') will be expanded and
| piped through the first word in the string, using spaces as separator. The
| string returned will be used for display. If the returned string ends in
| %, it will be passed through the formatter a second time. This allows the
| filter to generate a replacement format string including % expandos.
|
| All % expandos in a format string are expanded before the script is called
| so that:
|
| set status_format="script.sh '%r %f (%L)'|"
|
| will make mutt expand %r, %f and %L before calling the script. The example
| also shows that arguments can be quoted: the script will receive the
| expanded string between the single quotes as the only argument.
|
| A practical example is the mutt_xtitle script installed in the samples
| subdirectory of the mutt documentation: it can be used as filter for
| $status_format to set the current terminal's title, if supported.
Hope that helps; closing the bug report for now.
Christoph
--
[EMAIL PROTECTED] | http://www.df7cb.de/
signature.asc
Description: Digital signature
--- End Message ---