summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Adaot file-notify-tests.el test casesMichael Albinus2015-09-143-40/+39
| | | | | | | | | | | | | | | | | | * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'. * src/inotify.c (Finotify_valid_p): Adapt docstring. * test/automated/file-notify-tests.el () (file-notify-test03-autorevert) (file-notify-test04-file-validity) (file-notify-test04-file-validity-remote) (file-notify-test05-dir-validity) (file-notify-test05-dir-validity-remote): Adapt docstring. (file-notify-test04-file-validity): Let events arrive before calling final `file-notify-valid-p'. Do not ignore errors. (file-notify-test05-dir-validity): Do not manipulate `temporary-file-directory', it isn't necessary. Let events arrive before calling final `file-notify-valid-p'. Do not ignore errors.
* Don’t double-encode non-ASCII for mail clientPaul Eggert2015-09-142-5/+39
| | | | | | | | | | * lisp/mail/mailclient.el (mailclient-encode-string-as-url): Use RFC 6068’s list of unreserved characters. (mailclient-send-it): When encoding the body as a URL, first decode it as per Content-Type: and Content-Transfer-Encoding:, as URLs must use percent-encoded UTF-8 (Bug#21471). * doc/misc/url.texi (mailto): Update RFC number.
* * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolistStefan Monnier2015-09-141-8/+6
|
* Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs.Alan Mackenzie2015-09-141-2/+2
| | | | | (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with `cadr/car'.
* Clarify documentation of char-table extra slotsEli Zaretskii2015-09-141-3/+3
| | | | | * doc/lispref/sequences.texi (Char-Tables): Clarify that extra slot numbers are zero-based. (Bug#21467)
* Elisp mode: Make font-lock and imenu handle escaped characters in symbolsAlan Mackenzie2015-09-141-17/+17
| | | | | | | | | | Fixes debbugs#21449. lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression) (lisp--el-match-keyword, lisp-el-font-lock-keywords-1) (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2) (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p): Insert "\\|\\\\." into regexps which match symbols.
* Improve the doc string of w32notify-valid-pEli Zaretskii2015-09-141-1/+2
| | | | | * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string that removing a watch makes its object invalid.
* Fix tests for file-notify-valid-p.Tassilo Horn2015-09-141-20/+26
|
* Report file-notify-error in w32notify.cEli Zaretskii2015-09-141-7/+22
| | | | | | * src/w32notify.c (report_w32notify_error): New function. (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report errors, instead of calling report_file_error. (Bug#21432)
* Implement w32notify-valid-pEli Zaretskii2015-09-142-1/+24
| | | | | | | * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432) * lisp/filenotify.el (w32notify-valid-p): No longer an alias for 'identity'.
* Test file-notify-valid-p.Tassilo Horn2015-09-141-0/+59
| | | | | | * test/automated/file-notify-tests.el (file-notify-test04-file-validity, file-notify-test05-dir-validity): New tests.
* Fix markup in ELisp manualEli Zaretskii2015-09-131-2/+2
| | | | | * doc/lispref/frames.texi (Font and Color Parameters): Fix markup of the 'alpha' parameter value. (Bug#21470)
* Introduce `file-notify-valid-p'Michael Albinus2015-09-137-2/+53
| | | | | | | | | | | | | | | | | | * lisp/filenotify.el (file-notify-valid-p): New defun. (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'. * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist) * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist) * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist) * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist) <file-notify-valid-p>: Add handler. * lisp/net/tramp.el (tramp-file-name-for-operation): Add `file-notify-valid-p'. (tramp-handle-file-notify-valid-p): New defun. * src/inotify.c (Finotify_valid_p): New defun. (syms_of_inotify): Declare Sinotify_valid_p.
* Port Unicode char detection to FreeBSD+svgalibPaul Eggert2015-09-132-4/+5
| | | | | | | | Problem reported by Ashish SHUKLA in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html * configure.ac: Check for struct unipair.unicode instead of for <linux/kd.h>, since that’s more specific to what the code actually needs. * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
* * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).Paul Eggert2015-09-131-4/+1
|
* Fix vertical cursor motion across overlay strings with newlinesEli Zaretskii2015-09-131-1/+24
| | | | | | * src/indent.c (Fvertical_motion): Don't leave point in the middle of an overlay string with newlines, as that will position the cursor after the string at whatever column is there. (Bug#21468)
* Fix tests in file-notify-tests.elMichael Albinus2015-09-121-24/+13
| | | | | | | | | | * test/automated/file-notify-tests.el: Remove Tramp declarations. (file-notify-test00-availability): Print remote command w/o Tramp internal functions. (file-notify-test02-events, file-notify-test02-events-remote): Adapt docstring. (file-notify-test03-autorevert): Use `format-message' when inspecting *Messages* buffer.
* Bind inhibit-modification-hooks rather than a/b-c-fStefan Monnier2015-09-1210-20/+19
| | | | | | | | | | | | | | | | * lisp/wid-edit.el (widget-editable-list-insert-before) (widget-editable-list-delete-at): * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres) (cperl-font-lock-unfontify-region-function): * lisp/progmodes/antlr-mode.el (save-buffer-state-x): * lisp/obsolete/longlines.el (longlines-mode): * lisp/obsolete/fast-lock.el (save-buffer-state): * lisp/mouse.el (mouse-save-then-kill-delete-region): * lisp/gnus/message.el (message-hide-headers): * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter): * lisp/ibuffer.el (ibuffer-update-title-and-summary) (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather than after/before-change-functions to nil.
* (jit-lock-deferred-fontify): Pay attention to skipped redisplaysStefan Monnier2015-09-111-3/+5
| | | | | * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh the buffers, even if the forced redisplay is interrupted.
* * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objectsStefan Monnier2015-09-111-4/+4
|
* Merge syntax-propertize--done and parse-sexp-propertize-doneStefan Monnier2015-09-113-110/+113
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove. (syntax-propertize): Set syntax-propertize--done even if syntax-propertize-function is nil. Avoid recursive invocations. (syntax-propertize-chunks): New var. (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize. Simplify. (parse-sexp-propertize-function): Don't set any more. * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed. (parse_sexp_propertize): Don't assume charpos is not yet propertized. Call Qinternal__syntax_propertize instead of Vparse_sexp_propertize_function. Truncate e_property if needed. (update_syntax_table_forward): Streamline. (syms_of_syntax): Define Qinternal__syntax_propertize. (syntax_propertize__done): Rename from parse_sexp_propertize_done.
* Prefer straight quoting in some text filesPaul Eggert2015-09-1118-159/+154
| | | | | | | | | Mostly this just changes ` to ' in static text. Some exceptions: * INSTALL.REPO: Use curved quotes, as the diagnostic in question typically does that now. * admin/quick-install-emacs (TRY, top level): Use straight quoting in diagnostics. * src/README: Fix working-directory confusion.
* * CONTRIBUTE: Move send-email here from git-workflow.Paul Eggert2015-09-112-13/+5
|
* Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2015-09-111-1/+1
|\
| * Fix NS build with --enable-checking='glyphs'Eli Zaretskii2015-09-111-1/+1
| | | | | | | | | | | | * src/nsfns.m (unwind_create_frame): Make the preprocessor conditionals for referencing 'dpyinfo' consistent throughout the function. (Bug#21426)
* | Improve file notifications in TrampMichael Albinus2015-09-111-4/+19
|/ | | | | | | * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): Set proper events to watch for. (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only watched events.
* Add seq-findNicolas Petton2015-09-113-0/+45
| | | | | | | | | | | This function is similar to `seq-some' but returns the found element. In the cases where nil can be the found element, a sentinel optional argument can be provided to avoid ambiguities. * lisp/emacs-lisp/seq.el (seq-find): New function. * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'. * doc/lispref/sequences.texi (Sequence Functions): Add documentation for seq-find.
* Document file-notify--test-with-events.Tassilo Horn2015-09-101-0/+2
| | | | | * test/automated/file-notify-tests.el (file-notify--test-with-events): Add docstring.
* Report used native library in file-notify-tests.elMichael Albinus2015-09-101-0/+20
| | | | | | | * test/automated/file-notify-tests.el (tramp-get-remote-gvfs-monitor-dir) (tramp-get-remote-inotifywait): Declare them. (file-notify-test00-availability): Print used native library.
* lisp/mpc.el (mpc--proc-connect): use file-name-absolute-pMark Oteiza2015-09-101-1/+4
|
* lisp/mpc.el (mpc-file-local-copy): check for absolute pathMark Oteiza2015-09-101-1/+2
|
* lisp/mpc.el (mpc-file-local-copy): check more config locationsMark Oteiza2015-09-101-1/+5
|
* Improve documentation of categoriesEli Zaretskii2015-09-101-1/+10
| | | | | * doc/lispref/syntax.texi (Categories): Clarify the example of using define-category and modify-category-entry. (Bug#21448)
* Revert some stray curved quotes I missed earlierPaul Eggert2015-09-109-21/+22
| | | | | | | Problem reported by David Kastrup in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html * lisp/international/mule-cmds.el (leim-list-header): Use format-message with an ASCII-only format.
* Prefer NUMBERP to spelling it outPaul Eggert2015-09-108-13/+12
| | | | | | | | | | | | | * src/editfns.c (styled_format): * src/frame.h (NUMVAL): * src/image.c (parse_image_spec): * src/lisp.h (CHECK_NUMBER_OR_FLOAT) (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): * src/process.c (Fsignal_process): * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p): * src/xfaces.c (check_lface_attrs): * src/xselect.c (x_fill_property_data, x_send_client_event): Use NUMBERP rather than INTEGERP || FLOATP.
* ; Spelling fixPaul Eggert2015-09-101-1/+1
|
* Improve file-notify-testsTassilo Horn2015-09-101-41/+83
| | | | | | | | | * test/automated/file-notify-tests.el: Use lexical-binding (file-notify--test-cleanup): New function. (file-notify-test00-availability, file-notify-test01-add-watch) (file-notify-test02-events, file-notify-test03-autorevert): Use it. (file-notify--test-with-events): New macro. (file-notify-test02-events): Use it.
* Add patch-sending instructions to git-workflowPaul Eggert2015-09-101-0/+18
| | | | | | From a suggestion by Mitchel Humpherys in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html * admin/notes/git-workflow (Sending patches): New section.
* Port to GIFLIB 5.0.6 and laterPaul Eggert2015-09-101-16/+22
| | | | | | | | Problem reported by Mitchel Humpherys in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro. (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]: (gif_load) [HAVE_GIF]: Use it.
* * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.Glenn Morris2015-09-091-2/+2
|
* * test/automated/file-notify-tests.el (file-notify-test02-events):Glenn Morris2015-09-091-1/+1
| | | | Fix recent change.
* Refix movemail GCC pacificationPaul Eggert2015-09-091-5/+2
| | | | | | Problem reported by Ken Brown in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html * lib-src/movemail.c (main): Fix previous change.
* (time-to-seconds, time-less-p): Mark unused vars with underscoreStefan Monnier2015-09-091-3/+3
| | | | | * lisp/calendar/time-date.el (time-to-seconds, time-less-p): Mark unused vars with underscore.
* * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...Stefan Monnier2015-09-091-7/+9
| | | | (parse_sexp_propertize): ...from here.
* * lisp/filenotify.el: Use lexical-bindingStefan Monnier2015-09-091-6/+5
| | | | (file-notify-add-watch): Avoid add-to-list.
* Start checking event types in file-notify testsTassilo Horn2015-09-091-5/+15
| | | | | | | | | * test/automated/file-notify-tests.el (file-notify--test-events): New variable. (file-notify--test-event-handler): Append received event to file-notify--test-events for later analysis. (file-notify-test02-events): Assert that the expected notifications have arrived in the expected order.
* Merge from gnulib and texinfoPaul Eggert2015-09-092-234/+408
| | | | | | | This incorporates: 2015-08-03 Improve port of stdalign to C++11 * lib/stdalign.in.h: Copy from gnulib. * doc/misc/texinfo.tex: Copy from texinfo.
* Make syntax.c call syntax-propertize on demandStefan Monnier2015-09-095-25/+104
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function. (parse-sexp-propertize-function): Use it. (syntax-propertize): Disable parse-sexp-propertize-function. * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward): New functions. (syms_of_syntax): New vars `parse-sexp-propertize-done' and `parse-sexp-propertize-function'. * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field. (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward. (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated. * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize): Don't assume `point' is set.
* Fix indentation of an @example in ELisp manualEli Zaretskii2015-09-091-3/+3
| | | | | * doc/lispref/syntax.texi (Categories): Untabify the example. (Bug#21448)
* Define internal-char-font even if --without-xPaul Eggert2015-09-092-102/+101
| | | | | | | | The function is used now even in non-graphical environments. Problem reported by Glenn Morris in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html * src/font.c (Finternal_char_font): Move here ... * src/fontset.c (Finternal_char_font): ... from here.