summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix Edebug specs for 'cl-defmethod' and 'defmethod'Gemini Lasswell2017-05-022-5/+6
| | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-defmethod): Change Edebug spec to make Edebug generate a new symbol for each method (Bug#24753) and to support a string following :extra (Bug#23995). * lisp/emacs-lisp/eieio-compat.el (defmethod): Change Edebug spec to make Edebug generate a new symbol for each method (Bug#24753).
* Temporary fix for the MS_Windows buildEli Zaretskii2017-05-021-1/+1
| | | | | | | * nt/inc/ms-w32.h (WIN32_LEAN_AND_MEAN): Define to an empty value, to be consistent with Gnulib's utimens.c. This is because utimens.c unconditionally defines WIN32_LEAN_AND_MEAN to an empty value, so the previous definition here conflicted with that.
* Port format-time-string to MS-Windows betterPaul Eggert2017-05-011-12/+15
| | | | | * test/src/editfns-tests.el (format-time-string-with-zone): Port test cases to MS-Windows.
* ; Fix the comment backDmitry Gutov2017-05-021-1/+1
|
* Merge from gnulibPaul Eggert2017-05-0115-101/+261
| | | | | | | | | | | | | | This incorporates: 2017-05-01 New module 'localtime-buffer' 2017-04-30 utimens: Add support for native Windows * admin/merge-gnulib (AVOIDED_MODULES): Add tzset. * configure.ac (tzset): No need for Emacs itself to check now. * lib/gettimeofday.c, lib/time.in.h, lib/time_rz.c, lib/utimens.c: * m4/gettimeofday.m4, m4/time_h.m4, m4/time_rz.m4: Copy from gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * lib/localtime-buffer.c, lib/localtime-buffer.h: * m4/localtime-buffer.m4: New files, copied from gnulib. * src/editfns.c (init_editfns): Assume tzset is callable.
* ; Fix typoKen Brown2017-05-011-1/+1
| | | | | * test/src/editfns-tests.el (format-time-string-with-zone): Fix typo in timezone specification.
* Speed up project-find-regexp for simple regexpsDmitry Gutov2017-05-021-6/+22
| | | | | | | | | | * lisp/progmodes/xref.el (xref--regexp-syntax-dependent-p): New function. (xref--collect-matches): Use it. Don't try to enable the appropriate major mode and file-local variables if the regexp does not depend on the buffer's syntax (bug#26710). (xref--collect-matches-1): Don't syntax-propertize in that case either.
* ; Fix commentary in a recent commitEli Zaretskii2017-05-011-7/+7
| | | | | * test/src/editfns-tests.el (format-time-string-with-zone): Minor copyedit in the commentary.
* Warn about missing backslashes during loadPhilipp Stephani2017-05-014-0/+96
| | | | | | | | | | | | | | | | * src/lread.c (load_warn_unescaped_character_literals, Fload, read1) (syms_of_lread): Warn if unescaped character literals are found (Bug#20152). * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check for unescaped character literals during byte compilation. * test/src/lread-tests.el (lread-tests--unescaped-char-literals): New unit test. (lread-tests--with-temp-file, lread-tests--last-message): Helper functions for unit test. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--unescaped-char-literals): New unit test. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--with-temp-file): Helper macro for unit test.
* * configure.ac: Suggest Mailutils on Cygwin.Ken Brown2017-05-011-1/+1
|
* Don’t stress-test time zones near the EpochPaul Eggert2017-05-011-11/+28
| | | | | | | * test/src/editfns-tests.el (format-time-string-with-zone) (format-time-string-with-outlandish-zone): Don’t format timestamps near the Epoch, as this runs into bugs on MS-Windows, and we don’t want to worry about those bugs.
* Tweak vc-tests.el for bzrGlenn Morris2017-05-011-2/+9
| | | | | * test/lisp/vc/vc-tests.el (vc-test--working-revision): Handle test environments where HOME does not exist.
* vc-git-state: Return `ignored' as appropriate with newer GitDmitry Gutov2017-05-011-14/+22
| | | | | | | * lisp/vc/vc-git.el (vc-git--program-version): New variable. (vc-git--program-version): New function. (vc-git-state): Use it to choose whether to add '--ignored' (bug#19343).
* ; Auto-commit of loaddefs files.Glenn Morris2017-05-011-91/+166
|
* vc-git-state: Bring back CentOS 6 compatibilityDmitry Gutov2017-05-011-1/+20
| | | | | * lisp/vc/vc-git.el (vc-git-state): Bring back CentOS 6 compatibility (bug#19343).
* Rewrite w32fns.c's `x_set_menu_bar_lines'Martin Rudalics2017-05-012-34/+52
| | | | | | | | | * src/w32fns.c (x_set_menu_bar_lines): Redraw frame immediately regardless of whether menu bar is added or removed. Clear under internal border iff a W32 window exists. Store either 0 or 1 as new parameter value. (x_change_tool_bar_height): Use FRAME_W32_WINDOW instead of FRAME_X_WINDOW.
* Fix filenotify-tests.el for cygwinMichael Albinus2017-05-012-3/+5
| | | | | | | * test/lisp/filenotify-tests.el (file-notify--test-read-event): Add an additional `sit-for'. (file-notify-test02-rm-watch): Add an additional `file-notify--test-read-event' call.
* ; Tighten up vc-state tests, allowed by the previous changeDmitry Gutov2017-05-011-5/+8
|
* Speed up vc-git-status and make it more preciseJonathan Ganc2017-05-011-26/+49
| | | | | | | | * lisp/vc/vc-git.el (vc-git-state) (vc-git--git-status-to-vc-state): Update 'vc-git-state' to use 'git status', so that 'vc-git-state' can now return 'ignored', 'conflict', or 'unregistered' when appropriate. Discussed in bug#26066. Fixes bug#19343.
* Fix Git revision navigation in currently removed directoriesDmitry Gutov2017-05-011-3/+2
| | | | | | * lisp/vc/vc-git.el (vc-git-next-revision): Use the repo root as default-directory because FILE's parent directory might not exist anymore (bug#26345).
* Merge from gnulibPaul Eggert2017-04-3014-69/+204
| | | | | | | | | | | | | | | | | This incorporates: 2017-04-30 strftime-fixes: New module 2017-04-30 mktime: Work around TZ problem on native Windows 2017-04-30 ctime, localtime: New modules 2017-04-30 gettimeofday: Provide higher resolution on native Windows 2017-04-29 utime-h: Modernize handling of 'struct utimbuf' 2017-04-29 Make use of module 'utime-h' 2017-04-30 Fix a few typos * admin/merge-gnulib (AVOIDED_MODULES): Avoid utime-h, too. * lib/gettimeofday.c, lib/mktime.c, lib/time.in.h, lib/utimens.c: * m4/gettimeofday.m4, m4/include_next.m4, m4/mktime.m4: * m4/strftime.m4, m4/time_h.m4, m4/timegm.m4, m4/utimens.m4: Copy from gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* Don't lose key bindings on mis-spelled text in flyspell-modeEli Zaretskii2017-04-301-1/+6
| | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-mouse-map): Bind mouse-2 explicitly. (make-flyspell-overlay): If the mis-spelled text already has a 'keymap' property, make that keymap the parent of flyspell-mouse-map, so as not to lose the parent's bindings. (Bug#26672)
* Fix `delete-frame' behavior including Bug#26682Martin Rudalics2017-04-303-30/+25
| | | | | | | | | | | | * src/frame.c (other_frames): Accept two arguments now. Don't care about minibuffer window. Don't care about visibility when called from delete_frame with FORCE true (Bug#26682). (delete_frame, Fmake_frame_invisible): Adjust other_frames calls. * src/w32term.c (w32_read_socket): Don't add a move frame event for an invisible frame. * lisp/frame.el (handle-delete-frame): Don't kill Emacs when attempting to delete a surrogate minibuffer frame.
* Merge from gnulibPaul Eggert2017-04-307-406/+2
| | | | | | | | | This avoids incorporating the following, which I suspect are more trouble for Emacs than they’re worth: 2017-04-29 stat, fstat: fix time_t etc. on native Windows platforms * admin/merge-gnulib (AVOIDED_MODULES): Avoid stat, too. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * lib/pathmax.h, lib/stat.c, m4/pathmax.m4, m4/stat.m4: Remove.
* Fix buffer overflow in make-docfilePaul Eggert2017-04-291-13/+3
| | | | | | * lib-src/make-docfile.c (scan_c_stream): Check for buffer overflow when reading an identifier. Use a static buffer for NAME rather than a small dynamically-allocated buffer.
* Merge from gnulibPaul Eggert2017-04-292-1/+4
| | | | | | | This incorporates: 2017-04-29 getopt: port to Solaris 10 with circa-1997 glibc getopt.h * lib/getopt-pfx-ext.h: Copy from gnulib. * lib/gnulib.mk.in: Regenerate.
* Fix dependency error during bootstrapTino Calancha2017-04-301-0/+4
| | | | * lisp/files.el: Require pcase and easy-mmode at compile time.
* * etc/tutorials/TUTORIAL.sv: synced with TUTORIALMats Lidell2017-04-301-44/+59
|
* ; Fix function namePhilipp Stephani2017-04-291-1/+1
|
* Reimplement auto-saving to visited filesPhilipp Stephani2017-04-293-7/+68
| | | | | | | | | | | | | | | | This reacts to confusing behavior of 'auto-save-visited-file-name', cf. Bug#25478. * lisp/files.el (auto-save-visited-interval): New customization option. (auto-save-visited-mode): New global minor mode. (auto-save-visited-file-name): Make obsolete. (auto-save--timer): New internal helper variable. * doc/emacs/files.texi (Auto Save Files): Document 'auto-save-visited-mode' instead of obsolete 'auto-save-visited-file-name'. (Auto Save Control): Document customization option 'auto-save-visited-interval'.
* Allow bypassing of some checks when mergingPaul Eggert2017-04-291-3/+19
| | | | * build-aux/git-hooks/pre-commit: Don't check merged-in changes.
* Integrate module test with normal test suitePhilipp Stephani2017-04-295-15/+31
| | | | | | | | | | | | | | | | | | | | * test/Makefile.in (ELFILES): Exclude module test if modules aren't configured. (EMACS_TEST_DIRECTORY): Expand test directory so that it's set correctly even if Emacs changes the current directory. ($(srcdir)/src/emacs-module-tests.log) ($(test_module)): Proper dependency tracking for test module. * test/data/emacs-module/Makefile (ROOT): Adapt to new location. Remove 'check' target and EMACS variable, which are no longer necessary. (SO): Change to include period. * test/src/emacs-module-tests.el (mod-test): Use EMACS_TEST_DIRECTORY environment variable to reliably find test data. * configure.ac (HAVE_MODULES, MODULES_SUFFIX): Add necessary substitutions.
* Broaden comint-password-prompt-regexpGlenn Morris2017-04-281-1/+2
| | | | | * lisp/comint.el (comint-password-prompt-regexp): Broaden the regexp, for non-English locales. (Bug#26698)
* * lisp/auth-source.el (auth-source-backend-parse): `return' -> cl-return.Stefan Monnier2017-04-281-2/+2
|
* Don't pass the value of point to 'push-mark', as that's the default.Bartosz Duszel2017-04-2819-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/bib-mode.el (mark-bib): * lisp/simple.el (mark-whole-buffer, yank): * lisp/ses.el (ses--advice-yank, ses-mark-row, ses-mark-column): * lisp/progmodes/xscheme.el (xscheme-yank): * lisp/progmodes/verilog-mode.el (verilog-mark-defun): * lisp/progmodes/perl-mode.el (perl-mark-function): * lisp/progmodes/pascal.el (pascal-mark-defun): * lisp/progmodes/meta-mode.el (meta-mark-defun): * lisp/progmodes/icon.el (mark-icon-function): * lisp/progmodes/cc-cmds.el (c-mark-function): * lisp/obsolete/vip.el (ex-goto): * lisp/obsolete/vi.el (vi-put-before): * lisp/mouse.el (mouse-yank-primary): * lisp/menu-bar.el (menu-bar-select-yank): * lisp/mail/sendmail.el (mail-yank-original): * lisp/hexl.el (hexl-beginning-of-buffer, hexl-end-of-buffer): * lisp/emulation/viper-cmd.el (viper-mark-beginning-of-buffer) (viper-mark-end-of-buffer): * lisp/cedet/semantic/senator.el (senator-mark-defun): * lisp/allout.el (allout-mark-topic): Remove unnecessary argument `(point)' from calls to `push-mark'. (Bug#25565)
* Merge from origin/emacs-25Glenn Morris2017-04-2720-101/+328
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 784602b1050 (origin/emacs-25) ; Add release notice 3a34412caae (tag: emacs-25.2) Set Emacs version to 25.2 and update AU... 56a4461a48d ; Move stray item from admin/notes/repo to CONTRIBUTE 2b0d1118199 ; CONTRIBUTE: Remove stray header. f2ab09ec60d Fix a typo in indexing the user manual bc55a574235 * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466) a6d50401b4b Document 'line-pixel-height' 0c55cf43e61 * search.c (Fre_search_forward, Fre_search_backward): Imp... c7ed57eaef4 Mention that processes start in default-directory (Bug#18... 856ec9ffa1f * src/xdisp.c (vmessage, message): Clarify commentary. 849a0aaa1c9 Belated fixes for admin.el's M-x make-manuals-dist 84938d79698 default-directory: Remark that it must be a directory name 3f0d047d2eb Delete confuse statement in manual ee1bd94dd0c Improve packaging documentation fb18bff91f0 Expand manual section on quitting windows 9a737079645 Fix docstring of dabbrev-abbrev-char-regexp afe8849bac1 * doc/misc/cl.texi (Iteration Clauses): Clarify example (... ada79442c07 ;* doc/misc/info.texi (Choose menu subtopic): Improve ind... d38fd9229c0 Narrow scope of modification hook renabling in org-src fo... e0e9db4c84a ; Spelling fix # Conflicts: # README # etc/AUTHORS # etc/HISTORY # lisp/ldefs-boot.el
| * ; Add release noticeGlenn Morris2017-04-211-1/+5
| |
| * Set Emacs version to 25.2 and update AUTHORS fileemacs-25.2Nicolas Petton2017-04-205-101/+305
| | | | | | | | | | | | | | | | * README: Set Emacs version to 25.2. * etc/HISTORY: Add release log. * lisp/ldefs-boot.el: * etc/AUTHORS: * ChangeLog.2: Update.
| * ; Move stray item from admin/notes/repo to CONTRIBUTENoam Postavsky2017-04-192-7/+6
| | | | | | | | | | * admin/notes/repo: Remove stray item. * CONTRIBUTE: Move it here, fix incorrect references to "branch".
| * ; CONTRIBUTE: Remove stray header.Noam Postavsky2017-04-191-2/+0
| |
| * Fix a typo in indexing the user manualEli Zaretskii2017-04-181-2/+2
| | | | | | | | * doc/emacs/cmdargs.texi (General Variables): Fix a horrible typo.
| * * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)Eli Zaretskii2017-04-121-1/+4
| |
| * Document 'line-pixel-height'Eli Zaretskii2017-04-111-0/+6
| | | | | | | | | | | | * doc/lispref/display.texi (Size of Displayed Text): Document line-pixel-height. Suggested by Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>. (Bug#26379)
| * * search.c (Fre_search_forward, Fre_search_backward): Improve doc (Bug#25193).Hong Xu2017-04-061-31/+21
| |
| * Mention that processes start in default-directory (Bug#18515)Noam Postavsky2017-04-063-3/+21
| | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Synchronous Processes): (Asynchronous Processes): * lisp/subr.el (start-process): * src/callproc.c (call-process): Mention that the subprocess starts in `default-directory' when local, suggest `start-file-process' and `process-file' otherwise.
| * * src/xdisp.c (vmessage, message): Clarify commentary.Noam Postavsky2017-04-061-3/+7
| |
| * Belated fixes for admin.el's M-x make-manuals-distGlenn Morris2017-04-021-2/+7
| | | | | | | | | | * admin/admin.el (make-manuals-dist-output-variables): Additions. (make-manuals-dist--1): Also copy docstyle.texi.
| * default-directory: Remark that it must be a directory nameTino Calancha2017-03-311-1/+3
| | | | | | | | * src/buffer.c (default-directory): Update docstring (Bug#26272).
| * Delete confuse statement in manualTino Calancha2017-03-311-12/+0
| | | | | | | | | | * doc/misc/cl.texi (For Clauses): Delete confuse statement and its example (Bug#23550).
| * Improve packaging documentationNoam Postavsky2017-03-302-9/+14
| | | | | | | | | | | | | | * doc/lispref/package.texi (Packaging Basics): * doc/lispref/tips.texi (Library Headers): Clarify some header formats, relation between file headers and package attributes (Bug#13281).