2012年3月31日

Re: Attachments not attaching

Thank you Kazuhiro,
I added the (defadvice mime-insert...) to my .wl file and everything
works as expected.
And, you were right, I use openwith.el.

Thank you all for your support.
Regards,
Marc

> Hi,
>> When I issue a find-file, I get a prompt "Find file: ~/"
>> I then enter enough of the name of the file to issue a "TAB" to
>> autocomplete.
>> I then hit RET and, in the case of a jpg file, Imagemagick opens the
>> file (external to emacs). The same is true for a pdf file. An
>> external program opens.
>> And I see a message: "Opened xxxxxx in external progam"

> I expect you use openwith.el. You whould have to disable
> openwith-mode by M-x openwith-mode before attaching something, or try
> below code that disables openwith-mode automatically.

> (defadvice mime-insert-encoded-file (around disable-openwith activate)
> (let ((enabled (and (boundp 'openwith-mode)
> openwith-mode)))
> (when enabled (openwith-mode -1))
> ad-do-it
> (when enabled (openwith-mode t))))

> --
> Kazuhiro Ito


投稿者 xml-rpc : 2012年3月31日 03:20
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/109261
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。