Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: [attachments] Circumventing the mime description and type query
Date: Thu, 04 Dec 2014 22:05:06 +0100	[thread overview]
Message-ID: <878uingm7x.fsf@debian.uxu> (raw)
In-Reply-To: <mailman.15274.1417725324.1147.info-gnus-english@gnu.org>

Leo Butler <leo.butler@member.fsf.org> writes:

>> I hardly ever need to specify the description and
>> type when attaching a file. Are there options for
>> circumventing these queries? I don't care about
>> the description and would like to specify the
>> type, mostly for images, as "inline" by default.
>
> Can't you record a keyboard macro to do this?

There are, I'm sure, configurations.

In general, keyboard macros aren't a good idea for
this.

Better to write Elisp functions that calls those
functions with their interfaces, or parts thereof,
spelled out. So instead of calling the function
interactively, you make your own function interactive,
and then have that call the original functions, but
now not interactively but from Elisp.

I think you know how to do that, but if you don't, I
can help you.

-- 
underground experts united

  parent reply	other threads:[~2014-12-04 21:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14730.1417041760.1147.info-gnus-english@gnu.org>
2014-11-27  6:38 ` Damien Wyart
2014-11-27  7:49   ` H. Dieter Wilhelm
2014-12-04 20:35     ` Leo Butler
     [not found]     ` <mailman.15274.1417725324.1147.info-gnus-english@gnu.org>
2014-12-04 21:05       ` Emanuel Berg [this message]
2014-12-04 21:36         ` H. Dieter Wilhelm
2014-11-26 19:19 H. Dieter Wilhelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878uingm7x.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).