[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up abbrev

From: Emanuel Berg
Subject: Re: Setting up abbrev
Date: Mon, 01 Aug 2022 13:42:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

carlmarcos--- via Users list for the GNU Emacs text editor wrote:

>>> Have seen discussions about abbrev. How does it work
>>> exactly, and how could I set it up to test it?
>> Try for example:
>> ;;; -*- lexical-binding: t -*-
>> ;; (kill-all-abbrevs)
>> (let ((write '(
>>  ("lex"    ";;; -*- lexical-binding: t -*-")
>>  ("sld"    "sdl")
>>  ("wierd"  "weird")
>>  )))
>>  (define-abbrev-table 'global-abbrev-table write) )
> Suppose I have a number of tables and want to introduce them
> to `global-abbrev-table', how could I do it?

The way it's done above ...

> (setq tb1 '(("bf" "before") ("ll" "little"))
> (setq tb2 '(("fm" "from") ("sc" "such"))

Very bad examples what to do with abbrev. Disencouraged!

underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]