summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* gnus-sync.el: Simply require jsonKatsumi Yamaoka2012-07-023-26/+9
| | | | registry.el: Simply require eieio and eieio-base
* * xml.el (xml-parse-dtd): Use proper regexps for ELEMENT declarations.Chong Yidong2012-07-012-6/+10
| | | | | | * test/automated/xml-parse-tests.el: Update testcase. Fixes: debbugs:7172
* Auto-commit of loaddefs files.Glenn Morris2012-07-011-800/+933
|
* Improve xml parameter entity parsing, and add a new ERT test.Chong Yidong2012-07-012-73/+117
| | | | | | | | | | | | * test/automated/xml-parse-tests.el: New file. * lisp/xml.el (xml--parse-buffer): New function. Move most of xml-parse-region here. (xml-parse-region): Copy region into a temporary buffer, since parameter entity substitution requires changing buffer contents. Use xml--parse-buffer. (xml-parse-file): Use xml--parse-buffer. (xml-parse-dtd): Make parameter entity substitution work right.
* * lisp/comint.el (follow-comint-scroll-to-bottom): Fix declaration.Glenn Morris2012-06-302-1/+3
|
* Remove outdated and unnecessary dbus- declarations.Glenn Morris2012-06-305-13/+5
| | | | | | * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el: Remove outdated and unnecessary dbus- declarations. (They are in defined dbus.el now.)
* * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p): Declare.Glenn Morris2012-06-302-0/+8
|
* Make --no-site-lisp work for --enable-locallisppath elementsGlenn Morris2012-06-301-0/+4
| | | | | | | | | | | | | | | | | without "site-lisp" in the name. Ref http://debbugs.gnu.org/10208#25, point iii). * configure.in (standardlisppath): New output variable. (lisppath): Use standardlisppath. * Makefile.in (standardlisppath): New, set by configure. (epaths-force): Use standardlisppath and locallisppath rather than lisppath. * src/epaths.in (PATH_SITELOADSEARCH): New. * src/lread.c (init_lread): Use PATH_SITELOADSEARCH. * nt/paths.h (PATH_SITELOADSEARCH): New. Fixes: debbugs:11658
* Adapt the MS-DOS build to the latest changes.Eli Zaretskii2012-06-302-1/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msdos/mainmake.v2 (bootstrap-clean): Do a maintainer-clean in lib, not bootstrap-clean (which doesn't exist). msdos/inttypes.h (PRIuMAX) [__DJGPP__ < 2.04]: Define to "llu". msdos/sedleim.inp (MKDIR_P): Edit to DOS "md" command. msdos/sed1v2.inp: (LIB_CLOCK_GETTIME): Edit to empty. Remove lines that invoke PAXCTL. (clean): Fix recipe not to run Unixy shell commands. msdos/sed2v2.inp (GETTIMEOFDAY_TIMEZONE): Edit to 'struct timezone'. (HAVE_STRNCASECMP): Edit to 1. msdos/sed3v2.inp (LIB_CLOCK_GETTIME): Edit to empty. (C_SWITCH_SYSTEM): Add "-I../msdos". msdos/sedlibmk.inp (GNULIB_GETTIMEOFDAY, GNULIB_PSELECT) (GNULIB_SELECT, HAVE_STRUCT_TIMEVAL, HAVE_SYS_SELECT_H) (HAVE_SYS_TIME_H, NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H) (NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H, NEXT_SYS_SELECT_H) (NEXT_SYS_TIME_H, REPLACE_GETTIMEOFDAY, REPLACE_PSELECT) (REPLACE_STRUCT_TIMEVAL): Edit to appropriate values. (BUILT_SOURCES): Edit out sys/select.h and sys/time.h. (mostlyclean-local, distclean-generic): Fix recipe not to run Unixy shell commands. src/sysselect.h [DOS_NT]: Don't include sys/select.h. src/sysselect.h (pselect) [!HAVE_PSELECT]: Redirect to sys_select. src/sysdep.c: Don't include dos.h and dosfns.h. src/process.c (sys_select): src/msdos.c (sys_select): Accept one more argument and ignore it. src/msdos.c (event_timestamp, sys_select): Use gnulib's gettime; adapt data types and code to that. src/dosfns.c: src/msdos.c (gettime, settime): Define away the prototypes in dos.h, which clashes with the gnulib function of the same name. src/ w32proc.c (sys_select): Accept and ignore one more argument. src/w32.c (emacs_gnutls_pull): Call select with one more argument. lisp/emacs-lisp/timer.el (timer-until): Subtract results of float-time, instead of taking float-time of the result of time-subtract, since float-time signals an error for negative time arguments.
| * Adapt the MS-DOS build to the latest changes.Eli Zaretskii2012-06-302-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msdos/mainmake.v2 (bootstrap-clean): Do a maintainer-clean in lib, not bootstrap-clean (which doesn't exist). msdos/inttypes.h (PRIuMAX) [__DJGPP__ < 2.04]: Define to "llu". msdos/sedleim.inp (MKDIR_P): Edit to DOS "md" command. msdos/sed1v2.inp: (LIB_CLOCK_GETTIME): Edit to empty. Remove lines that invoke PAXCTL. (clean): Fix recipe not to run Unixy shell commands. msdos/sed2v2.inp (GETTIMEOFDAY_TIMEZONE): Edit to 'struct timezone'. (HAVE_STRNCASECMP): Edit to 1. msdos/sed3v2.inp (LIB_CLOCK_GETTIME): Edit to empty. (C_SWITCH_SYSTEM): Add "-I../msdos". msdos/sedlibmk.inp (GNULIB_GETTIMEOFDAY, GNULIB_PSELECT) (GNULIB_SELECT, HAVE_STRUCT_TIMEVAL, HAVE_SYS_SELECT_H) (HAVE_SYS_TIME_H, NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H) (NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H, NEXT_SYS_SELECT_H) (NEXT_SYS_TIME_H, REPLACE_GETTIMEOFDAY, REPLACE_PSELECT) (REPLACE_STRUCT_TIMEVAL): Edit to appropriate values. (BUILT_SOURCES): Edit out sys/select.h and sys/time.h. (mostlyclean-local, distclean-generic): Fix recipe not to run Unixy shell commands. src/sysselect.h [DOS_NT]: Don't include sys/select.h. src/s/ms-w32.h (select, pselect): Don't define here, they are defined in sysselect.h src/sysselect.h (pselect) [!HAVE_PSELECT]: Redirect to sys_select. src/sysdep.c: Don't include dos.h and dosfns.h. src/process.c (sys_select): src/msdos.c (sys_select): Accept one more argument and ignore it. src/msdos.c (event_timestamp, sys_select): Use gnulib's gettime; adapt data types and code to that. src/dosfns.c: src/msdos.c (gettime, settime): Define away the prototypes in dos.h, which clashes with the gnulib function of the same name. lisp/emacs-lisp/timer.el (timer-until): Subtract results of float-time, instead of taking float-time of the result of time-subtract, since float-time signals an error for negative time arguments.
* | Fix use of eval-and-compile in regexps in xml.el.Chong Yidong2012-06-302-71/+89
| | | | | | | | | | | | * xml.el (xml-*-re): Convert defvars into defconsts, and eval-and-compile them so eval-and-compile works on derivatives. (xml--entity-replacement-text): Use eval-and-comple.
* | xml.el: Fix last change.Chong Yidong2012-06-301-3/+2
| |
* | * vc/vc-git.el (vc-git-registered): Use cache propertyMichael Albinus2012-06-302-24/+36
| | | | | | | | | | | | | | `git-registered'. (vc-git-mode-line-string): Call `vc-working-revision' instead of `vc-git-working-revision' in order to benefit from the cache. (vc-git-root): Use cache property `git-root'.
* | * vc/vc-hooks.el (vc-before-save): Clear cache if file has beenDmitry Gutov2012-06-302-0/+7
| | | | | | | | removed (likely outside Emacs).
* | * lisp/emacs-lisp/cl-lib.el: Require macroexp.Stefan Monnier2012-06-301-1/+1
| |
* | * lisp/emacs-lisp/cl-lib.el: Require macroexp for its macros.Stefan Monnier2012-06-302-0/+6
| |
* | * xml.el: Implement XML parameter entities.Chong Yidong2012-06-302-108/+145
|/ | | | | | | | | | | | (xml-parameter-entity-alist): New variable. (xml-parse-region, xml-parse-fragment): Preserve previous values of xml-entity-alist and xml-parameter-entity-alist, so that repeated calls on different documents do not change them. (xml-parse-tag): Fix doctype regexp. (xml--entity-replacement-text): New function. (xml-parse-dtd): Use it. Don't handle system entities; doing that properly requires url retrieval which is unimplemented. (xml-escape-string): Doc fix.
* * lisp/emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.Stefan Monnier2012-06-292-10/+13
|
* * lisp/fringe.el (fringe-mode): Doc fix.Dmitry Antipov2012-06-292-2/+6
| | | | | | | | | * src/window.h (struct window): Change type of 'fringes_outside_margins' to bitfield. Fix comment. Adjust users accordingly. (struct window): Change type of 'window_end_bytepos' to ptrdiff_t. Adjust comment. * src/xdisp.c (try_window_id): Change type of 'first_vpos' and 'vpos' to ptrdiff_t.
* * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'Michael Albinus2012-06-292-1/+18
| | | | | | is non-nil. (ange-ftp-ignore-errors-if-non-essential): New defmacro. (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
* Merge from emacs-24; up to 2012-04-30T11:57:47Z!sdl.web@gmail.comGlenn Morris2012-06-287-14/+54
|\
| * * calendar/cal-dst.el (calendar-current-time-zone): ReturnAndreas Schwab2012-06-282-2/+7
| | | | | | | | calendar-current-time-zone-cache if non-nil.
| * * lisp/progmodes/which-func.el (which-func-format): Bump :version.Glenn Morris2012-06-251-0/+1
| |
| * * lisp/progmodes/which-func.el (which-func-format): Add mouse-face.Masatake YAMATO2012-06-252-1/+6
| | | | | | | | Fixes: debbugs:11698
| * Auto-commit of loaddefs files.Glenn Morris2012-06-241-1/+1
| |
| * Backport: Avoid buffer read-only error in ibuffer-diff-buffer-with-file-1Leo Liu2012-06-242-2/+5
| |
| * Backport: Avoid error when process-contact returns t in rcircLeo Liu2012-06-242-5/+9
| |
| * Backport: * Fix typo in diff-file-prev/nextLeo Liu2012-06-242-1/+5
| |
| * Backport: Fix mal-formed defconst in url-http-codesLeo Liu2012-06-232-2/+6
| |
| * * textmodes/enriched.el (enriched-next-annotation):Leo Liu2012-06-232-1/+6
| | | | | | | | | | | | Use eq. Fixes: debbugs:11528
| * * minibuffer.el (minibuffer-confirm-exit-commands): Add completion-at-point.Stefan Monnier2012-06-232-3/+9
| | | | | | | | Fixes: debbugs:11725
| * Add some f90 preprocessor font-lock (bug#10499)Glenn Morris2012-06-212-1/+14
| | | | | | | | | | * lisp/progmodes/f90.el (f90-font-lock-keywords-2): Add some preprocessor elements.
| * * lisp/progmodes/cperl-mode.el (cperl-update-syntaxification):Stefan Monnier2012-06-212-14/+20
| | | | | | | | | | | | Use syntax-propertize. Fixes: debbugs:11739
* | lisp/gnus/tests/: RemoveKatsumi Yamaoka2012-06-293-320/+4
| |
* | lisp/emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).Juanma Barranquero2012-06-292-9/+14
| |
* | term: rework color cutomizingJulien Danjou2012-06-282-57/+100
| | | | | | | | | | | | | | | | | | | | | | * term.el (term-handle-colors-array): Use a set of new faces to color the terminal. Also uses :inverse-video property. (term-default-fg-color): Set to nil by default, deprecate in favor of `term-face'. (term-default-bg-color): Set to nil by default, deprecate in favor of `term-face'. (term-current-face): Use `term-face' by default. (term-bold-attribute): Variable deleted.
* | * simple.el (completion-list-mode-finish): Don't use toggle-read-only.Glenn Morris2012-06-282-1/+7
| | | | | | | | | | Since completion-list-mode has a special mode-class, it wasn't doing anything extra anyway.
* | Make inlining of other-mode interpreted functions work.Stefan Monnier2012-06-273-39/+60
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun. (byte-compile): Use it to fix compilation of lexical-binding closures. * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the function, if needed. Fixes: debbugs:11799
* | * lisp/help-mode.el (help-make-xrefs): Don't just withstandStefan Monnier2012-06-273-7/+10
| | | | | | | | cyclic-variable-indirection but any error in documentation-property.
* | Get rid of all the manual purecopy calls in menu-bar definitions.Stefan Monnier2012-06-2710-1191/+1211
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/loadup.el (purify-flag): Pre-grow the hash-table to reduce the memory use. * lisp/bindings.el (bindings--define-key): New function. * lisp/vc/vc-hooks.el, lisp/replace.el, lisp/menu-bar.el: * lisp/international/mule-cmds.el, lisp/emacs-lisp/lisp-mode.el: * lisp/buff-menu.el, lisp/bookmark.el: * bindings.el: Use it to purecopy define-key bindings. * src/fns.c (maybe_resize_hash_table): Output message when growing the purify-hashtable.
* | * lisp/textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.Stefan Monnier2012-06-272-2/+5
| |
* | * lisp/emacs-lisp/cl.el (flet): Mark obsolete.Stefan Monnier2012-06-279-113/+148
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-flet*): New macro. * lisp/vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse): * lisp/progmodes/js.el (js-c-fill-paragraph): * lisp/progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class) (ebrowse-switch-member-buffer-to-derived-class): * test/automated/ert-x-tests.el (ert-test-run-tests-interactively-2): * lisp/play/5x5.el (5x5-solver): Use cl-flet. Fixes: debbugs:11780
* | * lisp/gnus/shr.el (shr-render-buffer): New command.Stefan Monnier2012-06-272-5/+16
| | | | | | | | (shr-visit-file): Use it.
* | * lisp/emacs-lisp/cl.el: Use lexical-binding. Fix flet.Stefan Monnier2012-06-272-4/+21
| | | | | | | | | | | | | | (cl--symbol-function): New macro. (cl--letf, cl--letf*): Use it. Fixes: debbugs:11780
* | * lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):Stefan Monnier2012-06-272-1/+7
| | | | | | | | Strip "toggle-" if any.
* | Remove paths.elGlenn Morris2012-06-274-109/+81
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/info.el (Info-default-directory-list): Move here from paths.el. * lisp/paths.el: Remove file, which is now empty. * lisp/loadup.el: No longer load "paths". * src/lisp.mk (lisp): Remove paths.elc. * lib-src/makefile.w32-in (lisp2): Remove paths.el. * INSTALL: Remove references to paths.el.
* | * lisp/custom.el (custom-initialize-delay): Doc fix.Glenn Morris2012-06-272-1/+5
| |
* | Replace eshell-defgroup with plain defgroupGlenn Morris2012-06-2719-37/+61
| | | | | | | | | | | | | | | | | | | | | | | | Borrowing a trick from vc-sccs.el, wrap the defgroup in a progn so that the whole thing ends up in the generated autoload file, esh-groups.el. * em-alias.el, em-banner.el, em-basic.el, em-cmpl.el, em-dirs.el: * em-glob.el, em-hist.el, em-ls.el, em-pred.el, em-prompt.el: * em-rebind.el, em-script.el, em-smart.el, em-term.el, em-unix.el: * em-xtra.el: Replace eshell-defgroup with (progn (defgroup. * eshell.el (eshell-defgroup): Remove alias.
* | Let C-h f do autoloading, and report if a function was previously autoloaded.Chong Yidong2012-06-273-53/+104
| | | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (help-fns--autoloaded-p): New function. (describe-function-1): Refer to a function as "autoloaded" if it was autoloaded at any time in the past. Perform autoloading if help-enable-auto-load is non-nil. * lisp/help.el (help-enable-auto-load): New variable. * src/doc.c (Fsubstitute_command_keys): Fix punctuation.
* | NEWS, ChangeLog fixesGlenn Morris2012-06-261-5/+5
| |