* Convert list for use by abbrev-mode @ 2022-07-30 15:26 carlmarcos--- via Users list for the GNU Emacs text editor 2022-08-01 3:28 ` Emanuel Berg 2022-08-01 6:32 ` Jean Louis 0 siblings, 2 replies; 3+ messages in thread From: carlmarcos--- via Users list for the GNU Emacs text editor @ 2022-07-30 15:26 UTC (permalink / raw) To: Help Gnu Emacs How can I convert a list to an appropriate table for abbrev-mode? For instance, I would start from (setq prototablet-word-list-2 '( ("some" . "so") ("than" . "n") ("that" . "ta") ("there" . "tr") ("this" . "th") ("time" . "ti") )) ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Convert list for use by abbrev-mode 2022-07-30 15:26 Convert list for use by abbrev-mode carlmarcos--- via Users list for the GNU Emacs text editor @ 2022-08-01 3:28 ` Emanuel Berg 2022-08-01 6:32 ` Jean Louis 1 sibling, 0 replies; 3+ messages in thread From: Emanuel Berg @ 2022-08-01 3:28 UTC (permalink / raw) To: help-gnu-emacs carlmarcos--- via Users list for the GNU Emacs text editor wrote: > For instance, I would start from > > (setq prototablet-word-list-2 > '( ("some" . "so") ("than" . "n") ("that" . "ta") > ("there" . "tr") ("this" . "th") ("time" . "ti") )) You don't need to since if you do it that way might as well do it first-hand to begin with. ;; (kill-all-abbrevs) (let ((write '( ("lenght" "lenght") ("lex" ";;; -*- lexical-binding: t -*-") ("sld" "sdl") ("wierd" "weird") ))) (define-abbrev-table 'global-abbrev-table write) ) -- underground experts united https://dataswamp.org/~incal ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Convert list for use by abbrev-mode 2022-07-30 15:26 Convert list for use by abbrev-mode carlmarcos--- via Users list for the GNU Emacs text editor 2022-08-01 3:28 ` Emanuel Berg @ 2022-08-01 6:32 ` Jean Louis 1 sibling, 0 replies; 3+ messages in thread From: Jean Louis @ 2022-08-01 6:32 UTC (permalink / raw) To: carlmarcos; +Cc: Help Gnu Emacs * carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2022-07-30 18:27]: > How can I convert a list to an appropriate table for abbrev-mode? > > For instance, I would start from > > (setq prototablet-word-list-2 > '( ("some" . "so") ("than" . "n") ("that" . "ta") > ("there" . "tr") ("this" . "th") ("time" . "ti") )) Just do {M-x edit-abbrevs RET} -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-01 6:32 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-07-30 15:26 Convert list for use by abbrev-mode carlmarcos--- via Users list for the GNU Emacs text editor 2022-08-01 3:28 ` Emanuel Berg 2022-08-01 6:32 ` Jean Louis
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).