Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Attaching all files in dir
@ 2010-04-10 17:06 Paulo Matos
  2010-04-10 18:13 ` Glyn Millington
  0 siblings, 1 reply; 6+ messages in thread
From: Paulo Matos @ 2010-04-10 17:06 UTC (permalink / raw)
  To: info-gnus-english

Hi,

I have a directory with several files and I would like to attach them
to my email in one go. Is there any function already prepared for
this?

Cheers,
--
PMatos

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

* Re: Attaching all files in dir
  2010-04-10 17:06 Attaching all files in dir Paulo Matos
@ 2010-04-10 18:13 ` Glyn Millington
  2010-04-10 18:52   ` Paulo Matos
  0 siblings, 1 reply; 6+ messages in thread
From: Glyn Millington @ 2010-04-10 18:13 UTC (permalink / raw)
  To: info-gnus-english

Paulo Matos <pocmatos@gmail.com> writes:

> Hi,
>
> I have a directory with several files and I would like to attach them
> to my email in one go. Is there any function already prepared for
> this?

Not quite.  The snippet below will allow you to attach all the files you
mark in dired in one go


,----
| ;; If you would like to attach all marked files from dired to a new
| ;; Gnus message then put the following in your .emacs:
| 
| (require 'gnus-dired)
| (add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)
| 
| ;; Then, from dired, you can mark files as normal and then hit C-c
| ;; C-m C-a to attach the files (as attachments, not inline) to a
| ;; message. If you would like to have an easier to get to binding I
| ;; would suggest the following:
| 
| (define-key dired-mode-map "a" 'gnus-dired-attach)
`----


any use?


atb




Glyn

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

* Re: Attaching all files in dir
  2010-04-10 18:13 ` Glyn Millington
@ 2010-04-10 18:52   ` Paulo Matos
  2010-04-10 19:21     ` Glyn Millington
  2010-04-10 19:32     ` Paul Bibbings
  0 siblings, 2 replies; 6+ messages in thread
From: Paulo Matos @ 2010-04-10 18:52 UTC (permalink / raw)
  To: info-gnus-english

On Apr 10, 7:13 pm, Glyn Millington <wistansw...@linuxmail.org> wrote:
>
> Not quite.  The snippet below will allow you to attach all the files you
> mark in dired in one go
>
> ,----
> | ;; If you would like to attach all marked files from dired to a new
> | ;; Gnus message then put the following in your .emacs:
> |
> | (require 'gnus-dired)
> | (add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)
> |
> | ;; Then, from dired, you can mark files as normal and then hit C-c
> | ;; C-m C-a to attach the files (as attachments, not inline) to a
> | ;; message. If you would like to have an easier to get to binding I
> | ;; would suggest the following:
> |
> | (define-key dired-mode-map "a" 'gnus-dired-attach)
> `----
>

That's an excellent suggestion. It worked and raised two questions...
- How do you do that awesome left brace around the code?
- Which server do you use to read newsgroups inside gnus? I am in
google groups but I hate it, however don't know any free public nntp
server. Any tips?

--
PMatos

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

* Re: Attaching all files in dir
  2010-04-10 18:52   ` Paulo Matos
@ 2010-04-10 19:21     ` Glyn Millington
  2010-04-10 19:32     ` Paul Bibbings
  1 sibling, 0 replies; 6+ messages in thread
From: Glyn Millington @ 2010-04-10 19:21 UTC (permalink / raw)
  To: info-gnus-english

Paulo Matos <pocmatos@gmail.com> writes:

> On Apr 10, 7:13 pm, Glyn Millington <wistansw...@linuxmail.org> wrote:
>>
>> Not quite.  The snippet below will allow you to attach all the files you
>> mark in dired in one go
>>
>> ,----
>> | ;; If you would like to attach all marked files from dired to a new
>> | ;; Gnus message then put the following in your .emacs:
>> |
>> | (require 'gnus-dired)
>> | (add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)
>> |
>> | ;; Then, from dired, you can mark files as normal and then hit C-c
>> | ;; C-m C-a to attach the files (as attachments, not inline) to a
>> | ;; message. If you would like to have an easier to get to binding I
>> | ;; would suggest the following:
>> |
>> | (define-key dired-mode-map "a" 'gnus-dired-attach)
>> `----
>>
>
> That's an excellent suggestion. It worked and raised two questions...
> - How do you do that awesome left brace around the code?

http://www.davep.org/emacs/boxquote.el


> - Which server do you use to read newsgroups inside gnus? I am in
> google groups but I hate it, however don't know any free public nntp
> server.

Anything useful here?

http://freenews.maxbaud.net/

I have just got an account here
http://albasani.net/


atb





Glyn

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

* Re: Attaching all files in dir
  2010-04-10 18:52   ` Paulo Matos
  2010-04-10 19:21     ` Glyn Millington
@ 2010-04-10 19:32     ` Paul Bibbings
  2010-04-10 21:48       ` Joe Fineman
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Bibbings @ 2010-04-10 19:32 UTC (permalink / raw)
  To: info-gnus-english

Paulo Matos <p...@gmail.com> writes:
> - Which server do you use to read newsgroups inside gnus? I am in
> google groups but I hate it, however don't know any free public nntp
> server. Any tips?

To add one to the record, I use eternal-september as my nntp server to
read newsgroups in Gnus.  Take a look at
http://news.eternal-september.org. 

Regards

Paul Bibbings

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

* Re: Attaching all files in dir
  2010-04-10 19:32     ` Paul Bibbings
@ 2010-04-10 21:48       ` Joe Fineman
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Fineman @ 2010-04-10 21:48 UTC (permalink / raw)
  To: info-gnus-english

Paul Bibbings <paul.bibbings@gmail.com> writes:

> Paulo Matos <p...@gmail.com> writes:
>> - Which server do you use to read newsgroups inside gnus? I am in
>> google groups but I hate it, however don't know any free public
>> nntp server. Any tips?
>
> To add one to the record, I use eternal-september as my nntp server
> to read newsgroups in Gnus.  Take a look at
> http://news.eternal-september.org.

I second the suggestion.  I switched to it when Verizon withdrew its
support from most of my newsgroups, including this one.  It is free &
trouble-free.
-- 
---  Joe Fineman    joe_f@verizon.net

||:  The tragedy is not what we suffer, but what we miss.  :||

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

end of thread, other threads:[~2010-04-10 21:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-10 17:06 Attaching all files in dir Paulo Matos
2010-04-10 18:13 ` Glyn Millington
2010-04-10 18:52   ` Paulo Matos
2010-04-10 19:21     ` Glyn Millington
2010-04-10 19:32     ` Paul Bibbings
2010-04-10 21:48       ` Joe Fineman

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).