From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33572 Path: main.gmane.org!not-for-mail From: Raja R Harinath Newsgroups: gmane.emacs.gnus.general Subject: Prefer text/x-emacs-lisp to application/x-emacs-lisp? Date: 04 Dec 2000 13:16:25 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87puj895pq.fsf@HSE-MTL-ppp64270.qc.sympatico.ca> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169654 25844 80.91.224.250 (21 Oct 2002 03:07:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:07:34 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 1D1CED049A for ; Mon, 4 Dec 2000 14:21:16 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB22422; Mon, 4 Dec 2000 13:17:07 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 04 Dec 2000 13:16:22 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA29300 for ; Mon, 4 Dec 2000 13:16:12 -0600 (CST) Original-Received: from mail.cs.umn.edu (mail.cs.umn.edu [128.101.35.200]) by mailhost.sclp.com (Postfix) with ESMTP id 81E73D049A for ; Mon, 4 Dec 2000 14:16:27 -0500 (EST) Original-Received: from han.cs.umn.edu (IDENT:root@han.cs.umn.edu [128.101.35.134]) by mail.cs.umn.edu (8.9.3/8.9.3) with ESMTP id NAA13288 for ; Mon, 4 Dec 2000 13:16:26 -0600 (CST) Original-Received: (from harinath@localhost) by han.cs.umn.edu (8.9.3/8.9.0) id NAA03963; Mon, 4 Dec 2000 13:16:26 -0600 X-Authentication-Warning: han.cs.umn.edu: harinath set sender to harinath@cs.umn.edu using -f Original-To: ding@gnus.org In-Reply-To: <87puj895pq.fsf@HSE-MTL-ppp64270.qc.sympatico.ca> Original-Lines: 36 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.92 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33572 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33572 Hi, Why doesn't Gnus use "text/x-emacs-lisp" by default when attaching .el files. I'm unclear about the distinction between application/foo and text/foo. But, to me, code that is meant to be read (e.g., postings on gnu.emacs.source, or the automatic attachment of user settings by reportbug) should be "text/x-emacs-lisp". This way, the annoying behaviour of Gnus while showing .el files will be avoided. The current behaviour of Gnus is painful since it assumes any attached emacs lisp code is executable, and it presents the file inconveniently -- in a different buffer that hides the *Article* buffer, rather than inline. In other words, is it an useful distinction to have two attachment types for Emacs Lisp: text/x-emacs-lisp Emacs Lisp code meant to be read, not immediately executed. Default behaviour is to show inline, preferably using emacs-lisp-mode. This type is used by 'gnus-bug', and as the default type for .el files. application/x-emacs-lisp Code intended to be executed. Default behaviour is the show "Worm" warning, show code in a different buffer, and if necessary, use a sandbox to execute code. - Hari -- Raja R Harinath ------------------------------ harinath@cs.umn.edu "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash