emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: text-mode-abbrev-table default?
Date: Wed, 28 Oct 2009 17:11:37 +0100	[thread overview]
Message-ID: <4AE86D39.6040603@easy-emacs.de> (raw)
In-Reply-To: <842ECF42-DA84-4EDA-801C-71F1F80B1695@gmail.com>

Carsten Dominik wrote:
> 
> On Oct 27, 2009, at 10:45 PM, Andreas Roehler wrote:
> 
>>
>> Hi,
>>
>> with abbrev-mode, org-mode made his own
>> (org-mode-abbrev-table) - empty, which was
>> unconvenient, as I declared a lot of abbrevs in
>> text-mode already.
>>
>> Solved it by
>>
>> (add-hook 'org-mode-hook '(lambda () (setq local-abbrev-table
>> text-mode-abbrev-table)))
>>
>> However, as org-mode is a text-mode, why not use
>> `text-mode-abbrev-table' by default?
> 
> Because if I do tis by default, someone if going to want
> to have a separate table.... :-)
> 
> You solution is good - a nice snippet for a FAQ, maybe?
> 
> - Carsten
> 
> 
> 

Don't know. Just one remark still in this matter:

Some modes as text-mode, org-mode are useful for non-programmers too.
However, emacs' didactic already is somehow backward bothering people with keys
instead mentioning mnemonic function-names.

It's important to reflect how much a newbie/non-programmer may learn.
IMHO the use of `customize' with its different types - string, regexp, boolean - its enough already.

Requiring knowledge and use of things like `add-hook' is simply too much - emacs will lose this people.

So what about introducing a customizable var saying `use-text-mode-abbrev-table'?

If set to `t', use it. As said - suggest it as default.

Cheers

Andreas

      parent reply	other threads:[~2009-10-28 15:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27 21:45 text-mode-abbrev-table default? Andreas Roehler
2009-10-28  9:19 ` Carsten Dominik
2009-10-28 10:32   ` Leo
2009-10-28 10:37     ` Carsten Dominik
2009-10-28 14:48       ` Leo
2009-10-28 15:30     ` Carsten Dominik
2009-10-28 17:10       ` Andreas Röhler
2009-10-29  8:24       ` Leo
2009-10-29 11:48         ` Carsten Dominik
2009-10-29 17:04           ` Leo
2009-10-29 17:19             ` Carsten Dominik
2009-10-28 16:11   ` Andreas Röhler [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE86D39.6040603@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).