Gnus development mailing list
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: Re: my attach this buffer
Date: Mon, 24 May 2021 21:53:55 +0200	[thread overview]
Message-ID: <877djnlxgs.fsf@mat.ucm.es> (raw)
In-Reply-To: <875yz8ouiw.fsf@ericabrahamsen.net>


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

>>> "EA" == Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>>> Uwe Brauer wrote:
>> 
>>> It works here what I can see, e.g. in/from mail.el you get
>> 
>>> < #part type="application/emacs-lisp"
>>> buffer="/home/incal/.emacs.d/emacs-init/gnus/mail.el">
>> 
>> 
>> This works, what I am saying is: you take a matlab file, extension.m 
>> and apply the function mail-attach-buffer
>> 
>> This particular type is not recognised for me (using emacs28 master)

> The heuristics are stored in `mailcap-mime-extensions', which currently
> doesn't have anything for matlab (and thinks "*.m" is
> "application/vnd.wolfram.mathematica.package". You can manipulate that
> variable as needed.


Hm 

    1. I use gnus-summary-post-news

    2. I call mml-attach-file

    3. I select a matlab file and then I am asked for the file type

    4. And I can select text/x-matlab

Like this 


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: test.m --]
[-- Type: text/x-matlab, Size: 66 bytes --]

syms x(t)
Dx = diff(x);
dsolve(diff(Dx) == exp(-x^2), Dx(0) == 1)

[-- Attachment #1.3: Type: text/plain, Size: 84 bytes --]



That is however not done automatically and I presume that is what you
mean.







[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2021-05-24 19:54 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-22 17:22 Uwe Brauer
2021-05-22 17:51 ` dick.r.chiang
2021-05-22 18:01   ` Uwe Brauer
2021-05-22 19:39     ` Eric Abrahamsen
2021-05-23 21:08       ` Uwe Brauer
2021-05-23 21:24         ` Emanuel Berg
2021-05-23 22:13           ` Emanuel Berg
2021-05-24  6:29           ` Uwe Brauer
2021-05-24  7:03             ` Emanuel Berg
2021-05-24 10:47               ` Uwe Brauer
2021-05-24 18:29                 ` Eric Abrahamsen
2021-05-24 19:53                   ` Uwe Brauer [this message]
2021-05-24 20:01                     ` Eric Abrahamsen
2021-05-25  8:09                       ` Uwe Brauer
2021-05-25 16:37                         ` Eric Abrahamsen
2021-05-26  6:40                           ` Uwe Brauer
2021-05-26 15:57                             ` Eric Abrahamsen
2021-05-23 22:07         ` Adam Sjøgren
2021-08-23 12:06     ` Wayne Harris
2021-08-23 18:23       ` Emanuel Berg

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=877djnlxgs.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=ding@gnus.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).