Coder Social home page Coder Social logo

emacsmirror / gmail-message-mode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from malabarba/gmail-mode

0.0 4.0 0.0 25 KB

A major-mode for editing gmail messages using markdown syntax

Home Page: http://github.com/Bruce-Connor/gmail-message-mode

Emacs Lisp 100.00%

gmail-message-mode's Introduction

gmail-message-mode

gmail-message-mode is an emacs major-mode for editing Gmail messages using markdown syntax, it is meant for use with browser plugins which allow you to edit text fields with external applications (in this case, emacs). See Plugins below for a list for each browser.

The problem: Lately, Gmail messages have been demanding html. That made it very hard to edit them outside your browser, because you had to edit html source code (for instance, linebreaks were ignored and you had to type <br> instead).

gmail-message-mode to the rescue: Simply activate this mode in Gmail messages (See Activation); the buffer is converted to markdown and you may edit at will, but the file is still saved as html behind the scenes so Gmail won't know a thing! See ham-mode to understand how this works.

The point is that you can write Gmail messages as plain text, and they will show up fine when you go back to Gmail. And if you want more than plain text, you can write in Markdown syntax, which provides you with an easy way to add bullet-points, lists, bold, italics, etc, (which is, in fact, faster than mousing through Gmail's web interface).

How does this compare to Gnus (or other emacs mail clients)?

gmail-message-mode is not a mail client, it's actually a very different approach. This package:

  1. Allows you to use Emacs' full editing prowess, without having to give up Gmail's web interface. So it's a nicer option if you like Gmail as a whole, but wish you could use Emacs for writing the messages;
  2. It's almost trivial to setup;
  3. It allows you to generate complex html structures using simple Markdown syntax.

Activation

Make sure you install it:

M-x package-install RET gmail-message-mode

And that's it!
(if you install manually, note that it depends on ham-mode)

This package will (using auto-mode-alist) configure emacs to activate gmail-message-mode whenever you're editing a file that seems to be a Gmail message (if you don't want this, see Disabling below). However, given the wide range of possible plugins, it's hard to catch them all. You may have to add entries manually to auto-mode-alist, to make sure gmail-message-mode is activated.

Plugins

  1. Google-Chrome or Chromium - Edit with emacs
  2. Conkeror - Spawn Helper (built-in)
  3. Firefox - Used to work with It's all text. See this thread for a hacky workaround.
  4. Others - Tried it in another browser? let me know!

Disabling

To keep gmail-message-mode from automatically adding itself to your auto-mode-alist, just add the following snippet before the package is loaded:

(setq gmm/auto-mode-list nil)

gmail-message-mode's People

Contributors

malabarba avatar yasuyk avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.