Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Define "Group" of mail recipients in Gnus?
@ 2016-11-08  9:58 Rainer M Krug
  2016-11-08 10:53 ` B.V. Raghav
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Rainer M Krug @ 2016-11-08  9:58 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 705 bytes --]

Hi

I have at the moment regularly mails which I have to send to a large
number (28) recipients. In other mail clients, I can define a "group"
and ust send the mail to the group while the mail client handles
everything.

Is there something similar in Gnus?

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08  9:58 Define "Group" of mail recipients in Gnus? Rainer M Krug
@ 2016-11-08 10:53 ` B.V. Raghav
  2016-11-08 11:54   ` Rainer M Krug
  2016-11-08 11:25 ` Rasmus
  2016-11-08 11:41 ` Enrico Schumann
  2 siblings, 1 reply; 18+ messages in thread
From: B.V. Raghav @ 2016-11-08 10:53 UTC (permalink / raw)
  To: info-gnus-english

Rainer M Krug <Rainer@krugs.de> writes:
>
> I have at the moment regularly mails which I have to send to a large
> number (28) recipients. In other mail clients, I can define a "group"
> and ust send the mail to the group while the mail client handles
> everything.
>
> Is there something similar in Gnus?

Plus one.

I presently use `groups' (comma-separated list of email ids) saved as
text, for the same purpose. The text files are bookmarked with a common
tag in keyword, i.e. `mail-group', and so its easy to locate with `C-x j
f' in combination with a completion engine like icicles S-SPC and
Backtab [1]

An in-built Gnus functionality with BBDB integration or likewise should
definitely be a huge cognitive offload.

Thanks,

-- 
Raghav

[1] https://www.emacswiki.org/emacs/Icicles_-_Progressive_Completion


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08  9:58 Define "Group" of mail recipients in Gnus? Rainer M Krug
  2016-11-08 10:53 ` B.V. Raghav
@ 2016-11-08 11:25 ` Rasmus
  2016-11-08 11:54   ` N. Raghavendra
  2016-11-08 11:41 ` Enrico Schumann
  2 siblings, 1 reply; 18+ messages in thread
From: Rasmus @ 2016-11-08 11:25 UTC (permalink / raw)
  To: info-gnus-english

Rainer M Krug <Rainer@krugs.de> writes:

> Hi
>
> I have at the moment regularly mails which I have to send to a large
> number (28) recipients. In other mail clients, I can define a "group"
> and ust send the mail to the group while the mail client handles
> everything.
>
> Is there something similar in Gnus?

I don’t know if BBDB can do it.

It's probably something your "address book" can do.  Here's instructions
for BBDB:

    https://www.emacswiki.org/emacs/BbdbMailingLists#toc1

You could also use abbrev, I guess.

-- 
Slowly unravels in a ball of yarn and the devil collects it


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08  9:58 Define "Group" of mail recipients in Gnus? Rainer M Krug
  2016-11-08 10:53 ` B.V. Raghav
  2016-11-08 11:25 ` Rasmus
@ 2016-11-08 11:41 ` Enrico Schumann
  2016-11-08 13:34   ` Alan Schmitt
  2 siblings, 1 reply; 18+ messages in thread
From: Enrico Schumann @ 2016-11-08 11:41 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: info-gnus-english

On Tue, 08 Nov 2016, Rainer M Krug <Rainer@krugs.de> writes:

> Hi
>
> I have at the moment regularly mails which I have to send to a large
> number (28) recipients. In other mail clients, I can define a "group"
> and ust send the mail to the group while the mail client handles
> everything.
>
> Is there something similar in Gnus?
>
> Thanks,
>
> Rainer

If you use BBDB, you could use mail aliases. (At least
in v2; not sure about v3.)

That is, you define a field 'mail-alias' for each
member of a group, with value <groupname>. Then, when
you write the message, put <groupname> into the
To-header. The groupname would [should ;-)] then expand
to the actual email addresses.

Kind regards
     Enrico

-- 
Enrico Schumann
Lucerne, Switzerland
http://enricoschumann.net


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08 11:25 ` Rasmus
@ 2016-11-08 11:54   ` N. Raghavendra
  2016-11-09 12:28     ` B.V. Raghav
  0 siblings, 1 reply; 18+ messages in thread
From: N. Raghavendra @ 2016-11-08 11:54 UTC (permalink / raw)
  To: info-gnus-english

At 2016-11-08T12:25:20+01:00, Rasmus wrote:

> I don’t know if BBDB can do it.

Yes, BBDB certainly can do mail aliases, and I used to use it until a
few years ago, when I switched to org-contacts:

https://julien.danjou.info/projects/emacs-packages#org-contacts

That page shows how to use org-contacts for mail aliases (lists) in
Gnus.

Cheers,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08 10:53 ` B.V. Raghav
@ 2016-11-08 11:54   ` Rainer M Krug
  2016-11-08 13:39     ` Dan Christensen
  0 siblings, 1 reply; 18+ messages in thread
From: Rainer M Krug @ 2016-11-08 11:54 UTC (permalink / raw)
  To: B.V. Raghav; +Cc: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1102 bytes --]

bvraghav@iitk.ac.in (B.V. Raghav) writes:

> Rainer M Krug <Rainer@krugs.de> writes:
>>
>> I have at the moment regularly mails which I have to send to a large
>> number (28) recipients. In other mail clients, I can define a "group"
>> and ust send the mail to the group while the mail client handles
>> everything.
>>
>> Is there something similar in Gnus?
>
> Plus one.
>
> I presently use `groups' (comma-separated list of email ids) saved as
> text, for the same purpose. The text files are bookmarked with a common
> tag in keyword, i.e. `mail-group', and so its easy to locate with `C-x j
> f' in combination with a completion engine like icicles S-SPC and
> Backtab [1]

Easy and effective - I will try it out. Another option might be
yasnippets...

>
> An in-built Gnus functionality with BBDB integration or likewise should
> definitely be a huge cognitive offload.

Yes - would be nice. But I am not using BBDB but gmail contacts. Maybe
it already works?

Thanks

Rainer


>
> Thanks,

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08 11:41 ` Enrico Schumann
@ 2016-11-08 13:34   ` Alan Schmitt
  0 siblings, 0 replies; 18+ messages in thread
From: Alan Schmitt @ 2016-11-08 13:34 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 326 bytes --]

On 2016-11-08 12:41, Enrico Schumann <es@enricoschumann.net> writes:

> If you use BBDB, you could use mail aliases. (At least
> in v2; not sure about v3.)

I use v3 and regularly use aliases.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-09: 401.03, 2015-09: 397.63

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08 11:54   ` Rainer M Krug
@ 2016-11-08 13:39     ` Dan Christensen
  2016-11-08 17:11       ` Rainer M Krug
  0 siblings, 1 reply; 18+ messages in thread
From: Dan Christensen @ 2016-11-08 13:39 UTC (permalink / raw)
  To: info-gnus-english

Gnus can parse a ~/.mailrc file containing mail aliases such as:

alias groupname  "Person One <p1@address>, Person Two <p2@address>"

Then, if you type groupname in a header, followed by a space or
punctuation character, it should complete.

You need to restart Gnus or run

(rebuild-mail-abbrevs (concat (getenv "HOME") "/.mailrc")

after editing .mailrc in order for Gnus to know about your changes.

Dan



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08 13:39     ` Dan Christensen
@ 2016-11-08 17:11       ` Rainer M Krug
  2016-11-08 21:58         ` Dan Christensen
  0 siblings, 1 reply; 18+ messages in thread
From: Rainer M Krug @ 2016-11-08 17:11 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1043 bytes --]

Thanks.

Works perfectly. For testing purposes: if the message buffer is open,
the aliases seem to have been read already, and changes in .mailrc with
followed reloading don't seem to have any impact. So: after reloading,
one has to open a new message to test the alias.

Thanks a lot,

Rainer


Dan Christensen <jdc@uwo.ca> writes:

> Gnus can parse a ~/.mailrc file containing mail aliases such as:
>
> alias groupname  "Person One <p1@address>, Person Two <p2@address>"
>
> Then, if you type groupname in a header, followed by a space or
> punctuation character, it should complete.
>
> You need to restart Gnus or run
>
> (rebuild-mail-abbrevs (concat (getenv "HOME") "/.mailrc")
>
> after editing .mailrc in order for Gnus to know about your changes.
>
> Dan
>
>
> _______________________________________________
> info-gnus-english mailing list
> info-gnus-english@gnu.org
> https://lists.gnu.org/mailman/listinfo/info-gnus-english

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08 17:11       ` Rainer M Krug
@ 2016-11-08 21:58         ` Dan Christensen
  0 siblings, 0 replies; 18+ messages in thread
From: Dan Christensen @ 2016-11-08 21:58 UTC (permalink / raw)
  To: info-gnus-english

For me, it works even if I have an existing message buffer open.

You can even put the following at the end of your .mailrc, to
make the rebuilding happen automatically when you save the file.

# Local Variables:
# mode: fundamental
# comment-start: "# "
# local-write-file-hooks: (list (lambda () (rebuild-mail-abbrevs (concat (getenv "HOME") "/.mailrc")) nil))
# End:

Dan

On Nov  8, 2016, Rainer M Krug <Rainer@krugs.de> wrote:

> Thanks.
>
> Works perfectly. For testing purposes: if the message buffer is open,
> the aliases seem to have been read already, and changes in .mailrc with
> followed reloading don't seem to have any impact. So: after reloading,
> one has to open a new message to test the alias.
>
> Thanks a lot,
>
> Rainer
>
> Dan Christensen <jdc@uwo.ca> writes:
>
>> Gnus can parse a ~/.mailrc file containing mail aliases such as:
>>
>> alias groupname  "Person One <p1@address>, Person Two <p2@address>"
>>
>> Then, if you type groupname in a header, followed by a space or
>> punctuation character, it should complete.
>>
>> You need to restart Gnus or run
>>
>> (rebuild-mail-abbrevs (concat (getenv "HOME") "/.mailrc")
>>
>> after editing .mailrc in order for Gnus to know about your changes.
>>
>> Dan



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-08 11:54   ` N. Raghavendra
@ 2016-11-09 12:28     ` B.V. Raghav
  2016-11-09 12:42       ` Alan Schmitt
  0 siblings, 1 reply; 18+ messages in thread
From: B.V. Raghav @ 2016-11-09 12:28 UTC (permalink / raw)
  To: info-gnus-english

"N. Raghavendra" <raghu@hri.res.in> writes:

>
> https://julien.danjou.info/projects/emacs-packages#org-contacts
>
It took me a little time to get to the author's page. And it was surely
interesting to try.

The package is also in org-plus-contrib package. The link to raw file is
also available at:
http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/org-contacts.el;hb=HEAD

Thanks,
r
-- 
(B.V. Raghav)


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-09 12:28     ` B.V. Raghav
@ 2016-11-09 12:42       ` Alan Schmitt
  2016-11-09 13:39         ` N. Raghavendra
  0 siblings, 1 reply; 18+ messages in thread
From: Alan Schmitt @ 2016-11-09 12:42 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1410 bytes --]

Hello,

On 2016-11-09 17:58, bvraghav@iitk.ac.in (B.V. Raghav) writes:

> "N. Raghavendra" <raghu@hri.res.in> writes:
>
>>
>> https://julien.danjou.info/projects/emacs-packages#org-contacts
>>
> It took me a little time to get to the author's page. And it was surely
> interesting to try.
>
> The package is also in org-plus-contrib package. The link to raw file is
> also available at:
> http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/org-contacts.el;hb=HEAD

I'm also giving it a try, and as I found very little documentation, here
is what I did to make it work (I had to read the code to find the
gnus-insinuate part):

(require 'org-contacts)
(setq org-contacts-files (list "~/Documents/Org/contacts.org"))
(add-to-list 'org-capture-templates
           '("c" "Contacts" entry (file "~/Documents/Org/contacts.org")
             "* %(org-contacts-template-name)
:PROPERTIES:
:EMAIL: %(org-contacts-template-email)
:END:"))
(org-contacts-gnus-insinuate)

I have found a bug in tags completion, and contacted the author, who
told me he is no longer maintaining this. I asked the org list about
this bug
(https://lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00172.html),
hopefully they will know what is going on.

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-09: 401.03, 2015-09: 397.63

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-09 12:42       ` Alan Schmitt
@ 2016-11-09 13:39         ` N. Raghavendra
  2016-11-10  8:09           ` Alan Schmitt
  0 siblings, 1 reply; 18+ messages in thread
From: N. Raghavendra @ 2016-11-09 13:39 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: info-gnus-english

At 2016-11-09T13:42:15+01:00, Alan Schmitt wrote:

> I'm also giving it a try, and as I found very little documentation, here
> is what I did to make it work (I had to read the code to find the
> gnus-insinuate part):
>
> (require 'org-contacts)
> (setq org-contacts-files (list "~/Documents/Org/contacts.org"))
> (add-to-list 'org-capture-templates
>            '("c" "Contacts" entry (file "~/Documents/Org/contacts.org")
>              "* %(org-contacts-template-name)
> :PROPERTIES:
> :EMAIL: %(org-contacts-template-email)
> :END:"))
> (org-contacts-gnus-insinuate)
>
> I have found a bug in tags completion, and contacted the author, who
> told me he is no longer maintaining this. I asked the org list about
> this bug
> (https://lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00172.html),
> hopefully they will know what is going on.

Perhaps the function org-contacts-gnus-insinuate is not being evaluated
when you start Gnus?  I use

(add-hook 'gnus-startup-hook 'org-contacts-gnus-insinuate)

and tag completion (+foo TAB) is working with my configuration.

Cheers,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-09 13:39         ` N. Raghavendra
@ 2016-11-10  8:09           ` Alan Schmitt
  2016-11-10  8:19             ` N. Raghavendra
  0 siblings, 1 reply; 18+ messages in thread
From: Alan Schmitt @ 2016-11-10  8:09 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1342 bytes --]

Hi Raghu,

On 2016-11-09 19:09, "N. Raghavendra" <raghu@hri.res.in> writes:

> At 2016-11-09T13:42:15+01:00, Alan Schmitt wrote:
>
>> I have found a bug in tags completion, and contacted the author, who
>> told me he is no longer maintaining this. I asked the org list about
>> this bug
>> (https://lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00172.html),
>> hopefully they will know what is going on.
>
> Perhaps the function org-contacts-gnus-insinuate is not being evaluated
> when you start Gnus?  I use
>
> (add-hook 'gnus-startup-hook 'org-contacts-gnus-insinuate)

It is (and the rest of the functionality of org-contacts in gnus work).
That line is actually in my gnus config.

> and tag completion (+foo TAB) is working with my configuration.

Thanks. Could you tell me what are your emacs and org versions?

The part that really surprises me about this bug is that it's during a
mapcar on a fontified string. I tried to test it, and it should
immediately fail with an error like “this is a string, not a list”, but
the mapcar goes through and the first element it looks at is an integer
representing the first character of the string. I find this very
confusing.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-09: 401.03, 2015-09: 397.63

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-10  8:09           ` Alan Schmitt
@ 2016-11-10  8:19             ` N. Raghavendra
  2016-11-10  8:21               ` Alan Schmitt
  0 siblings, 1 reply; 18+ messages in thread
From: N. Raghavendra @ 2016-11-10  8:19 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: info-gnus-english

At 2016-11-10T09:09:22+01:00, Alan Schmitt wrote:

> It is (and the rest of the functionality of org-contacts in gnus work).
> That line is actually in my gnus config.
>
>> and tag completion (+foo TAB) is working with my configuration.
>
> Thanks. Could you tell me what are your emacs and org versions?

Org-mode version 8.3.4 (release_8.3.4-783-g779222 @ ...)

GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.4.0, NS appkit-1404.46
Version 10.11.4 (Build 15E65)) of 2016-05-11

Cheers,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-10  8:19             ` N. Raghavendra
@ 2016-11-10  8:21               ` Alan Schmitt
  2016-11-10 11:10                 ` N. Raghavendra
  0 siblings, 1 reply; 18+ messages in thread
From: Alan Schmitt @ 2016-11-10  8:21 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 792 bytes --]

On 2016-11-10 13:49, "N. Raghavendra" <raghu@hri.res.in> writes:

> At 2016-11-10T09:09:22+01:00, Alan Schmitt wrote:
>
>> It is (and the rest of the functionality of org-contacts in gnus work).
>> That line is actually in my gnus config.
>>
>>> and tag completion (+foo TAB) is working with my configuration.
>>
>> Thanks. Could you tell me what are your emacs and org versions?
>
> Org-mode version 8.3.4 (release_8.3.4-783-g779222 @ ...)
>
> GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.4.0, NS appkit-1404.46
> Version 10.11.4 (Build 15E65)) of 2016-05-11

This might be an org 9 problem, then. I'll have to investigate further.

Thanks again,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-09: 401.03, 2015-09: 397.63

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-10  8:21               ` Alan Schmitt
@ 2016-11-10 11:10                 ` N. Raghavendra
  2016-11-10 12:49                   ` Alan Schmitt
  0 siblings, 1 reply; 18+ messages in thread
From: N. Raghavendra @ 2016-11-10 11:10 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: info-gnus-english

At 2016-11-10T09:21:08+01:00, Alan Schmitt wrote:

> On 2016-11-10 13:49, "N. Raghavendra" <raghu@hri.res.in> writes:
>
>> At 2016-11-10T09:09:22+01:00, Alan Schmitt wrote:
>>
>>> It is (and the rest of the functionality of org-contacts in gnus work).
>>> That line is actually in my gnus config.
>>>
>>>> and tag completion (+foo TAB) is working with my configuration.
>>>
>>> Thanks. Could you tell me what are your emacs and org versions?
>>
>> Org-mode version 8.3.4 (release_8.3.4-783-g779222 @ ...)
>>
>> GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.4.0, NS appkit-1404.46
>> Version 10.11.4 (Build 15E65)) of 2016-05-11
>
> This might be an org 9 problem, then. I'll have to investigate further.

If you aren't using helm, this is irrelevant to you, but just in case it
is, I have the following also in my emacs configuration:

;; Don't use helm for org capture.  It gives an error if there is a
;; PROMPT in the capture template.  See
;; https://github.com/emacs-helm/helm/issues/1494
(setcdr (assoc 'org-capture helm-completing-read-handlers-alist) nil)

;; Don't use helm in message mode.  It leaves white space at the end
;; when I complete a name with org-contacts.
(add-to-list 'helm-mode-no-completion-in-region-in-modes 'message-mode)

Cheers,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Define "Group" of mail recipients in Gnus?
  2016-11-10 11:10                 ` N. Raghavendra
@ 2016-11-10 12:49                   ` Alan Schmitt
  0 siblings, 0 replies; 18+ messages in thread
From: Alan Schmitt @ 2016-11-10 12:49 UTC (permalink / raw)
  To: N. Raghavendra; +Cc: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1408 bytes --]

Hello,

On 2016-11-10 16:40, "N. Raghavendra" <raghu@hri.res.in> writes:

>> This might be an org 9 problem, then. I'll have to investigate further.

I found out it's not an org problem, but a completion problem. If I use
ivy or helm, I get the bug, but if I use the default completion, things
work. I've asked for help on the emacs-devel mailing list on how to fix
this:
https://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00269.html

> If you aren't using helm, this is irrelevant to you, but just in case it
> is, I have the following also in my emacs configuration:
>
> ;; Don't use helm for org capture.  It gives an error if there is a
> ;; PROMPT in the capture template.  See
> ;; https://github.com/emacs-helm/helm/issues/1494
> (setcdr (assoc 'org-capture helm-completing-read-handlers-alist) nil)
>
> ;; Don't use helm in message mode.  It leaves white space at the end
> ;; when I complete a name with org-contacts.
> (add-to-list 'helm-mode-no-completion-in-region-in-modes 'message-mode)

This is very interesting, thanks for sharing. Unfortunately I use ivy
and there does not seem to be any equivalent setting. But now I
understand why things work for you: you actually use the default
completion in message mode.

Thanks again,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-11-10 12:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-08  9:58 Define "Group" of mail recipients in Gnus? Rainer M Krug
2016-11-08 10:53 ` B.V. Raghav
2016-11-08 11:54   ` Rainer M Krug
2016-11-08 13:39     ` Dan Christensen
2016-11-08 17:11       ` Rainer M Krug
2016-11-08 21:58         ` Dan Christensen
2016-11-08 11:25 ` Rasmus
2016-11-08 11:54   ` N. Raghavendra
2016-11-09 12:28     ` B.V. Raghav
2016-11-09 12:42       ` Alan Schmitt
2016-11-09 13:39         ` N. Raghavendra
2016-11-10  8:09           ` Alan Schmitt
2016-11-10  8:19             ` N. Raghavendra
2016-11-10  8:21               ` Alan Schmitt
2016-11-10 11:10                 ` N. Raghavendra
2016-11-10 12:49                   ` Alan Schmitt
2016-11-08 11:41 ` Enrico Schumann
2016-11-08 13:34   ` Alan Schmitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).