Don
Faire un don pour aider au developpement de WiPhA

Recherche




Préférences

Se reconnecter
---

Votre nom (ou pseudo) :

Votre code secret


 Nombre de membres 123 membres


Connectés :

( personne )
Visites

 2169333 visiteurs

 21 visiteurs en ligne

External Editor - Utilisation

But

Donne la possibilité d'ouvrir et d'éditer vos messages dans un éditeur de texte externe comme NEdit, emacs, etc...

Installation

Le bouton d'External Editor n'est pas visible par défaut; vous devez personnaliser la toolbar de la fenêtre de composition:
  • Ouvrez la fenêtre de composition
  • Selectionnez le menu View/Toolbars/Customize..., ou cliquez avec le bouton droit sur la toolbar et selectionnez Customize...
  • Glissez/déposez le nouvel icon External Editor sur la toolbar
  • Cliquer OK
Puis, ouvrez la fenêtre d'option de l'extension et choisissez votre éditeur (sans chemin d'accès, ou avec un chemin absolu)

Utilisation

Cliquez simplement sur le bouton d'External Editor, ou utilisez le raccourci clavier(Ctrl-E); éditez votre messge dans votre éditeur (pendant l'édition,la fenêtre de composition de Thunderbird est désactivée), sauvez, fermez, et le message sera mis à jour dans Thunderbird.
Les utilisateurs d'emacs peuvent installer ce module de coloration syntaxique adapté au format EE (détails ici).

Edition HTML

Lorsque vous éditez un message HTML, le bouton d'External Editor button propose un menu déroulant pour éditer le code HTML (permettant ainsi de conserver la mise en forme), ou le texte uniquement.

Support de l'Unicode

L'Unicode est supporté à partir de la version 0.6. Vous devez sélectionner l'encodage Unicode dans la fenêtre de composition avant de lancer External Editor: Menu Options/Codage de caractères: Unicode (UTF-8).

Edition des entêtes

Les entêtes peuvent être modifiés dans l'éditeur exterme, en tant que liste d'éléments séparés par des virgules, dans un paragraphe précédant le contenu du message.

Les entêtes supportés sont: Subject, To,Cc, Bcc, Reply-To, Newsgroup.

Subject:  Voilà le sujet
To: adressTo1, adressTo2
Cc: adressCc1
Bcc:
Reply-To:
-=-=-=-=-=-=-=-=-=# Don't remove this line #=-=-=-=-=-=-=-=-=-
... the mail content begins here ...

Mais ce bloc initial peut ensuite être modifié, avec des retours à la ligne et en ajoutant autant de types d'entête que vous le souhaitez. Exemple:

To: adresseTo1, adresseTo2
adresseTo3
adresseTo4, adresseTo5
Cc: adresseCc1
adresseCc2, adresseCc3
To:adresseTo6
To:adresseTo7
...
-=-=-=-=-=-=-=-=-=# Don't remove this line #=-=-=-=-=-=-=-=-=-

Avertissements

  • Votre éditeur externe doit être bloquant, c'est à dire qu'il ne doit pas rendre la main avant que vous l'ayiez fermé.
    • NEdit: utiliser "nedit" ou "nc -wait"
    • gvim: utiliser "gvim --nofork"
    • vim: utiliser "xterm -e vim"
  • External Editor a été testé sur Windows (XP) et Linux. Il fonctionne également sur Mac OSX, à partir de Thunderbird 1.1, qui a corrigé le bug Mozilla 267269.

Date de création : 20/08/2005 @ 22:47
Dernière modification : 14/04/2008 @ 21:15
Catégorie : External Editor
Page lue 147970 fois


Imprimer l'article Imprimer l'article

react.gifRéactions à cet article (Pas de question ici SVP. Utilisez le forum)


Réaction n°16 

par Daniel le 10/07/2008 @ 09:40

*bug* ok editing the header tag in html doesn't work, it moves all the code to the body tag, kinda annoying

Réaction n°15 

par garyo le 21/12/2007 @ 18:01

If you use recent (2007) emacs-w32 on Windows, then just use c:/<emacsdir>/bin/emacsclient as the editor.  This will wait for the currently running emacs (finish editing with Ctrl-x #), and it'll start one if none is running.  emacs-w32 already has (server-start) built in.  It's dead simple.

Réaction n°14 

par foozle le 22/08/2007 @ 21:11

For emacs on windows XP:  (if using the standard NTEmacs distrib),
you must set your path to the "emacs.exe" executable, not the "runemacs.exe"
as the "runemacs.exe" will fork another window.

I think a helpful debugging comment is:

If you invoke External Editor on a message and you can STILL edit in
Thunderbird's compose window (while your external editor is running),
then your editor is NOT running in the foreground and External Editor will not work
correctly.

Hope this helps others.

Réaction n°13 

par LT le 16/05/2007 @ 04:42

Thanks for this great extension! I tried it and it works well with xterm and vim; unfortunately though it does not work with Terminal, which is the lightweight terminal program that comes with Xfce.

http://www.xfce.org/projects/terminal/

I tried configuring External Editor with this command:

/usr/bin/Terminal --geometry=80x40 --hide-menubar --execute /usr/bin/vim

Terminal launches with vim and the message contents; however, after I make changes and save and exit, the changes are lost and the original message re-appears in the Thunderbird compose window.

Réaction n°12 

par mtk le 21/03/2007 @ 15:47

thank you from freeing me from the tyranny of the thunderbird text editor!

Réaction n°11 

par Keso le 22/11/2006 @ 16:57

Hi,

what about do binding for ctrl-r on message and call external editor directly, without need open thunderbird default editor first?

Réaction n°10 

par L_V le 27/09/2006 @ 11:14

Unfortunately, does not seem to be compatible with PsPad www.pspad.com.
You can edit but not save the modified mail.......

Réaction n°9 

par mhooreman le 29/08/2006 @ 08:17

My friends hate my ':wq' in my emails...

Very good job, thank you!

Réaction n°8 

par n8gray le 23/08/2006 @ 23:19

Here's a tip for OS X users. If you want to use an X11 editor you can use the "env" command to set up the display properly. For example, I use this line to use NEdit as my editor:

env DISPLAY=:0 /usr/local/bin/nedit


:)

Réaction n°7 

par dvdplm le 23/08/2006 @ 11:42

For MacOSX users using TextMate: as the external editor executable, you need to use the "mate" script provided with your TextMate installation. I've put it in ~/bin , but you can put it wherever you like , preferebly in your path.

It does not work though! I save and nothing happens. I save and close the file in TextMate and still no reaction from Thunderbird. confused
Début Précédent [ 1 2 3 4 ] Suivant Fin
^ Haut ^