* Johannes Weißl on Monday, November 29, 2010 at 12:44:53 +0100
> On Mon, Nov 29, 2010 at 11:11:11AM +0100, Christian Ebert wrote:
>> 1) consistently using <commands> might be a good idea - in case
>>   someone decides to remap "/" ;-)
> 
> It used to be like this, but I changed it in commit 6fde4fd [1]. The
> reason was that with the simple commands one layer less of quoting
> was required... I always had to use two screen commands when using
> <commands>.

That's why I'm looking for ways to avoid "screen stuff" where
possible.

> Another advantage: mutt's history doesn't fill up with
> useless long <commands> :-). But you are right, it would be "cleaner" to
> use them!

Hm. With the jump to the first message as you suggested, I only get:

4:~i'<Message-Id limited to>'|
4:all|

>> 2) Avoid problems with $wrap_search by jumping to 1st message.
> 
> That's a good point, I wasn't aware that you can switch that off!
> 
>> 2) I for one set $uncollapse_jump in folder-hooks, therefore
>>   "simulate" search to be independent of setups.
> 
> Ok, the search simulation works, but wouldn't make that jumping to the
> first message unnecessary?

Indeed. Leftover from other desperate attempts.

>> 4) The screen code obviously does not belong there, I put it in
>>   just for brevity and to point you to screen -X and $STY. You
>>   might even be able to avoid some "screen stuff" commands in
>>   the screen section.
> 
> I wasn't quite aware of $STY! Are you suggesting auto-recognition of SCREEN
> mode? The problem is, that one might want to use screen even if mutt is
> not started in screen (not that probable),

screen -X screen mutt ...

would either start a new window in the existing session or create
a new screen instance.

> or that one wants the normal
> operation even when in screen (perhaps more probable).

As I said, it is the wrong place for the code, it would belong
into MUTTJUMP_USE_SCREEN section. And then it would depend on the
policy you want to enforce/allow.

Personally, I have just one screen session open usually and
therefore do not know about session names etc. So it was more
about giving you something to think about. And to avoid
"screen stuff" if possible.

> Or am I not getting something relevant here :-)?
> 
>> 5) ps has no --no-heading option here on Mac OS X (BSD-like).
> 
> Already changed, thanks!

Erik's solution is even better.

c
-- 
Eine Maske verbirgt, wen immer sie ziert, / Verhüllt Seelen und Titel
im Körpergewühl; / Und weil sie die Gesichter maskiert / Entblößt
sich furchtlos das Gefühl.
_LERMONTOW:  MASKERADE_   http://www.blacktrash.org/maskerade

Reply via email to