Re: Default character encoding

2017-07-24 Thread Teemu Likonen
harset 'windows-1252) -- /// Teemu Likonen - .-.. <https://keybase.io/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// signature.asc Description: PGP signature ___ info-gnus-english mailing list info-gnus-engl

Re: Show size of a mail/posting?

2017-06-26 Thread Teemu Likonen
bytes. The raw message content can be displayed with "C-u g". Then on that buffer "M-x count-words" count lines, words and characters. With custom Emacs Lisp code these function are likely useful: (gnus-summary-show-raw-article) (get-buffer gnus-article-buffer) -

Re: A persistent virtual group based on Notmuch search?

2016-10-21 Thread Teemu Likonen
Teemu Likonen [2016-10-20 13:37:36+03] wrote: > Is it possible to create a persistent virtual group that represents a > Notmuch search? I'd like to have group like > > nnnotmuch:some.name.i.have.chosen > > and when I enter the group I get the result of some preconfigure

A persistent virtual group based on Notmuch search?

2016-10-20 Thread Teemu Likonen
Is it possible to create a persistent virtual group that represents a Notmuch search? I'd like to have group like nnnotmuch:some.name.i.have.chosen and when I enter the group I get the result of some preconfigured Notmuch search like "to:info-gnus-english@gnu.org date:30d..".

Re: Display attached pdf's with external view, not with doc-view-mode

2016-04-01 Thread Teemu Likonen
(cl-member v '(doc-view-mode pdf-view-mode view-mode))) (cdr minor) :key 'cdr)) (cdr major mai

Display attached pdf's with external view, not with doc-view-mode

2016-04-01 Thread Teemu Likonen
Gnus doesn't want to respect that. How do configure Gnus to use external viewer for attached pdf files? -- /// Teemu Likonen - .-.. <https://github.com/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// signature.asc Descriptio

Re: imap split-fancy greedy match?

2016-02-07 Thread Teemu Likonen
y-match-partial-words. -- /// Teemu Likonen - .-.. <https://github.com/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// signature.asc Description: PGP signature ___ info-gnus-english mailing list info-gnus-english@gn

Re: mail back to UTF-8 before save to HD

2016-02-05 Thread Teemu Likonen
variable gnus-group-posting-charset-alist BUT DON'T DO IT. Your messages will be broken in other people's mail agents and you'll be instructed to fix your configuration. Headers must be in =?charset?encoding?...?= format if there is anything other than Ascii characters. -- /// T

Re: mail back to UTF-8 before save to HD

2016-02-05 Thread Teemu Likonen
) (add-to-list 'mm-content-transfer-encoding-defaults '("text/.*" 8bit)) -- /// Teemu Likonen - .-.. <https://github.com/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// signature.asc Description: PGP signature

Re: Is there a simple way to set up spam filtering?

2016-01-30 Thread Teemu Likonen
ter-split "spam" "unsure") ;; You can add split rules here if you want to. "misc")) So in the example replace the string "misc" with symbol nil. I haven't tested it and I don't use IMAP splitting so I give no guarantees. -- /// T

Re: Is there a simple way to set up spam filtering?

2016-01-30 Thread Teemu Likonen
r Bogofilter. Command M-x bogofilter-check will display current message's status and spam score. Also see the functions' documentation. And that's pretty much it. -- /// Teemu Likonen - .-.. <https://github.com/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3

Re: Passphrase caching for GnuPG in Emacs?

2016-01-05 Thread Teemu Likonen
d from there and then stores it to mail-source-password-cache variable as clear text and the passwords never expire. -- /// Teemu Likonen - .-.. <https://github.com/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// signature.asc Description: P

Re: Passphrase caching for GnuPG in Emacs?

2016-01-05 Thread Teemu Likonen
gpg but then stored in mail-source-password-cache variable: (("server:login:nil" . "password")) I'd like to get rid of that too. -- /// Teemu Likonen - .-.. <https://github.com/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D

Re: Is there a simple way to set up spam filtering?

2016-01-03 Thread Teemu Likonen
uired because it's the way to hook custom code to incoming mail delivery. -- /// Teemu Likonen - .-.. <https://github.com/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// signature.asc Description: PGP signature _

Re: Configuring the ellipses of hidden threads

2015-10-15 Thread Teemu Likonen
Alexander Baier [2015-10-15 17:28:20+02] wrote: > For future reference, it should be > > (add-hook 'gnus-summary-mode-hook 'my-gnus-summary-mode-hook) > ^ > I believe. Oh, it should, of course. Thanks for pointing out. signature.

Re: Configuring the ellipses of hidden threads

2015-10-15 Thread Teemu Likonen
Teemu Likonen [2015-10-15 12:40:21+03] wrote: > Perhaps this is does what you want: > > (add-hook 'gnus-summary-mode 'my-gnus-summary-mode-hook) > > (defun my-gnus-summary-mode-hook () > (set-display-table-slot buffer-display-table 'selective-disp

Re: Configuring the ellipses of hidden threads

2015-10-15 Thread Teemu Likonen
Alexander Baier [2015-10-15 10:59:42+02] wrote: > With threading turned on, the summary buffer indicates children in a > hidden thread by appending "..." to the end of the summary line. Is > there a way to change this string? I would like to use an utf-8 > ellipsis "…" instead. You can do that wi

Re: Mail-splitting confusion

2015-10-14 Thread Teemu Likonen
Teemu Likonen [2015-10-14 17:44:37+03] wrote: > I'm confused about Gnus's mail-splitting back-ends. How does Gnus > decide which back-end to use? I think I got it. Mail back-ends have get-new-mail variable and if it's non-nil then that back-end fetches mail from mail-source

Mail-splitting confusion

2015-10-14 Thread Teemu Likonen
I'm confused about Gnus's mail-splitting back-ends. How does Gnus decide which back-end to use? For example, I have different select methods, including things like this: (setq gnus-select-method '(nnnil "") gnus-secondary-select-methods '((nnml "" (nnml-d

Re: More than one user-mail-address

2014-05-10 Thread Teemu Likonen
Alexander Baier [2014-05-10 13:27:59 +02:00] wrote: > Mails with a From: header matching user-mail-address are shown > differently in the summary view: > Is there a way to configure multiple addresses? Yes. There are a couple of variables for that. I use a code piece like the one below to set th

Box-quote (was: Line length when writing an email)

2014-04-19 Thread Teemu Likonen
Sharon Kimble [2014-04-19 22:59:09 +01:00] wrote: > Clemens Schüller writes: >> ╭ >> │(add-hook 'message-mode-hook >> │(lambda () >> │ (setq fill-column 78) >> │ (turn-on-auto-fill))) >> ╰ > How did you get the solid lines round your box-quote please? It makes > it stand out and look v

Re: How to not get the Cc header in Gnus, on reply to mail

2013-10-03 Thread Teemu Likonen
Emanuel Berg [2013-10-03 00:37:48 +02:00] wrote: > a...@koldfront.dk (Adam Sjøgren) writes: >> Does it help to customize message-dont-reply-to-names? > > Yes, that did it! I suggest configuring Gnus's various email variables like this: (defvar my-email-addresses '("my.prim...@address.net" ;T

Confused about registry and pruned entries

2013-07-31 Thread Teemu Likonen
I'm confused with Gnus registry size. There are (at least) two variables which control registry's size: 1. gnus-registry-max-entries 2. gnus-registry-max-pruned-entries The variable 1 _seems_ clear. No more than that number of entries will be in the registry. The variable 2 is unclear and the d

Re: Sharing gnus between 2 machines

2013-07-04 Thread Teemu Likonen
Julien Cubizolles [2013-07-04 22:17:24 +02:00] wrote: > Do you use the agent ? with a nnimap group ? No agent at all. pgppwWvNPSLgY.pgp Description: PGP signature ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailm

Re: Sharing gnus between 2 machines

2013-07-03 Thread Teemu Likonen
Julien Cubizolles [2013-07-03 22:57:54 +02:00] wrote: > Teemu Likonen writes: >> I sync Emacs and Gnus files between two computers too, with Unison. >> It works nicely but I avoid editing mail files in both locations at >> the same time. > > Would you mind sending me

Re: Sharing gnus between 2 machines

2013-07-03 Thread Teemu Likonen
Julien Cubizolles [2013-07-03 19:00:28 +02:00] wrote: > I get messages complaining about .gnus.registry.eioio that couldn't be > opened and then the read status of messages seems to be lost. I remember seeing similar error messages and in my system the cause was different Emacs (Gnus) versions. T

Re: Always wide-reply in some newsgroups

2013-05-02 Thread Teemu Likonen
Tassilo Horn [2013-05-02 12:57:39 +02:00] wrote: > is there a trick to make Gnus always doing wide replies in some > newsgroups, also if I press `F' / `f'? Yes. I use the feature in this very mailing list. I read this through Gmane and have the following setting as part of my gnus-parameters:

Re: "cut here" (and message formatting in general)

2013-04-28 Thread Teemu Likonen
Tamas K. Papp [2013-04-28 11:14:47 +02:00] wrote: > Reading a newsgroup recently in Gnus I found a message which had code > nicely highlighted in the Emacs buffer. Looking at the raw message > source I found something like > > --8<---cut here- > 2. Is there an emacs function o

Re: How to set up Gnus as default mailto application in Ubuntu?

2013-02-01 Thread Teemu Likonen
Marius Hofert [2013-01-31 19:40:52 +0100] wrote: > When I click a "mailto-link" in google-chrome (on Ubuntu 12.10), > thunderbird pops up as default application. I was wondering if one can > do something similar [...] for setting up Gnus as default > mailto-application under Ubuntu (?) See: http:

Re: How to have 'mailto' (clicking addresses) open a new email in Gnus?

2012-08-10 Thread Teemu Likonen
Marius Hofert [2012-08-10 11:36:12 -0700] wrote: > Sometimes, email addresses on websites are links, which, when clicked, > open a new email (with corresponding address) in the default email > program. I wrote and use the solution described here: http://www.emacswiki.org/emacs/MailtoHandler I'm

Re: Expired articles originated from nnimap group keep expiring forever

2012-01-30 Thread Teemu Likonen
* Lars Ingebrigtsen [2012-01-30 17:21:23 +0100] wrote: > Teemu Likonen writes: >>> But just to double-check -- what's the value of >>> `nnmail-expiry-target' after you enter the nnml:old group? >> >> Its value is symbol named 'delete'. > &g

Re: Expired articles originated from nnimap group keep expiring forever

2012-01-27 Thread Teemu Likonen
* 2012-01-27T19:25:08+01:00 * Lars Ingebrigtsen wrote: > Teemu Likonen writes: >> Hmm, there's no expiry-target in my nnml:old. I want them to be >> deleted after expiry-wait (385 days). Or did I fail to understand? > > No, that's true -- I misread your parameter

Re: Expired articles originated from nnimap group keep expiring forever

2012-01-27 Thread Teemu Likonen
* 2012-01-27T19:06:44+01:00 * Lars Ingebrigtsen wrote: > Teemu Likonen writes: >> (setq >> gnus-parameters >>("^nnml:old$" >> (total-expire . t) >> (expiry-wait . 365 >> >> When I expire (with E key) a

Re: Expired articles originated from nnimap group keep expiring forever

2012-01-11 Thread Teemu Likonen
* 2012-01-11T17:44:34+02:00 * Teemu Likonen wrote: > I have an annoying problem with forever-expiring "nnimap" articles. I > use this kind of group settings (simplified): > > > (setq > gnus-parameters > `(("^nnimap\\>.*" > (s

Expired articles originated from nnimap group keep expiring forever

2012-01-11 Thread Teemu Likonen
I have an annoying problem with forever-expiring "nnimap" articles. I use this kind of group settings (simplified): (setq gnus-parameters `(("^nnimap\\>.*" (spam-contents gnus-group-spam-classification-ham) (spam-process ((spam spam-use-bogofilter)

Re: How to not check for new messages at start-up?

2011-10-19 Thread Teemu Likonen
* 2011-10-18T13:53:57+08:00 * Eric Abrahamsen wrote: > On Tue, Oct 18 2011, Teemu Likonen wrote: >> When Gnus is started it automatically checks for new messages. Can I >> prevent that? Sometimes I don't want this automatic "g" command but >> just a quick M-g

How to not check for new messages at start-up?

2011-10-17 Thread Teemu Likonen
When Gnus is started it automatically checks for new messages. Can I prevent that? Sometimes I don't want this automatic "g" command but just a quick M-g on a specific group. ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.

Re: Automatically "Unsubscribed list post" in certain groups

2011-04-05 Thread Teemu Likonen
* 2011-04-05T18:34:33+03:00 * Teemu Likonen wrote: > There are certain groups in which I want to have C-c C-f C-a > (message-generate-unsubscribed-mail-followup-to) executed > automatically when composing a new post or a reply. > > I know that there are a number of hooks for messag

Automatically "Unsubscribed list post" in certain groups

2011-04-05 Thread Teemu Likonen
There are certain groups in which I want to have C-c C-f C-a (message-generate-unsubscribed-mail-followup-to) executed automatically when composing a new post or a reply. I know that there are a number of hooks for message-mode. I could hack a hook function to automatically parse the headers and d

Re: non 8-bit headers.

2011-03-09 Thread Teemu Likonen
* 2011-03-08 13:02 (-0800), David Brown wrote: > Anyone know how to get GNUS to encode my headers. I just got a message > rejected to a mailing list because of 8-bit characters in the header. It's probably the gnus-group-posting-charset-alist variable. Here are the charset settings that I have fo

Re: Setting a different time zone than the system's

2011-02-05 Thread Teemu Likonen
* 2011-02-04 20:17 (+0100), Rasmus Villemoes wrote: > I am currently on the east coast of the US (EST), but I always ssh to > my department's server in Denmark and run emacs there. Hence, all my > emails and news postings are time stamped as +0100. Is there a way to > force Gnus to use -0500 inste

Re: Gmane spam reporting

2010-12-09 Thread Teemu Likonen
* 2010-05-10 20:51 (+0200), Štěpán Němec wrote: > Andreas Seltenreich writes: >> Last time I configured the spam package, it wanted a /list/ of >> processors instead. I used group parameters to configure it though, >> so this might not be the case here. > > Bingo! Changing the above to > > (set

Re: GnuPG and Gnus

2010-09-26 Thread Teemu Likonen
* 2010-09-26 20:11 (+0900), Byung-Hee HWANG wrote: > Hi, i would like Gnus with GnuPG. Then i want to sign all outgoing > mail by them. See the these info nodes: (info "(gnus) Security") (info "(message) Security") ___ info-gnus-english mailin

Re: Real threads

2010-05-04 Thread Teemu Likonen
* 2010-05-02 07:35 (+0200), Cecil Westerhof wrote: > In Gnus messages/articles with the same subject are put in the same > thread, even when it are different messages. Is there a way to make > sure that messages that are not in the same thread, but only have the > same subject, are not put in the

Re: gnus-secondary-select-methods and use of variables

2010-05-04 Thread Teemu Likonen
* 2010-05-01 19:50 (+0200), Cecil Westerhof wrote: > I would like to do something like the following: > (setq gnus-secondary-select-methods > '( > (nnimap "gmail" > (nnimap-address "imap.gmail.com") > (nnimap-stream ssl) >

Re: What "eval" means in score files?

2010-01-29 Thread Teemu Likonen
* 2010-01-29 11:53 (-0600), Ted Zlatanov wrote: > On Thu, 21 Jan 2010 06:11:13 +0200 Teemu Likonen wrote: >> Gnus manual says in "(Gnus) Score File Format": >> `eval' >> The value of this entry will be `eval'el. This element will be >&

What "eval" means in score files?

2010-01-20 Thread Teemu Likonen
Gnus manual says in "(Gnus) Score File Format": `eval' The value of this entry will be `eval'el. This element will be ignored when handling global score files. Then what? What should the entry evaluate to? How does Gnus interpret the result of evaluation? How can I use it w

Re: Disabling Y/N confirmation

2010-01-11 Thread Teemu Likonen
On 2010-01-12 10:27 (+0900), Katsumi Yamaoka wrote: >>>>>> Teemu Likonen wrote: >> When I'm reading news through one server but have configured Gnus to >> send my messages through some other server Gnus always asks me if I >> really want to post to this

Disabling Y/N confirmation

2010-01-10 Thread Teemu Likonen
When I'm reading news through one server but have configured Gnus to send my messages through some other server Gnus always asks me if I really want to post to this possibly unknown group (or something like that). Is it possible to turn off this question and make Gnus trust that I know what I'm do

Re: Gnus makes Emacs frozen while getting many Emails

2009-10-19 Thread Teemu Likonen
On 2009-10-19 04:11 (-0400), Stephen Leake wrote: > Water Lin writes: >> While my Gnus is getting a lot of Emails from server, it makes Emacs >> frozen. Emacs can't edit any docs or even input a command. >> Any good solution for this? > I run two separate Emacs processes, one for email, one for

Quoting style (was: Hanging when fetching too much mails using pop)

2009-09-14 Thread Teemu Likonen
On 2009-09-14 10:55 (-0500), Ted Zlatanov wrote: > On Sat, 12 Sep 2009 05:59:03 +0200 Slackrat wrote: >> Would you be willing to share your method of getting the poster's >> initials to preceed the quotted texf as per above? > > Supercite will do it. It looks bad in Outlook and web interfaces, >

Re: spam2.el

2009-09-10 Thread Teemu Likonen
On 2009-09-10 20:18 (+0200), Adam Sjøgren wrote: > If you set the variable I introduced, unregistering happens whenever > spam.el changes something from spam to ham, or from ham to spam before > it learns it again - as far as I can see (that is what happens on my > machine anyway). > * An email

Re: spam2.el

2009-09-10 Thread Teemu Likonen
On 2009-09-10 21:10 (+0300), Teemu Likonen wrote: >> What parts of spam.el do you like? How do you use it? > > I like that it integrates with Gnus. After I found suitable > configuration I can mark spam easily with M-d and it will be moved to > configured spam folder as well as

Re: spam2.el

2009-09-10 Thread Teemu Likonen
On 2009-09-10 09:31 (-0500), Ted Zlatanov wrote: > Anyone using spam.el: > > What parts of spam.el do you like? How do you use it? I like that it integrates with Gnus. After I found suitable configuration I can mark spam easily with M-d and it will be moved to configured spam folder as well as l

Re: How to unregister message as spam/ham?

2009-09-06 Thread Teemu Likonen
On 2009-09-06 13:50 (+0200), Adam Sjøgren wrote: > On Sun, 06 Sep 2009 12:42:51 +0200, Adam wrote: >> Looking in the code, unregistering seems to be handled for >> bogofilter: > > Ah, it is - but an article isn't unregistered if it is going from ham > to spam, or spam to ham, because, in spam.el's

Re: How to unregister message as spam/ham?

2009-09-06 Thread Teemu Likonen
On 2009-09-06 11:56 (+0200), Adam Sjøgren wrote: > On Sun, 06 Sep 2009 11:47:52 +0200, Adam wrote: >> If ham ends up in my spam-group, I simply tick it (with '!') and exit >> the group; the ticked emails are retrained as ham and respooled >> automatically. > > Oh, and the opposite way: if spam end

How to unregister message as spam/ham?

2009-09-05 Thread Teemu Likonen
I've been using Gnus' spam package for a while with bogofilter. So far I haven't found a way to unregister messages as spam or ham. That is, undo previously registered messages in bogofilter's database. There is some indication that this is supported. For example, in customize group "spam-bogofilt

Re: BUG REPORT: nntp-marks-file-name is reset to nil and causes "error IO error reading [...]: Is a directory"

2009-08-18 Thread Teemu Likonen
On 2009-08-17 12:10 (+0300), Teemu Likonen wrote: > Here's more info: It's file lisp/gnus/nntp.el, function nntp-open-marks > and form (condition-case ...) where the error happens. > > The reason for error is that variable nntp-marks-file-name is nil. It's > norma

Re: Leaving messages on the server

2009-08-17 Thread Teemu Likonen
On 2009-08-17 16:43 (+0200), Merciadri Luca wrote: > "Mark T.B. Carroll" writes: >> How is your mail-source-delete-incoming variable set? > > I do not even have this variable. What should it be set to? That variable is only about ~/Mail/Incoming* files. It's not about mail on a remote POP/IMAP s

BUG REPORT: nntp-marks-file-name is reset to nil and causes "error IO error reading [...]: Is a directory"

2009-08-17 Thread Teemu Likonen
On 2009-08-16 21:08 (+0300), Teemu Likonen wrote: > I have tried to use Gnus agent a couple of times but so far it hasn't > been exactly a pleasant experience. I have pretty much default settings > and all my nntp servers are agentized. Now, in Group buffer I go plugged > (Jj),

Re: Gnus agent IO error: Is a directory

2009-08-16 Thread Teemu Likonen
On 2009-08-17 02:53 (+0800), CHENG Gao wrote: > Just a guess. Did you set nntp-marks-is-evil to t? If so, maybe you > could set it to nil and try again. It's nil, default. Thanks anyway. ___ info-gnus-english mailing list info-gnus-english@gnu.org http:

Re: Gnus agent IO error: Is a directory

2009-08-16 Thread Teemu Likonen
On 2009-08-16 21:08 (+0300), Teemu Likonen wrote: > I have tried to use Gnus agent a couple of times but so far it hasn't > been exactly a pleasant experience. I have pretty much default settings > and all my nntp servers are agentized. Now, in Group buffer I go plugged > (Jj),

Gnus agent IO error: Is a directory

2009-08-16 Thread Teemu Likonen
I have tried to use Gnus agent a couple of times but so far it hasn't been exactly a pleasant experience. I have pretty much default settings and all my nntp servers are agentized. Now, in Group buffer I go plugged (Jj), check new news (g), download them (Js) and go unplugged (Jj) again. Fine. The

Low-scoring a troll and direct replies

2009-08-15 Thread Teemu Likonen
Let's say I want to low-score a certain Usenet troll as well as all direct replies to troll's messages. I think I can do this with a this kind of rule: ((| ("from" "Troll " s) (1- ("from" "Troll " s))) -1000) But it doesn't seem to match always for replies. I believe that the pro

Re: Gnus does not save the groups

2009-08-13 Thread Teemu Likonen
On 2009-08-13 16:28 (+0200), Dick Hoogendijk wrote: > Ted Zlatanov writes: >> Please use `C-c RET C-f' to attach a file to an e-mail. It looks much >> better and allows me to see the original file contents. > > C-c RET C-f is undefined > > So, is this special to your emacs/gnus configuration? I'm

Re: gnus-message-archive-group does not work without Gnus

2009-08-10 Thread Teemu Likonen
On 2009-08-08 22:41 (+0300), Teemu Likonen wrote: > I also use nnmaildir back-end to store sent mails, so I have > configured it like this: > > (setq gnus-message-archive-group "nnmaildir:sent") > > It works but only if I have started Gnus before. Sadly it doesn

gnus-message-archive-group does not work without Gnus

2009-08-08 Thread Teemu Likonen
I have mail-user-agent set to gnus-user-agent: (setq mail-user-agent 'gnus-user-agent) This works. "C-x m" (compose-mail) opens message-mode buffer. I also use nnmaildir back-end to store sent mails, so I have configured it like this: (setq gnus-message-archive-group "nnmaildir:sent") I

Re: prefer application on Gnome Desktop

2009-07-15 Thread Teemu Likonen
On 2009-07-14 20:36 (+0300), Teemu Likonen wrote: > OK, it turned out that all the parser functions already existed in > Emacs so the basic functionality was very easy to do. Here's a > prototype. [...] I improved the code a bit and made it safer. Further improvements can

Re: prefer application on Gnome Desktop

2009-07-14 Thread Teemu Likonen
n mailer is "Evolution". By the way i would like to switch to > Gnus from Evolution. So how can i change without any errors? On 2009-07-14 11:05 (+0300), Teemu Likonen wrote: > it's in my mental TODO list to make this work mostly inside Emacs. OK, it turned out that all the parse

Re: prefer application on Gnome Desktop

2009-07-14 Thread Teemu Likonen
On 2009-07-14 10:46 (+0300), Teemu Likonen wrote: > I have written a Bash script which parses mailto URLs and email headers' > possible RFC2047 quotations and then launches emacsclient to compose > mail. By the way, I originally made the script before I used Emacs and Gnus. I use

Re: prefer application on Gnome Desktop

2009-07-14 Thread Teemu Likonen
at least in my system. Be free to edit it to suit your purposes. The program is public domain; absolutely no warranty. #!/bin/bash # Mailto link handler script for Emacs. # # Written by Teemu Likonen # # This program is placed in the public domain. url="$1" echopf() {

Re: Replying without In-Reply-To/References

2009-06-22 Thread Teemu Likonen
Let's quote my original message properly here: On 2009-06-10 15:24 (UTC), Teemu Likonen wrote: > Is it possible to reply to a message with quoting the content but > without actually having In-Reply-To nor References header in the new > message? Sometimes it's useful to quot

Re: Replying without In-Reply-To/References

2009-06-20 Thread Teemu Likonen
On 2009-06-11 22:08 (-0800), Floyd L. Davidson wrote: > Teemu Likonen writes: >> Is it possible to reply to a message with quoting the content but >> without actually having In-Reply-To nor References header in the new >> message? >> I tried to manually delete

Replying without In-Reply-To/References

2009-06-10 Thread Teemu Likonen
Is it possible to reply to a message with quoting the content but without actually having In-Reply-To nor References header in the new message? Sometimes it's useful to quote someone's message but start a completely new thread (i.e., no In-Reply-To/References headers). I tried to manually delete I

Re: More gnewb questions

2009-06-01 Thread Teemu Likonen
On 2009-06-01 10:02 (-0600), not...@bb.nothome.com wrote: > ..or C-x 0 if I've changed my cursor to the article buffer. I get > it. ;) > > I just thought there might be a one letter function for it, like in > slrn. Apperently not. There is "=". Even if there wasn't you can always bind co

Re: GPG encryption fails with Gnus 5.13

2009-06-01 Thread Teemu Likonen
On 2009-06-01 10:23 (UTC), Teemu Likonen wrote: > When I send an encrypted message (C-c C-c in the message buffer) the > minibuffer shows: > > Encrypt failed: exit > Does anybody have an idea how to fix or debug this? Ok, I found the answer from " *epg-debug*"

GPG encryption fails with Gnus 5.13

2009-06-01 Thread Teemu Likonen
I just switched from Emacs 22.2 to Emacs 23.0 and -- if I remember correctly -- from Gnus 5.11 to 5.13. Unfortunately message encryption does not work anymore, signing still does. When I send an encrypted message (C-c C-c in the message buffer) the minibuffer shows: Encrypt failed: exit The

Re: Configure external image viewer?

2009-04-27 Thread Teemu Likonen
On 2009-04-27 16:22 (UTC), Teemu Likonen wrote: > I tried to edit my ~/.mailcap file and added the following line to the > file. It didn't have any effect. > > image/*; gwenview '%s'; test=test "$DISPLAY" I noticed something. I had to be more explicit a

Re: Configure external image viewer?

2009-04-27 Thread Teemu Likonen
On 2009-04-27 17:10 (UTC), Tim Landscheidt wrote: > Teemu Likonen wrote: >> I tried to edit my ~/.mailcap file and added the following line to >> the file. It didn't have any effect. > >> image/*; gwenview '%s'; test=test "$DISPLAY" > >

Configure external image viewer?

2009-04-27 Thread Teemu Likonen
Is it possible to configure what image viewer Gnus will use for viewing attached images? I'm using Debian GNU/Linux and currently Gnus opens ImageMagick program when I click those attachment buttons: [2. image/jpeg; file.jpg] ImageMagick opens but it does not actually show the image. Even if

Re: using unix type mail alias file with gnus?

2009-02-17 Thread Teemu Likonen
On 2009-02-17 14:57 (-0800), John Velman wrote: > One answer I haven't been able to find yet is how to use my > .mail_alias file with gnus. It seems it wouldn't be too hard to write > some elisp to do that, but perhaps someone has done it? This may not answer exactly your question but ~/.mailrc f

Re: Getting started reading mail stored in local maildir

2009-02-08 Thread Teemu Likonen
On 2009-02-08 23:25 (UTC), Dan Davison wrote: > I want to try out gnus, but have got nowhere so far. I would greatly > appreciate instruction on how to read mail stored locally in maildirs. > When I start gnus I enter a (Group Plugged) buffer which is empty > with the message "No more unread new

Re: How to parse "To" and "Cc" headers?

2009-02-03 Thread Teemu Likonen
On 2009-02-02 10:08 (-0600), Ted Zlatanov wrote: > On Sat, 31 Jan 2009 06:09:12 GMT Teemu Likonen wrote: > > TL> (dolist (item (append to-lst cc-lst) recipients) > TL> (add-to-list 'recipients > TL>(nth 1 item) > > You may

Re: How to ignore "Reply-To"?

2009-02-03 Thread Teemu Likonen
On 2008-10-19 00:54 (+0300), Teemu Likonen wrote: > In some mailing lists it's a convention that messages are posted always > to the list only (not "wide reply"). In such situations the list > software usually adds automatic "Reply-To: ". For me it's fine,

Re: How to parse "To" and "Cc" headers?

2009-01-30 Thread Teemu Likonen
On 2009-01-30 09:27 (-0600), Ted Zlatanov wrote: > I think you want mail-extract-address-components. It returns a list of > name-address pairs. You know how to get the whole To: and Cc: lines, I > assume. Thanks! So to answer my original question, below is a code which returns a list consisting

Re: How to parse "To" and "Cc" headers?

2009-01-29 Thread Teemu Likonen
On 2009-01-29 22:16 (+), Cor wrote: > ;;; (insert "Some Finnish " (mail-header-from message-reply-headers)", I'm familiar with "(mail-header-from message-reply-headers)" and I use it for getting the person's name that I'm quoting. I was hoping for a function which parses all the addresses in

How to parse "To" and "Cc" headers?

2009-01-29 Thread Teemu Likonen
Is there a function in Gnus (or elsewhere in Emacs) for parsing "To" and "Cc" headers in the buffer? My goal is to make my custom message-citation-line-function use Finnish or English/international citation line depending on the recipient addresses of the message. _

Re: Getting a handle on gnus

2009-01-10 Thread Teemu Likonen
Les Harris (2009-01-10 06:52 -0800) wrote: > 1) I like topic mode. How do I make it the default mode on startup? Command gnus-topic-mode turns it on. You have to add that command to the gnus-group-mode-hook so that it is run every time the Group buffer is initialized. So, put the following line t

Quotation style (was: Best way to see html stuff)

2008-12-16 Thread Teemu Likonen
Torben Knudsen (2008-12-16 09:12 +0100) wrote: > Tassilo> ;; Show plain text part by default, but provide buttons for > Tassilo> the ;; html part (setq mm-discouraged-alternatives > Tassilo> '("text/html" "text/richtext" "text/enriched") > Tassilo> gnus-buttonized-mime-types '("multipart/signed" >

Re: Message time in local timezone

2008-12-12 Thread Teemu Likonen
Teemu Likonen (2008-12-03 21:12 +) wrote: > Reiner Steib (2008-12-03 21:19 +0100) wrote: > >> Gnus doesn't produce different time formats for mail and news, see the >> function `message-make-date'. >> >> In fact your date headers don't look like

Re: Message time in local timezone

2008-12-03 Thread Teemu Likonen
Reiner Steib (2008-12-03 21:19 +0100) wrote: > Gnus doesn't produce different time formats for mail and news, see the > function `message-make-date'. > > In fact your date headers don't look like they were produced by Gnus: > > Date: Wed, 29 Oct 2008 15:59:47 GMT > Date: Wed, 29 Oct 2008 17:07

Re: nnmaildir don't get new email with gnus-group-get-new-news

2008-11-04 Thread Teemu Likonen
Teemu Likonen (2008-11-04 17:53 +) wrote: > I have very setting: I use "fetchmail" to fetch mail from three ^ "similar" ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.or

Re: nnmaildir don't get new email with gnus-group-get-new-news

2008-11-04 Thread Teemu Likonen
Pedro Kröger (2008-11-04 08:28 -0800) wrote: > I use offlineimap to get my email from a gmail account. It downloads > it to ~/Maildir (for instance, the directory ~/Maildir/inbox is a > proper maildir directory). I have very setting: I use "fetchmail" to fetch mail from three different accounts a

Re: Move a group of email messages

2008-11-01 Thread Teemu Likonen
Reiner Steib (2008-11-01 19:35 +0100) wrote: > On Sat, Nov 01 2008, Teemu Likonen wrote: > >> Is it possible to save multiple marked messages to a single Unix >> mbox file without being asked about the destination file for each >> message separately? > > This is

Re: Move a group of email messages

2008-11-01 Thread Teemu Likonen
Bastien (2008-11-01 16:11 +0100) wrote: > [EMAIL PROTECTED] (Flávio de Souza) writes: > >> I tried to use # (mark) and M-&. Altough it moves the group of >> messages but I need to specify the folder for every message in >> the group again and again. > > Select messages with # and move them all at

Re: Message time in local timezone

2008-10-29 Thread Teemu Likonen
Andy Lewis (2008-10-29 09:41 -0700) wrote: > Teemu Likonen <[EMAIL PROTECTED]> writes: > >>I have noticed that in my email messages the Date field has the time in >>my local timezone (+0200 EET) but in news messages it's always in GMT. >>This is not really

Message time in local timezone

2008-10-29 Thread Teemu Likonen
I have noticed that in my email messages the Date field has the time in my local timezone (+0200 EET) but in news messages it's always in GMT. This is not really a problem but I'd like to use local timezone with news messages as well. Can it be configured? I couldn't find any option for this. _

Re: Show all headers

2008-10-29 Thread Teemu Likonen
Andreas Davour (2008-10-29 16:21 +0100) wrote: > I'm trying to find a way to see the full header of a e-mail in a > nnfolder group. W M v only shows me From, Subject, To and Date and I'm > fairly sure there are more lines in that header. Perhaps "t" (toggle header) or "C-u g" (raw article) will d

Boxquote (was: When I customize a group, where is that metadata stored?)

2008-10-28 Thread Teemu Likonen
Sivaram Neelakantan (2008-10-28 23:49 +0530): > Wei Weng <[EMAIL PROTECTED]> writes: > >> I have seen often the "quote box" thing you have here in the few >> emacs related groups I read. How did you do it? You didn't do it >> manually, did you? :) > Actually, look for boxquote.el which gives that

Re: How to ignore "Reply-To"?

2008-10-18 Thread Teemu Likonen
Reiner Steib [2008-10-18 22:35 +0200]: > On Sat, Oct 18 2008, Teemu Likonen wrote: > >> Well, I guess this means that if I occasionally want to reply >> privately to somebody on a mailing list I need to copy and paste >> person's address to "To" field. All

  1   2   >