From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17281 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.user Subject: Re: [attachments] Circumventing the mime description and type query Date: Thu, 04 Dec 2014 22:05:06 +0100 Organization: Aioe.org NNTP Server Message-ID: <878uingm7x.fsf@debian.uxu> References: <5476c6cf$0$2385$426a34cc@news.free.fr> <87r3wpaxs7.fsf@vsl28t2g.ww011> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1417727114 20092 80.91.229.3 (4 Dec 2014 21:05:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 21:05:14 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Dec 04 22:05:07 2014 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XwdaE-00046Z-UO for gegu-info-gnus-english@m.gmane.org; Thu, 04 Dec 2014 22:05:07 +0100 Original-Received: from localhost ([::1]:47704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwdaE-0006gg-3c for gegu-info-gnus-english@m.gmane.org; Thu, 04 Dec 2014 16:05:06 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news.etla.org!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 27 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:3M+aswZncAFSlgCX/eTWX83c5y4= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.gnus:88410 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17281 Archived-At: Leo Butler 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