Moin, Mutts History hat Probleme mit einer Mailbox. Deren Name lautet =/Mail/Firma/Kunde/Kunde (oder so ähnlich), gibt es eine Längenbeschränkung? Gibt es eine Möglichkeit, Doppelte aus der History zu löschen? Gibt es eine Möglichkeit, den Mülleimer ganz aus der History zu streichen? Thorsten -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
On Mon, 17 Sep 2001, Thorsten Haude wrote:
Mutts History hat Probleme mit einer Mailbox. Deren Name lautet =/Mail/Firma/Kunde/Kunde (oder so ähnlich), gibt es eine Längenbeschränkung?
Nicht dass ich wuesste...
Gibt es eine Möglichkeit, Doppelte aus der History zu löschen?
man formail, man procmail, man uniqmail (Was meinst du eigentlich mit "history"???
Gibt es eine Möglichkeit, den Mülleimer ganz aus der History zu streichen?
Muelleimer? welchen Muelleimer? ich hab hier in mutt keinen! Ansonsten: Teste mal die Taste 'd' (und dann '$') ;) -dnh -- Das 42te Gebot des Usernetzes besagt: "Du sollst nicht süchtig siggen eines Süchtigen Signatur. Auf das du selber nicht siggsüchtig werdest." Wahrscheinlich wird das jetzt wieder gesiggt. [Woko° in dag°]
Moin, * David Haller <david@dhaller.de> [01-09-17 10:11]:
On Mon, 17 Sep 2001, Thorsten Haude wrote:
Gibt es eine Möglichkeit, Doppelte aus der History zu löschen? man formail, man procmail, man uniqmail (Was meinst du eigentlich mit "history"??? Ich meine die Kommandohistory von Mutt. Wenn ich zwischen zwei Boxen hin- und herwechsele, bekomme ich jedesmal einen Eintrag in der History. Bequemer wäre es, wenn jede Box nur einen Eintrag hätte.
Gibt es eine Möglichkeit, den Mülleimer ganz aus der History zu streichen? Muelleimer? welchen Muelleimer? ich hab hier in mutt keinen! Ich schon, mit dem Macro macro index d "<save-message>=admin/trash\n" "Move mail to trashcan" Leider erscheint dadurch =admin/trash in der History, obwohl ich da so gut wie nie reinwechseln will.
Thorsten -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
* Thorsten Haude schrieb am 17.Sep.2001:
* David Haller <david@dhaller.de> [01-09-17 10:11]:
Muelleimer? welchen Muelleimer? ich hab hier in mutt keinen!
Ich schon, mit dem Macro macro index d "<save-message>=admin/trash\n" "Move mail to trashcan" Leider erscheint dadurch =admin/trash in der History, obwohl ich da so gut wie nie reinwechseln will.
Was soll man dazu sagen? Laß das Macro weg. Bernd -- Hast Du bei Problemen schon in der SuSE-Support-Datenbank (SDB) nachgesehen? Auf Deinem Rechner: http://localhost/doc/sdb/de/html/index.html | mit Apache: http://localhost/doc/sdb/de/html/key_form.html | Zufalls- Tagesaktuell bei SuSE: http://sdb.suse.de/sdb/de/html/index.html | signatur 2
Moin, * Bernd Brodesser <B.Brodesser@t-online.de> [01-09-17 11:00]:
* Thorsten Haude schrieb am 17.Sep.2001:
* David Haller <david@dhaller.de> [01-09-17 10:11]:
Muelleimer? welchen Muelleimer? ich hab hier in mutt keinen! Ich schon, mit dem Macro macro index d "<save-message>=admin/trash\n" "Move mail to trashcan" Leider erscheint dadurch =admin/trash in der History, obwohl ich da so gut wie nie reinwechseln will. Was soll man dazu sagen? Laß das Macro weg. Danke Bernd, ich hätte aber doch eher auf eine Antwort gehofft, die es mir weiterhin erlaubt, den Mülleimer zu nutzen. Daß ich das Makro weglassen kann, ist mir selbst aufgefallen.
Thorsten -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
On Mon, 17 Sep 2001, Thorsten Haude wrote:
* Bernd Brodesser <B.Brodesser@t-online.de> [01-09-17 11:00]:
* Thorsten Haude schrieb am 17.Sep.2001:
* David Haller <david@dhaller.de> [01-09-17 10:11]:
Muelleimer? welchen Muelleimer? ich hab hier in mutt keinen! Ich schon, mit dem Macro macro index d "<save-message>=admin/trash\n" "Move mail to trashcan" Leider erscheint dadurch =admin/trash in der History, obwohl ich da so gut wie nie reinwechseln will.
Ahh so... Jetzt versteh ich was du willst... ;) Haettest du mal F1 gedrueckt und nach hist gesucht: 6.3.58. history Type: number Default: 10 This variable controls the size (in number of strings remembered) of the string history buffer. The buffer is cleared each time the variable is set. ein 'macro index d "<save-message>=admin/trash\rset history=1\r" ... sollte also helfen (auch wenn das eben die ganze history loescht). Um nur einen (z.B. den letzten) Eintrag zu entfernen musst du wohl history.c aendern und ein mutt_history_remove_last(history_class_t hclass) oder so schreiben... -dnh -- Q: Hobbies? A: Hating music. -- Marvin
Moin, * David Haller <david@dhaller.de> [01-09-18 10:40]:
ein 'macro index d "<save-message>=admin/trash\rset history=1\r" ... sollte also helfen (auch wenn das eben die ganze history loescht). Argl. Am besten, ich stelle den Gebrauch von Mutt ganz ein, dann habe ich keine Probleme mehr mit der History.
Ist ja nett, daß Ihr mir helfen wollt; wenn ein Feature aber nicht richtig funktioniert, gibt es ja vielleicht auch noch andere Möglichkeiten, als es zu deaktivieren.
Um nur einen (z.B. den letzten) Eintrag zu entfernen musst du wohl history.c aendern und ein mutt_history_remove_last(history_class_t hclass) oder so schreiben... Hm. Hast Du schon an Mutt entwickelt? Wie leicht ist denn der Einstieg in den Code?
Thorsten -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
On Die, 18 Sep 2001, Thorsten Haude wrote:
* David Haller <david@dhaller.de> [01-09-18 10:40]:
ein 'macro index d "<save-message>=admin/trash\rset history=1\r" ... sollte also helfen (auch wenn das eben die ganze history loescht). Argl. Am besten, ich stelle den Gebrauch von Mutt ganz ein, dann habe ich keine Probleme mehr mit der History.
Naja, dafuer ist das ja auch nicht gedacht... Hast du mal ueberlegt, ob da ein mbox-hook nicht reicht...
Um nur einen (z.B. den letzten) Eintrag zu entfernen musst du wohl history.c aendern und ein mutt_history_remove_last(history_class_t hclass) oder so schreiben... Hm. Hast Du schon an Mutt entwickelt? Wie leicht ist denn der Einstieg in den Code?
Ne, aber ich hab in die history.c geschaut, die sieht einfach genug aus... scheint ne recht klare Schnittstelle zu sein. Man muesste sozusagen mutt_add_history "umdrehen" :) Und such doch erstmal, ob du nicht nen vorhandenen Patch findest (von mutt.org aus), oder ob das in der aktuellen Version schon drin ist... (ich hab hier in 1.3.17 reingeschaut, da war's noch nicht dabei)... -dnh -- Endlich mal wieder eine brauchbare Wognatur! [Dieter Bruegmann zu WoKo in dag°]
Moin, * David Haller <david@dhaller.de> [01-09-18 14:40]:
On Die, 18 Sep 2001, Thorsten Haude wrote:
* David Haller <david@dhaller.de> [01-09-18 10:40]:
ein 'macro index d "<save-message>=admin/trash\rset history=1\r" ... sollte also helfen (auch wenn das eben die ganze history loescht). Argl. Am besten, ich stelle den Gebrauch von Mutt ganz ein, dann habe ich keine Probleme mehr mit der History. Naja, dafuer ist das ja auch nicht gedacht... Hast du mal ueberlegt, ob da ein mbox-hook nicht reicht... Ich habe eine Weile über einen Mülleimer nachgedacht, dann diese Lösung irgendwo aufgeschnappt. Außer der Sache mit der History klappt das auch vorzüglich. Wie soll ein mbox-hook helfen? Ich will doch nicht jede Mail löschen.
Um nur einen (z.B. den letzten) Eintrag zu entfernen musst du wohl history.c aendern und ein mutt_history_remove_last(history_class_t hclass) oder so schreiben... Hm. Hast Du schon an Mutt entwickelt? Wie leicht ist denn der Einstieg in den Code? Ne, aber ich hab in die history.c geschaut, die sieht einfach genug aus... scheint ne recht klare Schnittstelle zu sein. Man muesste sozusagen mutt_add_history "umdrehen" :) Na mal sehen, vielleicht komme ich am Wochenende dazu. Wenn nötig, mache ich einen krassen Patch, in dem ich meinen Mülleimer einfach hart kodiere.
Und such doch erstmal, ob du nicht nen vorhandenen Patch findest (von mutt.org aus), oder ob das in der aktuellen Version schon drin ist... (ich hab hier in 1.3.17 reingeschaut, da war's noch nicht dabei)... Yup. Danke!
Thorsten -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin
On Die, 18 Sep 2001, Thorsten Haude wrote:
* David Haller <david@dhaller.de> [01-09-18 14:40]:
On Die, 18 Sep 2001, Thorsten Haude wrote:
* David Haller <david@dhaller.de> [01-09-18 10:40]:
ein 'macro index d "<save-message>=admin/trash\rset history=1\r" ... Argl. Am besten, ich stelle den Gebrauch von Mutt ganz ein, dann habe ich keine Probleme mehr mit der History. Naja, dafuer ist das ja auch nicht gedacht... Hast du mal ueberlegt, ob da ein mbox-hook nicht reicht... Ich habe eine Weile über einen Mülleimer nachgedacht, dann diese Lösung irgendwo aufgeschnappt. Außer der Sache mit der History klappt das auch vorzüglich. Wie soll ein mbox-hook helfen? Ich will doch nicht jede Mail löschen.
Naja, ich komm da eh nicht so ganz mit... Ich loesche entweder (und denn auch wech damit!), oder ich archiviere... Ansonsten faellt mir grad noch was ganz hinterhaeltiges ein: pipe(!) die mail doch ins archiv (z.B.: "| cat >> admin/trash")...
Um nur einen (z.B. den letzten) Eintrag zu entfernen musst du wohl history.c aendern und ein mutt_history_remove_last(history_class_t hclass) oder so schreiben... Hm. Hast Du schon an Mutt entwickelt? Wie leicht ist denn der Einstieg in den Code? Ne, aber ich hab in die history.c geschaut, die sieht einfach genug aus... scheint ne recht klare Schnittstelle zu sein. Man muesste sozusagen mutt_add_history "umdrehen" :) Na mal sehen, vielleicht komme ich am Wochenende dazu. Wenn nötig, mache ich einen krassen Patch, in dem ich meinen Mülleimer einfach hart kodiere.
Oder so ;) Das "letzten history-Eintrag loeschen" duerfte aber a) sogar einfacher b) nuetzlicher sein ;))
Und such doch erstmal, ob du nicht nen vorhandenen Patch findest (von mutt.org aus), oder ob das in der aktuellen Version schon drin ist... (ich hab hier in 1.3.17 reingeschaut, da war's noch nicht dabei)... Yup. Danke!
:) Ach ja, es gibt ja _viele_ patches fuer mutt... Was u.a. auch dafuer spricht, dass der code sehr uebersichtlich ist und gute Schnittstellen hat... Wenn ich mir so anschaue, wie einfach der add_history code ist... ;) -dnh -- Warning: Some of my best mistakes are yet to be made.
participants (3)
-
B.Brodesser@t-online.de
-
David Haller
-
Thorsten Haude