LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2014, 12:46 PM   #1
stateless
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 166
Blog Entries: 1

Rep: Reputation: 4
portability of emacs lisp code


Hi. A while back (a few months ago) I wrote some interactive emacs lisp functions for personal use. At the time - a few months ago - I was using some version of emacs 24. Recently, I switched to a more stable system running emacs 23. I was surprised to discover that they were a bunch of rather basic built-ins that were undefined (like setf and incf) and some of the built-ins had a different api (like insert-char).

This is not intended as a rant. But I was wondering if anyone knew any of the philosophy and history of emacs relating to backwards and forwards compatibility. Also, where do I go to find out what specifically has been changed in Emacs Lisp with the various versions? I didn't notice a section about this in the Emacs Lisp Reference Manual (23 or 24).
 
Old 02-20-2014, 04:31 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Check out the NEWS file (<f1> C-n).

Quote:
** `C-x 8 RET' is now bound to `insert-char', which is now a command.
`ucs-insert' is now an obsolete alias for `insert-char'.

...

** Common Lisp emulation (CL)
...
*** The following methods of extending `setf' are obsolete
(use features from gv.el instead)
setf and incf used be part of CL emulation (accessible with (require 'cl)), now they are available separately (and autoloaded).
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs lisp: define function to be used inside emacs stateless Programming 1 03-01-2013 05:04 PM
Problem trying to test some LISP code in an Emacs buffer... bzimmerly Linux - Newbie 4 12-18-2010 04:38 AM
emacs and lisp jonathanz1980 Linux - Software 4 09-24-2004 10:00 AM
emacs and lisp jonathanz1980 Programming 4 09-24-2004 09:30 AM
Lisp, emacs-lisp aizkorri Programming 1 09-04-2002 06:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration