Re: autoselect GPG key for signing by group
On Fri, Dec 30 2016, Hikaru Ichijyo wrote: > How would I setup my key selection to depend on what group I'm in? There is some useful information in the thread "Maybe encrypt message ?" in gmane.emacs.gnus.general (I don't find any archive on the web...) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: message-fill-column & replies
On Wed, Feb 17 2016, Saša Janiška wrote: > I have to manually reflow each quoted paragraph? You might automate it by checking inside gnus-message-setup-hook for gnus-article-reply and then doing a fill-region between mail-header-separator and end of buffer (or message-signature-separator). -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Trigger spell checking before sending
On Fri, Feb 12 2016, Pietro wrote: > Now that I got this working my following question is : would it be possible > to auto-detect the language the spell checker should check ? Hi, Here some code snippets of my configuration, that could help perhaps: --8<---cut here---start->8--- (defvar pm/language "fr" "Language of current buffer.") (make-variable-buffer-local 'pm/language) (require 'auto-dictionary) (defun pm/update-lang () "Check current buffer and update pm/language accordingly." (setq pm/language (adict--evaluate-buffer-find-lang nil))) (defun pm/spell ( lang) "hunspell" (unless lang (pm/update-lang) (setq lang (cdr (assoc-string pm/language '(("fr" . "fr_FR") ("de" . "de_DE") ("en" . "en_GB")) (ispell-change-dictionary lang) (if (and (eq major-mode 'message-mode) (not (use-region-p))) (let ((ispell-skip-region-alist (append '(("^<#.*>$") ("^On .+ [0-9]\\{2\\} [0-9]\\{4\\}, .+ wrote:$")) ispell-skip-region-alist))) (ispell-message)) (ispell))) (defun adict-evaluate-buffer ( idle-only) "Evaluate all words in the current buffer to find out the text's language. If IDLE-ONLY is set, abort when an input event occurs." (save-excursion (let* ((counts (make-vector (length adict-language-list) 0)) (mm (eq major-mode 'message-mode)) (b-min (point-min)) (b-max (point-max)) (min (or (and mm (goto-char b-min) (re-search-forward (concat "^" (regexp-quote mail-header-separator) "$") nil t)) b-min)) (max (or (and mm (goto-char b-max) (re-search-backward message-signature-separator nil t)) b-max))) (adict-foreach-word min max 8 (lambda (word) ;; increase language count of WORD by one (callf incf (elt counts (adict-evaluate-word word idle-only) counts))) (setenv "LC_ALL" "en_GB.utf8") ; needed by hunspell (setq-default ispell-program-name "hunspell") (global-set-key [?\C-c ?s] (lambda () (interactive) (pm/spell))) (global-set-key [?\C-c ?f] (lambda () (interactive) (pm/spell "fr_FR"))) (global-set-key [?\C-c ?d] (lambda () (interactive) (pm/spell "de_DE"))) (global-set-key [?\C-c ?e] (lambda () (interactive) (pm/spell "en_GB"))) (defun pm/message-send () (unless (message-field-value gnus-delay-header) (unless (string-equal pm/role "list") (if (jl-epg-check-unique-keys (jl-mail-recipients)) (mml-secure-message-sign-encrypt) (mml-secure-message-sign))) (pm/spell))) (defun pm/make-signature () "Check role, lang and level." (cl-case pm/sig-level (0 nil) (1 " Peter") (2 " Peter Münster") (3 (concat " Peter Münster\n " (pm/phone))) (4 (concat " Peter Münster\n" (pm/address " ") " " (pm/phone))) (t (setq pm/sig-level 0) (pm/make-signature (defun pm/message-setup () (cond (gnus-article-reply (pm/update-role) (pm/update-lang) (incf pm/sig-level) (save-excursion (message-insert-signature))) ((save-excursion (message-goto-signature)) (pm/update-role) (pm/update-lang)) (t (pm/ask-role) (let ((message-signature-insert-empty-line t)) (incf pm/sig-level) (save-excursion (message-insert-signature)) (add-hook 'gnus-message-setup-hook 'pm/message-setup) (add-hook 'message-send-hook'pm/message-send) --8<---cut here---end--->8--- HTH, -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: mail back to UTF-8 before save to HD
On Thu, Feb 04 2016, Emanuel Berg wrote: > However when the mail from (case 1) is archived in my > nnml group mail.sent, the UTF-8 isn't restored but the > "quoted-printable" style remains: > > =C3=A4=C3=A5=C3=B6 > =C3=84=C3=85=C3=96 But in the Gnus Article buffer you see "äåö" and "ÅÅÖ", don't you? > My question is, how can I automatize this so the UTF-8 > is restored automatically if it was used in the > original message? If you really want quoted-printable format for sending and archiving, then I don't know the answer. But if you don't need quoted-printable in the first place, then (add-to-list 'mm-content-transfer-encoding-defaults '("text/plain" 8bit)) would probably solve your problem. -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Passphrase caching for GnuPG in Emacs?
On Tue, Dec 22 2015, Greg Bell wrote: > Note to everybody trying to get this to work - I noticed that passphrases > entered into pinentry-curses (0.8.3) don't get cached by gpg-agent for some > reason. Using pinentry-gtk or pinentry-curses, they do. Weird, I know. There is also this nice tool: /usr/lib64/gpg-preset-passphrase -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: S/MIME with OpenSSL?
On Thu, Nov 12 2015, Uwe Brauer wrote: > Suppose you want to interchange confidential information with someone > outside the GNU/emacs world and that person has very little computer > knowledge. For him/her pgp is a nightmare to install. I've guided 3 such persons through GPG utilisation. They use seahorse and thunderbird: easy, no nightmare. (Just my personal experience...) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Problem trying to get new email every 10 minutes automatically
On Sat, Oct 17 2015, cseber...@gmail.com wrote: > (gnus-demon-add-handler 'gnus-demon-scan-news 10 t) What is your Gnus version? -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: adding a header when filing a message into a specific mailbox
On Thu, Oct 08 2015, Erik Colson wrote: > So I was thinking how I could achieve some kind of searching in this > specific mailbox and I got an idea: why not add a specific header > (i.e. "x-tag:") when filing messages into this specific mailbox? So I'd > need gnus to ask me a question (tags) when it detects that I want to > file messages into this specific mailbox. Then gnus can add the x-tag > header to the messages before filing them. Another option is to write a > specific function for this... Perhaps like this: --8<---cut here---start->8--- (defun pm/save-article (group) (interactive (list (gnus-group-completing-read nil nil nil nil nil gnus-current-move-group))) ->(if group is the special one, then add x-tag header) (let ((summary-p (string-match "Summary" (buffer-name (gnus-summary-move-article nil group) (if summary-p (next-line) (gnus-summary-next-unread-article) (gnus-summary-show-article) (gnus-summary-select-article-buffer --8<---cut here---end--->8--- -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: When replying, set From: to use the address where I received the email
On Thu, Aug 27 2015, Bastien wrote: Thanks -- I was already using this, but it does not work when replying to mailing lists since ‘message-use-alternative-email-as-from’ is only using the To Cc From headers (this is hardcoded). You can use gnus-parameters for lists. Here some lines of my setup, perhaps it can help: --8---cut here---start-8--- (setq pm/lists '((:namecontext.list :list-identifier \\[NTG-context\\] :address ntg-cont...@ntg.nl) ) pm/list-address pmli...@free.fr gnus-parameters `((^[^.]*$ (gcc-self . t) (display . [not expire])) ,@(cl-loop for item in pm/lists collect `(,(pm/str-regexp (plist-get item :name)) (subscribed . t) (gcc-self . none) (display . default) (to-list . ,(plist-get item :address)) (pm/role list) (pm/language en) (posting-style (address ,pm/list-address) (eval (setq pm/role list pm/language en)) (To ,(plist-get item :address))) (gnus-list-identifiers ,(plist-get item :list-identifier (nntp+.* (pm/role list) (pm/language en) (posting-style (address ,pm/list-address) (eval (setq pm/role list pm/language en)) --8---cut here---end---8--- -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Sudden nnml problem
On Fri, Feb 13 2015, Brendan Halpin wrote: .emacs-mail-crash-box existed, and the initial From was rom Inserting the F resolved the problem. See also here: http://thread.gmane.org/gmane.emacs.gnus.general/79444 -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: new subject
On Sun, Jan 25 2015, Emanuel Berg wrote: Clemens Schüller cs.mlists+info-g...@mailbox.org writes: What is the old way? I have this in my .gnus and it works very well :-) See Peter? No, not at all, sorry... What is the old way? What is your way? Is incal = Emanuel Berg? What is wrong with `message-change-subject'? Initially, I just wanted to point you to `message-change-subject', but now I'm confused and I don't understand what you're talking about... -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
new subject (was: alt-tab? really? you're joking...)
On Sun, Jan 25 2015, incal wrote: Or if it gradually evolved out of the old one but still has some connection, keep the old subject like this Subject: new subject (was: old subject) Yeah, C-c C-f s ! ;) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: new subject
On Sun, Jan 25 2015, incal wrote: Yeah, C-c C-f s ! ;) Indeed, however sometimes you reply to a post the old way, Hi, What is the old way? and in mid-edit you realize you are talking about something else. Or do you have a keystroke for that as well? Yes: C-c C-f s. (Why as well?) Actually, I do - sort of: http://user.it.uu.se/~embe8573/conf/emacs-init/gnus/moggle.el What is this? Anyway, you seem to do strange things: - When you reply to a message, Gnus usually strips the (was: ...) part. That did not happen in your reply. - You replied to my message, but it does not appear in your References: header, so that the thread is broken. Do you really use Gnus? -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: How to update mail groups only?
On Mon, Oct 20 2014, Christopher Culver wrote: Is there a way to update only mail groups? You can set different levels for mail groups and other groups. And then: (gnus-group-get-new-news mail-group-level t) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
XNAY (was: gnus hanging - how to see what it is doing)
On Sun, Aug 31 2014, David Hume wrote: I think I set that header so my articles would not be preserved in google groups for all eternity. Sure, XNAY prevents *your* articles from being archived. But anybody (except for Adam Sjøgren ;) can quote your text (or parts of your text taken out of context), and that will be archived. My message-cite-articles-with-x-no-archive is t, so this message will stay understandable in the future... ;) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: why not just .newsrc?
On Sun, Jul 06 2014, Emanuel Berg wrote: One thing I don't understand is, if .newsrc-dribble is used to track every little change, just to have in case of a crash (which never happens), then why not do that to .newsrc itself, keeping it up-to-date constantly? (.newsrc or .newsrc.eld) I have good experience with: (setq gnus-use-dribble-file nil gnus-read-newsrc-file nil gnus-save-newsrc-file nil gnus-startup-file (concat pm/emacs-dir newsrc)) (gnus-demon-add-handler 'gnus-group-save-newsrc 5 2) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: why not just .newsrc?
On Sun, Jul 06 2014, David Engster wrote: Emanuel Berg writes: One thing I don't understand is, if .newsrc-dribble is used to track every little change, just to have in case of a crash (which never happens), then why not do that to .newsrc itself, keeping it up-to-date constantly? (.newsrc or .newsrc.eld) . That would increase the chance of a crash corrupting .newsrc.eld itself, instead of just the dribble file. Yes, but there is still newsrc.eld~ and probably backups. -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: why not just .newsrc?
On Mon, Jul 07 2014, Emanuel Berg wrote: Note that I don't think that the dribble file is bad or anything. Just thought there was some better reason for it to exist. The crash thing you mention is of course a valid point in a situation where crashes are common and/or somehow externally unavoidable... See also: http://article.gmane.org/gmane.emacs.gnus.general/79040 -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Automatically sign/encrypt messages
On Mon, Feb 02 2004, Ted Zlatanov wrote: On Sat, 31 Jan 2004, n...@u-h-l.de wrote: Ted Zlatanov t...@lifelogs.com writes: This looks useful enough to be in the main Gnus code, if it's not already. Maybe as mml-secure-message-encrypt-or-sign-pgpmime? I just grep'ed through the gnus code (version 5.10.6) for mml-secure-message and only found mml-secure-message-sign-pgpmime, mml-secure-message-sign-pgp, mml-secure-message-sign-smime, mml-secure-message-sign-pgpauto, mml-secure-message-encrypt-pgpmime, mml-secure-message-encrypt-pgp, mml-secure-message-encrypt-smime and mml-secure-message-encrypt-pgpauto. So it seems to me that it's either not there or it is named differently (which would probably be misleading). I think we agree, then. Can you produce a patch against the Gnus CVS for your function or do you want me to do it? Hi, Is there such a function in latest git-gnus? TIA for any hints, -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
time in summary line (was: Tweaking.)
On Sun, Mar 23 2014, Sharon Kimble wrote: * Summary line format gnus-summary-line-format %0{%U%R%z%}%3{│%} %1{%d%} %3{│%}%4{%-20,20f%} %3{│%} %1{%B%}%s\n gives this in the summary - R. │ 23-Mar │ Cron Daemon │ * Cron root@london /usr/bin/apt-get update which is very good except its not showing the time of posting. How do I get that please? user-date; is useful: --8---cut here---start-8--- gnus-user-date-format-alist is a variable defined in `gnus-sum.el'. Its value is shown below. Documentation: Specifies date format depending on age of article. This is an alist of items (AGE . FORMAT). AGE can be a number (of seconds) or a Lisp expression evaluating to a number. When the age of the article is less than this number, then use `format-time-string' with the corresponding FORMAT for displaying the date of the article. If AGE is not a number or a Lisp expression evaluating to a non-number, then the corresponding FORMAT is used as a default value. Note that the list is processed from the beginning, so it should be sorted by ascending AGE. Also note that items following the first non-number AGE will be ignored. You can use the functions `gnus-seconds-today', `gnus-seconds-month' and `gnus-seconds-year' in the AGE spec. They return the number of seconds passed since the start of today, of this month, of this year, respectively. You can customize this variable. This variable was introduced, or its default value was changed, in version 24.1 of Emacs. Value: (((gnus-seconds-today) . %H:%M) ((+ (* 60 60 24) (gnus-seconds-today)) . Yesterday) ((* 60 60 24 5) . %A) ((gnus-seconds-year) . %b %d) (t . %Y/%m/%d)) Original value was (((gnus-seconds-today) . Today, %H:%M) ((+ 86400 (gnus-seconds-today)) . Yesterday, %H:%M) (604800 . %A %H:%M) ((gnus-seconds-month) . %A %d) ((gnus-seconds-year) . %B %d) (t . %b %d %Y)) --8---cut here---end---8--- -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: time in summary line
On Sun, Mar 23 2014, Sharon Kimble wrote: but I can't see how to add 'user-date;' in the middle of a list? What list? You could try this: --8---cut here---start-8--- (setq gnus-summary-line-format %U%R%3P %-10user-date; %-17,17f(%4k)%* %B%s\n gnus-user-date-format-alist '((t . %H:%M))) --8---cut here---end---8--- These setups are a bit related to the summary line, perhaps they are useful to you too: --8---cut here---start-8--- (setq gnus-sum-thread-tree-false-rootnil gnus-sum-thread-tree-indent gnus-sum-thread-tree-leaf-with-other ├► gnus-sum-thread-tree-root gnus-sum-thread-tree-single-indent gnus-sum-thread-tree-single-leaf └►;; or ╰► perhaps... gnus-sum-thread-tree-vertical │ gnus-summary-dummy-line-format %S\n gnus-summary-highlight nil gnus-summary-make-false-root 'dummy gnus-summary-thread-gathering-function 'gnus-gather-threads-by-references gnus-thread-operation-ignore-subject nil gnus-thread-sort-functions '(gnus-thread-sort-by-number (not gnus-thread-sort-by-most-recent-date))) --8---cut here---end---8--- Perhaps I'm being dim? I don't know. But probably you just don't read the documentation. -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Which dark Color themes suitable for gnus?
On Mon, Feb 24 2014, Rainer M Krug wrote: So my question: which color themes work nicely with emacs 24.3.1 on a Mac in a window - not terminal? I don't know about Mac, but this works nicely for me: (load-theme 'wombat) (set-face-background 'default grey7) ; a bit darker ... -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Spam despite spam header
On Thu, Dec 12 2013, Dmitrii Kashin wrote: I would like to know how you solved the problems with speed described above. With procmail: --8---cut here---start-8--- :0fw * 30 | spamassassin :0 * ^X-Spam-Flag: YES * !^Subject:.*no-spam { :0 ch | (formail -r -t -AFrom: $NOREPLY \ -AContent-Type: text/plain; charset=utf-8; \ cat $SPAMMSG $SIG) | $SENDMAIL -r $NOREPLY -t :0: spam.spool } --8---cut here---end---8--- And this is the content of my $SPAMMSG: --8---cut here---start-8--- Your message has been rejected and won't be read, because it appears to be spam. If this is not the case, please append `no-spam' to the beginning of the subject field and send again. --8---cut here---end---8--- -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Flirting with Insanity with Thread Sorting
On Mon, Jun 24 2013, Joseph Mingrone wrote: Tue Jun 18 at 14:56 ● Joe Schmo Tue Jun 18 at 16:04 ├――► Donny Brasco Wed Jun 19 at 18:07 └――► - Kim Ho Thu Jun 20 at 13:20 └――► Jane Doe Thu Jun 20 at 21:17 └――► Mary Flo. The second sorting makes more sense to me. Can it be done by default? This is perhaps what you want: (setq gnus-thread-sort-functions '((not gnus-thread-sort-by-most-recent-date))) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: duplicates in Server Browse buffer and invisible messages in nnml
On Wed, Dec 05 2012, Julien Cubizolles wrote: I've noticed that all the groups listed in the Server Browse Buffer in my nnlocal method show up twice, with slightly different messages numbers (45 and 47 for example). Hi, Is it possible, that the group names have utf8-characters? I've a very similar issue, whenever there are accented characters in the group name: group shows up twice or more, number of messages varies. Latest git version. -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Wrong date for delayed articles?
On Thu, Oct 11 2012, Angel de Vicente wrote: The mail get me properly in the delayed date, but the Date field in the message itself is the date when I wrote the message, not when it was sent. I don't see an option in the manual to change this behaviour, is it possible? You could try this: (setq message-draft-headers '(References From)) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Gnus version in emacs 24.1
On Wed, Sep 05 2012, Lars Ingebrigtsen wrote: Not that it matters particularly, but I'm curious--is there a reason the version wasn't incremented? Yes, but the reason is really stupid, so I'd rather not say. :-) Please tell us! Perhaps you could make laugh a lot of people... ;) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: How to create/add-to-existing headers in a posting style?
On Mon, Jul 16 2012, Adam Sjøgren wrote: the only problem with this is, that it leaves an empty header X-Add-To-Cc in the buffer, What about (message-remove-header X-Add-To-Cc) ? -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: How is this inserted?
On Tue, Jun 28 2011, XeCycle wrote: I'm just curious, when I see someone quote something this way: , | some quoted text | they're seemed to copied from somewhere | | also they may contain paragraph breaks | and ends with this: ` I searched the f**king manual and found nothing. Also Google won't do, they are symbols silently ignored by Google... With boxquote.el [fn:1] and rs-info.el [fn:2]. Footnotes: [fn:1] http://www.davep.org/emacs/boxquote.el [fn:2] http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/misc/rs-info.el (thanks to Tassilo for the answer!) -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Attaching a few articles from a summary buffer to an composition buffer
On Sat, Feb 18 2012, Jonas Hörsch wrote: ideally i'd like to mark some mails in a summary buffer and then press a key combo to have gnus attach them to my already open unsent message buffer or start composing a new message with the mails attached. You mark with `#'. Then `S D r' to resend the messages or `S o m' to forward them as attachments. -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Binding keys for summary mode
Jim Burton j...@sdf-eu.org writes: That lists the bindings but not the keymaps in which they are made. So, presuming that modeX defines the keymap modeX-map, I tried the following but it doesn't work: (add-hook 'gnus-agent-summary-mode '(lambda () (define-key gnus-agent-summary-mode-map (kbd d) 'gnus-summary-delete-article))) From my .gnus.el: (defun my-alter-summary-map () (local-set-key (kbd RET) '(lambda () (interactive) (gnus-summary-show-article) (gnus-summary-select-article-buffer) (delete-other-windows))) (local-set-key s '(lambda () (interactive) (gnus-summary-move-article) (next-line))) (local-set-key d [?M ?M ?e ?e down])) (defun my-alter-article-map () (local-set-key 1 'delete-other-windows) (local-set-key q '(lambda () (interactive) (gnus-article-show-summary) (delete-other-windows))) (local-set-key n hnh1) (local-set-key N hNh1) (local-set-key d hMMeenh1) (local-set-key s '(lambda () (interactive) (gnus-summary-move-article) (gnus-summary-next-unread-article) (gnus-summary-show-article) (gnus-summary-select-article-buffer) (delete-other-windows (add-hook 'gnus-summary-mode-hook 'my-alter-summary-map) (add-hook 'gnus-article-mode-hook 'my-alter-article-map) HTH, -- Peter ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: read mail in mbox files
ernest nfdi...@gmail.com writes: This is my setup: I use fetchmail to get mail from different POP/IMAP servers, then split the incoming mail with procmail into different mbox files in ~/Mail. What I'd like is gnus to work directly on these mbox files. Is this possible? Perhaps yes. But it's not recommended. Gnus does not use any locking like sendmail or procmail, so whenever new mail arrives at the same time as Gnus is working on the mbox, you'll get problems. What backend do I need? I'd say I don't even want a backend, because I don't want to copy mail anywhere! You can use the mbox backend and tell procmail to save all incoming messages in ~/.mail/*.spool. Then you set (setq mail-sources '((file) (directory :path ~/.mail)) and you'll get mbox files in ~/Mail for every spool file in ~/.mail Just be sure, that only Gnus works on the files in ~/Mail. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: read mail in mbox files
ernest nfdi...@gmail.com writes: If I understand correctly, this will copy the spool files in ~/.mail to ~/Mail, and leave everything in ~/.mail unchanged. This is not exactly what I wanted though. The idea is that mbox being an open format one would say it should be possible to use the same mailboxes with different MUAs, for instance mutt and gnus, at the same time (maybe not simultaneously, ok, but you get the idea). In theory it should be easy, but in practice it is not. No problem if you don't use the 2 MUAs simultaneously and you don't use the incoming spools. The only problem with Gnus is the locking, that's why it uses some movemail program that locks correctly and saves the incoming email somewhere at $HOME. At least 2 options: 1.) /var/mail/user - ~/.mail/*.spool with procmail ~/.mail/*.spool - ~/Mail/* with Gnus Managing ~/Mail/* with Gnus or mutt, but not at the same time. 2.) Use maildir: no locking problems. /var/mail/user - ~/Mail/... with procmail Managing ~/Mail/... with Gnus or mutt, or both at the same time! (untested, I use nnml and only 1 MUA) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: read mail in mbox files
Richard Riley rile...@googlemail.com writes: Now to figure out where .emacs.d/Mail is coming from. Start first with emacs -Q, so no site configuration file will be loaded. Then you go on loading your configuration files one by one and check when the value of nnml-directory changes. -- Peter Münster Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: mouse pointer moves unexpectedly
Robert Marshall s...@chezmarshall.freeserve.co.uk writes: On Thu, 06 Jan 2011, Adam Sjøgren wrote: Strange, I did not get the message from Adam... Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: mouse pointer moves unexpectedly
pmli...@free.fr (Peter Münster) writes: How can I tell Gnus, not to move my mouse pointer? Can anybody confirm this problem? Nobody...? How can I debug this problem? With my setup (SloppyFocus in fvwm, pager, unclutter, etc.) it's really annoying. TIA for any help! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: mouse pointer moves unexpectedly
Tassilo Horn tass...@member.fsf.org writes: How can I tell Gnus, not to move my mouse pointer? Can anybody confirm this problem? My window manager is fvwm. No, my pointer doesn't move. Did you set `mouse-avoidance-mode'? No, mouse-avoidance-mode is nil. I've done some further tests: - other window mangers: kde and nothing at all (failsafe) - emacs -Q and no configuration files at all in $HOME The result is always the same... Versions: GNU Emacs 23.1.1 (x86_64-suse-linux-gnu, GTK+ Version 2.20.1) Gnus v5.13 Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
mouse pointer moves unexpectedly
Hello, When - switching from summary buffer to article buffer (h), - then removing splits (C-x 1), - then calling gnus-summary-put-mark-as-expirable (MMee), my mouse pointer moves near the upper right corner of my emacs X-window. How can I tell Gnus, not to move my mouse pointer? Can anybody confirm this problem? My window manager is fvwm. TIA for any help! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Any way to click article buttons without leaving the summary buffer?
pmli...@free.fr (Peter Münster) writes: I'm just working on my-alter-summary-map and my-alter-article-map to get this behaviour. Here some ideas: --8---cut here---start-8--- (defun my-alter-group-map () (local-set-key [right] 'gnus-group-select-group)) (defun my-alter-summary-map () (local-set-key [left] 'gnus-summary-exit) (local-set-key [right] '(lambda () (interactive) (gnus-summary-show-article) (gnus-summary-select-article-buffer) (delete-other-windows))) (local-set-key s '(lambda () (interactive) (gnus-summary-move-article) (next-line))) (local-set-key d [?M ?M ?e ?e down])) (defun my-alter-article-map () (local-set-key [left] '(lambda () (interactive) (gnus-article-show-summary) (delete-other-windows))) (local-set-key s '(lambda () (interactive) (gnus-summary-move-article) (gnus-summary-next-unread-article) (gnus-summary-show-article) (gnus-summary-select-article-buffer) (delete-other-windows))) (local-set-key d MMeeN)) (add-hook 'gnus-group-mode-hook 'my-alter-group-map) (add-hook 'gnus-summary-mode-hook 'my-alter-summary-map) (add-hook 'gnus-article-mode-hook 'my-alter-article-map) --8---cut here---end---8--- (delete-other-window) is just personal taste. s: save message d: delete message When you read your messages without leaving the article buffer (using n, space and so on), you can immediatly jump to the URLs with TAB. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Any way to click article buttons without leaving the summary buffer?
Lars Magne Ingebrigtsen la...@gnus.org writes: Idea #2: Add a command that highlights successive links on repeated invocation, and another command that activates the currently highlighted link. Sounds nice. Perhaps TAB in the summary buffer should highlight the links successively? And then RET could click the link. Seems to be not so difficult: --8---cut here---start-8--- (defun my-alter-summary-map () (local-set-key [tab] '(lambda () (interactive) (gnus-summary-select-article-buffer) (w3m-next-anchor) (w3m-highlight-current-anchor) (gnus-article-show-summary))) (local-set-key [C-return] [?h return ?h])) (add-hook 'gnus-summary-mode-hook 'my-alter-summary-map) --8---cut here---end---8--- Only the w3m-highlight-current-anchor does not work as expected... :( Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Any way to click article buttons without leaving the summary buffer?
Sean McAfee eef...@gmail.com writes: When I want to click on a hyperlink embedded in an article, it's kind of a hassle to switch to the article buffer, navigate to the link, and press RET, and then return to the summary buffer afterwards. Is there any convenient built-in way to streamline this process? Ideally I'd like to be able to just select one of the on-screen buttons and trigger it without having to leave the summary buffer. I don't see any reason, to keep the focus in the summary buffer. The best would be, to do all commands for summary and article from within the article buffer. Then the navigation (and url selection with TAB) would be more ergonomic. I'm just working on my-alter-summary-map and my-alter-article-map to get this behaviour. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
switching group in summary buffer
Hello, Is there a function for switching current group without changing first to the group buffer? I would like to find something like this in the summary (or article) buffer: - press key for gnus-summary-goto-group function - possibility to cycle through groups with new messages with SPACE - possibility to enter group name in mini-buffer with tab-completion TIA for any hints! And thanks a lot for this great software, I've just switched from mutt to gnus! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english