1 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
3 * progmodes/xref.el (xref--display-position):
4 Set `other-window-scroll-buffer'.
5 (xref-goto-xref): Use `user-error'.
7 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
9 * progmodes/xref.el (xref--display-history): New variable.
10 (xref--window-configuration): Remove.
11 (xref--save-to-history): New function.
12 (xref--display-position): Use it. Add new argument.
13 (xref--restore-window-configuration): Remove.
14 (xref--show-location, xref-show-location-at-point): Update
16 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
17 (xref--quit): New command.
18 (xref-goto-xref): Use it.
19 (xref--xref-buffer-mode-map): Bind `q' to it.
21 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
23 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
24 indentation or at eol.
26 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
28 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
29 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
31 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
33 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
36 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
37 introduction of a new dispatch argument.
38 (cl--generic-cache-miss): Handle dispatch on an argument which was not
39 considered as dispatchable for this method.
40 (cl-defmethod): Warn when adding a method to an obsolete generic function.
41 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
43 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
45 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
47 * emacs-lisp/package.el (package--append-to-alist): Rename from
48 `package--add-to-alist'
49 Updated docstring due to new name.
51 2015-01-18 Leo Liu <sdl.web@gmail.com>
53 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
54 multiple evaluation. (Bug#19519)
56 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
59 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
61 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
63 (cl-struct-type-p): New function.
65 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
66 (cl-defmethod): Add edebug spec.
67 (cl--generic-build-combined-method): Fix call to
68 cl-no-applicable-method.
69 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
70 (cl--generic-isnot-nnm-p): New function.
71 (cl--generic-lambda): Use it to add support for cl-next-method-p.
72 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
73 (cl-next-method-p): New function.
75 2015-01-17 Ulrich Müller <ulm@gentoo.org>
77 * version.el (emacs-repository-get-version): Update docstring.
79 2015-01-17 Ivan Shmakov <ivan@siamics.net>
81 * url/url-cookie.el (url-cookie-write-file): Let-bind print-length
82 and print-level to nil to avoid writing a garbled list. (Bug#16805)
84 * files.el (find-file-other-window, find-file-other-frame):
85 Use mapc instead of mapcar. (Bug#18175)
87 * files.el (dir-locals-collect-variables): Use default-directory
88 in place of the file name while working on non-file buffers, just
89 like hack-dir-local-variables already does. (Bug#19140)
91 * textmodes/enriched.el (enriched-encode):
92 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
95 * desktop.el (desktop-read): Do not call desktop-clear when no
96 desktop file is found. (Bug#18371)
98 * misearch.el (multi-isearch-unload-function): New function.
99 (misearch-unload-function): New alias. (Bug#19566)
101 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
103 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
104 class-constructor, and make it an alias for `identity'.
107 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
108 argument here (bug#19620)...
109 (defclass): ...instead of in the constructor here.
111 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
113 * emacs-lisp/package.el (package-archive-priorities):
114 Specify correct type.
116 2015-01-17 Ulrich Müller <ulm@gentoo.org>
118 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
120 (emacs-repository-get-version): Discard the Bazaar case.
121 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
122 emacs-bzr-version-dirstate and move from version.el to here.
123 (vc-bzr-working-revision): Use it.
125 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
127 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
128 eieio--scoped-class any more.
130 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
131 (eieio--scoped-class): Remove function.
132 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
133 (eieio--slot-name-index): Don't check the :protection anymore.
134 (eieio-initializing-object): Remove var.
135 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
137 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
139 Improve handling of doc-strings and describe-function for cl-generic.
141 * help-mode.el (help-function-def): Add optional arg `type'.
143 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
145 (help-fns-short-filename): New function.
146 (describe-function-1): Use it. Use autoload-do-load.
148 * emacs-lisp/find-func.el: Use lexical-binding.
149 (find-function-regexp): Don't rule out `defgeneric'.
150 (find-function-regexp-alist): Document new possibility of including
151 a function instead of a regexp.
152 (find-function-search-for-symbol): Implement that new possibility.
153 (find-function-library): Don't assume that `function' is a symbol.
154 (find-function-do-it): Remove unused var `orig-buf'.
156 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
157 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
158 (eieio--method-optimize-primary): Don't mess with the docstring.
159 (defgeneric): Keep the `args' in the docstring.
160 (defmethod): Don't use the method's docstring for the generic
161 function's docstring.
163 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
164 (eieio-defclass-autoload): Don't record the superclasses any more.
165 (eieio-defclass-internal): Reuse the old class object if it was just an
167 (eieio--class-precedence-list): Load the class if it's autoloaded.
169 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
170 override an autoload.
171 (cl-generic-current-method-specializers): Replace dyn-bind variable
172 with a lexically-scoped macro.
173 (cl--generic-lambda): Update accordingly.
174 (cl-generic-define-method): Record manually in the load-history with
176 (cl--generic-get-dispatcher): Minor optimization.
177 (cl--generic-search-method): New function.
178 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
179 (cl--generic-search-method): Add hyperlinks for methods. Merge the
180 specializers and the function's arguments.
182 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
184 * emacs-lisp/package.el (package--read-pkg-desc):
185 New function. Read a `define-package' form in current buffer.
186 Return the pkg-desc, with desc-kind set to KIND.
187 (package-dir-info): New function. Find package information for a
188 directory. The return result is a `package-desc'.
189 (package-install-from-buffer): Install packages from dired buffer.
190 (package-install-file): Install packages from directory.
191 (package-desc-suffix)
192 (package-install-from-archive)
193 * emacs-lisp/package-x.el (package-upload-buffer-internal):
194 Ensure all remaining instances of `package-desc-kind' handle the 'dir
197 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
199 * emacs-lisp/package.el: Provide repository priorities.
200 (package-archive-priorities): New variable.
201 (package--add-to-alist): New function.
202 (package--add-to-archive-contents): Use it.
203 (package-menu--find-upgrades): Use it as well. Small clean up to
204 make the use of the package name here explicit.
205 (package-archive-priority): New function.
206 (package-desc-priority-version): New function.
208 2015-01-16 Daniel Colascione <dancol@dancol.org>
210 * cus-start.el (all): Make `ring-bell-function' customizable.
212 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
214 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
215 vc-svn-after-dir-status's second argument. (Bug#19429)
217 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
219 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
220 regardless of pcomplete-cycle-completions's value. (Bug#18950)
222 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
224 * dom.el (dom-strings): New function.
226 * files.el (directory-files-recursively): Don't use the word
227 "path" for a file name.
229 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
231 * calc/calc-units.el (math-units-in-expr-p)
232 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
233 (math-extract-units): Handle the `neg' operator. (Bug#19582)
235 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
237 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
238 (cl--labels-convert): Use it to ask the macro what is its replacement
241 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
242 Return the value of the primary rather than the after method.
244 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
245 (eieio--generic-tagcode): New function.
246 (cl-generic-tagcode-function): Use it.
247 (eieio--generic-tag-types): New function.
248 (cl-generic-tag-types-function): Use it.
249 (eieio-object-p): Tighten up the test.
251 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
253 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
255 * emacs-lisp/cl-generic.el: New file.
257 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
258 (cl-load-time-value, cl-labels): Use closures rather than
260 (cl-macrolet): Use `eval' to create the function value, and support CL
261 style arguments in for the defined macros.
263 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
265 * net/eww.el: Use lexical-binding.
266 (eww-links-at-point): Remove unused arg.
267 (eww-mode-map): Inherit from special-mode-map.
268 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
270 2015-01-13 Alan Mackenzie <acm@muc.de>
272 Allow compilation during loading of CC Mode-derived modes (bug#19206).
273 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
274 New function which walks the stack to discover whether we're compiling
276 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
277 (cc-bytecomp-is-loading): New defsubst.
278 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
279 Use the above defsubsts.
280 (cc-require-when-compile, cc-bytecomp-defvar)
281 (cc-bytecomp-defun): Simplify conditionals.
282 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
283 "Borrow" this function from cc-bytecomp.el.
284 (c-get-current-file): Reformulate using the above.
285 (c-lang-defconst): Prevent duplicate entries of file names in a
286 symbol's 'source property.
287 (c-lang-const): Use cc-bytecomp-is-compiling.
288 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
289 Use cc-bytecomp-is-compiling.
291 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
293 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
296 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
298 * menu-bar.el (menu-bar-goto-menu): Before calling
299 `xref-marker-stack-empty-p', first check that `xref' is loaded.
302 2015-01-12 Martin Rudalics <rudalics@gmx.at>
304 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
307 * frame.el (frame-notice-user-settings): Remove code dealing with
308 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
309 only if `window-system-frame-alist' or `default-frame-alist' ask
311 (make-frame): Update frame-adjust-size-history if needed.
313 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
315 Have 'make' output better GEN names
316 * Makefile.in (PHONY_EXTRAS): New macro.
317 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
318 relevant files' time stamps are ignored.
319 (custom-deps, $(lisp)/cus-load.el, finder-data)
320 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
321 (custom-deps, $(lisp)/cus-load.el, finder-data)
322 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
323 ($(lisp)/subdirs.el, update-subdirs):
324 Output more-accurate destination names with GEN.
326 Say "ELC foo.elc" instead of "GEN foo.elc"
327 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
329 ($(THEFILE)c, .el.elc): Use them.
331 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
333 * files.el (directory-files-recursively): Do not include
334 superfluous remote file names.
336 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
338 * net/eww.el (eww): Interpret anything that looks like a protocol
339 designator as a full URL.
341 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
343 * net/shr.el (shr-urlify): Don't bother the user about
344 invalidly-encoded display strings.
346 2015-01-10 Ivan Shmakov <ivan@siamics.net>
348 * net/shr.el (shr-urlify): Decode URLs before using them as titles
351 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
353 * net/eww.el (eww): Always interpret URLs that start with https?:
354 as plain URLs, even if they have spaces in them (bug#19556).
355 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
357 (eww): Don't interpret "org/foo" as an URL.
358 (eww): Clear the title when loading so that we don't display
359 misleading information.
361 2015-01-10 Daniel Colascione <dancol@dancol.org>
363 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
364 by analogy with dired.
366 2015-01-09 Daniel Colascione <dancol@dancol.org>
368 * progmodes/js.el (js--function-heading-1-re)
369 (js--function-prologue-beginning): Parse ES6 generator function
370 declarations. (That is, "function* name()").
372 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
374 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
375 that creates functions, and most of the sanity checks.
376 Mark as obsolete the <class>-child-p function.
377 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
378 (eieio--class, eieio--object): Use cl-defstruct.
379 (eieio--object-num-slots): Define manually.
380 (eieio-defclass-autoload): Use eieio--class-make.
381 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
382 `(lambda...) definitions and most of the sanity checks to `defclass'.
383 Mark as obsolete the <class>-list-p function, the <class> variable and
384 the <initarg> variables. Use pcase-dolist.
385 (eieio-defclass): New compatibility function.
386 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
387 (eieio-class-speedbar): Don't use eieio-default-superclass var.
389 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
391 * emacs-lisp/eieio-generic.el: New file.
392 * emacs-lisp/eieio-core.el: Move all generic function code to
394 (eieio--defmethod): Declare.
396 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
397 function code to eieio-generic.el.
398 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
400 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
401 to eieio--generic-call.
402 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
405 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
407 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
408 Don't use <class> as a variable.
410 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
411 (call-next-method): Simplify.
412 (clone): Obey eieio-backward-compatibility.
414 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
415 (eieio-read-generic): Use `generic-p' instead.
417 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
418 (eieio-defclass-autoload): Obey it.
419 (eieio--class-object): Improve error behavior.
420 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
422 (eieio--defgeneric-form-primary-only): Rename from
423 eieio-defgeneric-form-primary-only; update all callers.
424 (eieio--defgeneric-form-primary-only-one): Rename from
425 eieio-defgeneric-form-primary-only-one; update all callers.
426 (eieio-defgeneric-reset-generic-form)
427 (eieio-defgeneric-reset-generic-form-primary-only)
428 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
429 (eieio--method-optimize-primary): New function to replace them.
430 (eieio--defmethod, eieio-defmethod): Use it.
431 (eieio--perform-slot-validation): Rename from
432 eieio-perform-slot-validation; update all callers.
433 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
434 Change `class' to be a class object. Update all callers.
435 (eieio--validate-class-slot-value): Rename from
436 eieio-validate-class-slot-value. Change `class' to be a class object.
438 (eieio-oset-default): Accept class object as well.
439 (eieio--generic-call-primary-only): Rename from
440 eieio-generic-call-primary-only. Update all callers.
442 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
443 Improve error messages.
444 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
445 well as user-defined types. Emit errors for legacy types like
446 <class>-child and <class>-list, if not eieio-backward-compatibility.
448 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
450 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
451 (eieio--class-slot-initarg): Rename from class-slot-initarg.
452 Change `class' arg to be a class object. Update all callers.
453 (call-next-method): Adjust to new return value of `eieio-generic-form'.
454 (eieio-default-superclass): Set var to the class object.
455 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
456 Change print behavior to affect class objects rather than
459 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
460 (eieio-class-parents-fast): Remove macro.
461 (eieio--class-option-assoc): Rename from class-option-assoc.
463 (eieio--class-option): Rename from class-option. Change `class' arg to
464 be a class object. Update all callers.
465 (eieio--class-method-invocation-order): Rename from
466 class-method-invocation-order. Change `class' arg to be a class
467 object. Update all callers.
468 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
469 a list of class objects rather than names.
470 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
471 for accessors to class allocated slots.
472 (eieio--perform-slot-validation-for-default): Rename from
473 eieio-perform-slot-validation-for-default. Update all callers.
474 (eieio--add-new-slot): Rename from eieio-add-new-slot.
475 Update all callers. Use push.
476 (eieio-copy-parents-into-subclass): Adjust to new content of
477 `parent' field. Use dolist.
478 (eieio-oref): Remove support for providing a class rather than
480 (eieio-oref-default): Prefer class objects over class names.
481 (eieio--slot-originating-class-p): Rename from
482 eieio-slot-originating-class-p. Update all callers. Use `or'.
483 (eieio--slot-name-index): Turn check into assertion.
484 (eieio--class-slot-name-index): Rename from
485 eieio-class-slot-name-index. Change `class' arg to be a class object.
487 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
488 (eieio--c3-candidate): Rename from eieio-c3-candidate.
490 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
492 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
494 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
496 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
497 Update all callers. Adjust to new `parent' content.
498 (eieio--class-precedence-list): Rename from -class-precedence-list.
500 (eieio-generic-call): Use autoloadp and autoload-do-load.
501 Slight simplification.
502 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
503 return value of `eieio-generic-form'.
504 (eieiomt-add): Index the hashtable with class objects rather than
506 (eieio-generic-form): Accept class objects as well.
508 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
509 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
510 (eieio-persistent-validate/fix-slot-value):
511 Change `class' arg to be a class object. Update all callers.
513 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
515 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
516 additionally to class names.
518 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
519 (object): Remove first (constant) slot; rename second to `class-tag'.
520 (eieio--object-class-object, eieio--object-class-name): New funs
521 to replace eieio--object-class.
522 (eieio--class-object, eieio--class-p): New functions.
523 (same-class-fast-p): Make it a defsubst, change its implementation
524 to check the class objects rather than their names.
525 (eieio-object-p): Rewrite.
526 (eieio-defclass): Adjust the object initialization according to the new
528 (eieio--scoped-class): Declare it returns a class object (not a class
529 name any more). Adjust calls accordingly (along with calls to
530 eieio--with-scoped-class).
531 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
532 its class arg to be a class object. Adjust callers accordingly.
533 (eieio-slot-originating-class-p): Make its start-class arg a class
534 object. Adjust all callers.
535 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
536 Make its `class' arg a class object. Adjust all callers.
538 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
539 Use eieio--slot-name-index rather than eieio-slot-name-index.
541 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
543 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
545 (eieio-object-name): Use eieio-object-name-string.
546 (eieio--object-names): New const.
547 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
548 using a hashtable rather than a built-in slot.
549 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
550 (clone): Don't mess with the object's "name".
552 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
553 (eieio-object-value-get): Use eieio-object-set-name-string.
555 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
556 (eieio--object): Remove `name' field.
557 (eieio-defclass): Adjust to new convention where constructors don't
558 take an "object name" any more.
559 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
560 (eieio-validate-slot-value, eieio-oset-default)
561 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
562 (eieio-generic-call-primary-only): Simplify.
564 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
565 Use call-next-method.
566 (eieio-constructor): Rename from `constructor'.
567 (eieio-persistent-convert-list-to-object): Drop objname.
568 (eieio-persistent-validate/fix-slot-value): Don't hardcode
569 eieio--object-num-slots.
570 (eieio-named): Use a normal slot.
571 (slot-missing) <eieio-named>: Remove.
572 (eieio-object-name-string, eieio-object-set-name-string, clone)
573 <eieio-named>: New methods.
575 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
577 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
578 (method-*): Add a "eieio--" prefix to those constants.
580 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
582 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
584 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
586 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
587 `eieio-default-superclass'.
589 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
591 * emacs-lisp/eieio-custom.el: Use lexical-binding.
592 (eieio-object-value-to-abstract): Simplify.
594 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
595 (eieio-build-class-alist): Use dolist.
596 (eieio-all-generic-functions): Adjust to use of hashtables.
598 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
599 symbol-hashtable. It contains a hashtable instead of an obarray.
600 (generic-p): Use symbol property `eieio-method-hashtable' instead of
601 `eieio-method-obarray'.
602 (generic-primary-only-p, generic-primary-only-one-p):
604 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
605 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
606 (eieio-class-un-autoload): Use autoload-do-load.
607 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
608 Use new cl-deftype-satisfies. Adjust to use of hashtables.
609 Don't hardcode the value of eieio--object-num-slots.
610 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
611 Use a closure rather than a backquoted lambda.
612 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
613 function-documentation property.
614 (eieio-slot-originating-class-p, eieio-slot-name-index)
615 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
616 (eieio-generic-form): Adjust to use of hashtables.
617 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
618 additional class argument.
619 (eieio-generic-call-methodname): Remove, unused.
621 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
624 2015-01-08 Eli Zaretskii <eliz@gnu.org>
626 * simple.el (line-move-visual): When converting X pixel coordinate
627 to temporary-goal-column, adjust the value for right-to-left
628 screen lines. This fixes vertical-motion, next/prev-line, etc.
630 2015-01-08 Glenn Morris <rgm@gnu.org>
632 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
634 2015-01-07 K. Handa <handa@gnu.org>
636 * international/ccl.el (define-ccl-program): Improve the docstring.
638 2015-01-06 Sam Steingold <sds@gnu.org>
640 * shell.el (shell-display-buffer-actions): Remove,
641 use `display-buffer-alist' instead.
643 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
645 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
648 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
650 * minibuffer.el (completion-category-defaults): New var.
651 Set unicode-name to use substring completion.
652 (completion-category-defaults): Set it to nil.
654 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
656 Add mouse interaction to xref.
657 * progmodes/xref.el (xref--button-map): New variable.
658 (xref--mouse-2): New command.
659 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
660 the inserted references.
662 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
664 Less 'make' chatter for lisp dir
665 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
666 to make it clearer that the caller must specify it.
667 (compile-onefile): Remove, replacing by ...
668 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
669 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
670 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
671 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
672 Use AM_V_GEN to lessen 'make' chatter.
673 (.el.elc): Omit duplicate comment.
675 Less 'make' chatter in batch mode
676 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
677 * emacs-lisp/bytecomp.el (byte-compile-file):
678 * files.el (save-buffer, basic-save-buffer):
679 * international/quail.el (quail-update-leim-list-file):
680 Don't output messages like "Generating ..." in batch mode.
682 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
684 Unbreak `mouse-action' property in text buttons.
685 * button.el (push-button): Fix regression from 2012-12-06.
687 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
689 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
691 * menu-bar.el (menu-bar-goto-menu): Use it.
693 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
695 * progmodes/xref.el (xref--window-configuration): New variable.
696 (xref-show-location-at-point): New command.
697 (xref--restore-window-configuration): New function.
698 (xref-next-line, xref-prev-line): Delegate to
699 `xref-show-location-at-point'.
700 (xref--location-at-point): Don't signal the error.
701 (xref-goto-xref): Do that here instead.
702 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
703 to `pre-command-hook'.
704 (xref--xref-buffer-mode-map): Don't remap `next-line' and
705 `previous-line'. Additionally bind `xref-next-line' and
706 `xref-prev-line' to `n' and `p' respectively.
707 Bind `xref-show-location-at-point' to `C-o'.
709 2015-01-01 Eli Zaretskii <eliz@gnu.org>
711 * tool-bar.el (tool-bar-local-item)
712 (tool-bar-local-item-from-menu): Call force-mode-line-update to
713 make sure the tool-bar changes show on display.
715 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
717 Sync with Tramp 2.2.11.
719 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
720 Make an alias for `default-toplevel-value' if it doesn't exist.
722 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
723 Use `tramp-compat-delete-directory'.
725 * net/trampver.el: Update release number.
727 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
729 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
730 for remote files. (Bug#19449)
732 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
734 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
736 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
738 Less 'make' chatter in lisp directory
739 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
740 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
741 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
743 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
745 * info.el (info-display-manual): Limit the completion alternatives
746 to currently visited manuals if prefix argument is non-nil.
748 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
750 * Makefile.in (semantic): Simplify.
752 2014-12-30 Juri Linkov <juri@linkov.net>
754 * net/eww.el (eww-isearch-next-buffer): New function.
755 (eww-mode): Set multi-isearch-next-buffer-function to it.
757 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
759 * progmodes/xref.el (xref-find-definitions): Mention "no
760 identifier at point" case in the docstring.
762 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
763 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
764 and `separator-tag-file' items.
766 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
768 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
769 This is instead of system-name, which is both wrong here and obsolete.
770 * desktop.el (desktop-save-frameset):
771 * dnd.el (dnd-get-local-file-uri):
772 * nxml/rng-uri.el (rng-uri-file-name-1):
773 Prefer (system-name) to system-name, and avoid naming
774 locals 'system-name'.
775 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
777 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
779 * menu-bar.el (menu-bar-next-tag-other-window)
780 (menu-bar-next-tag): Remove.
782 2014-12-29 K. Handa <handa@gnu.org>
784 * international/mule.el (make-translation-table-from-alist):
785 Accept nil or zero-length vector for FROM and TO.
787 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
789 * net/eww.el (eww-mode): Truncate overlong lines for prettier
790 display when resizing.
792 * net/shr.el (shr-width): Default to using the window width when
795 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
797 Unbreak jumping to an alias's definition.
798 * emacs-lisp/find-func.el (find-function-library): Return a pair
799 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
800 (find-function-noselect): Use it.
801 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
802 `elisp--xref-identifier-location', incorporate logic from
803 `elisp--xref-find-definitions', use the changed
804 `find-function-library' return value.
806 2014-12-29 Juri Linkov <juri@linkov.net>
808 * comint.el (comint-history-isearch-message): Use field-beginning
809 instead of comint-line-beginning-position - that's more fixes for
810 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
811 (comint-history-isearch-message): Fix args of isearch-message-prefix.
813 2014-12-29 Juri Linkov <juri@linkov.net>
815 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
816 (vc-dir-mode-map): Bind it to "\C-o".
817 (vc-dir-menu-map): Add it to menu.
819 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
821 * progmodes/etags.el (find-tag-other-window)
822 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
823 (tags-apropos): Declare obsolete.
825 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
828 2014-12-28 Eli Zaretskii <eliz@gnu.org>
830 * international/mule.el (define-coding-system): Fix typos in the
833 2014-12-28 Kenichi Handa <handa@gnu.org>
835 * international/mule.el (define-coding-system): Improve the doc
838 2014-12-28 Ivan Shmakov <ivan@siamics.net>
840 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
841 elements in tables (bug#19444).
843 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
846 2014-12-28 Juri Linkov <juri@linkov.net>
848 * vc/compare-w.el: Require diff-mode for diff faces.
849 (compare-windows-removed, compare-windows-added): New faces
850 inheriting from diff faces.
851 (compare-windows): Define obsolete face alias.
852 (compare-windows-highlight): Replace face `compare-windows' with
853 new faces `compare-windows-added' and `compare-windows-removed'
855 (compare-windows-get-recent-window): Signal an error when
856 no other window is found (bug#19170).
858 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
860 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
861 Skip features that have no sources.
863 * simple.el (execute-extended-command):
864 When `suggest-key-bindings' is nil, don't.
866 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
868 python.el: Native readline completion.
869 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
870 (python-shell-completion-native-enable)
871 (python-shell-completion-native-output-timeout): New defcustoms.
872 (python-shell-completion-native-interpreter-disabled-p)
873 (python-shell-completion-native-try)
874 (python-shell-completion-native-setup)
875 (python-shell-completion-native-turn-off)
876 (python-shell-completion-native-turn-on)
877 (python-shell-completion-native-turn-on-maybe)
878 (python-shell-completion-native-turn-on-maybe-with-msg)
879 (python-shell-completion-native-toggle): New functions.
880 (python-shell-completion-native-get-completions): New function.
881 (python-shell-completion-at-point): Use it.
883 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
885 python.el: Enhance shell user interaction and deprecate
886 python-shell-get-or-create-process.
887 * progmodes/python.el (python-shell-get-process-or-error):
889 (python-shell-with-shell-buffer): Use it.
890 (python-shell-send-string, python-shell-send-region)
891 (python-shell-send-buffer, python-shell-send-defun)
892 (python-shell-send-file, python-shell-switch-to-shell): Use it.
893 Add argument MSG to display user-friendly message when no process
895 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
896 (python-shell-make-comint): Rename argument SHOW from POP.
897 Use display-buffer instead of pop-to-buffer.
898 (run-python): Doc fix. Return process.
899 (python-shell-get-or-create-process): Make obsolete.
901 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
903 * progmodes/python.el (python-shell-buffer-substring):
904 Handle cornercase when region sent starts at point-min.
906 2014-12-27 Eli Zaretskii <eliz@gnu.org>
908 * language/misc-lang.el (composition-function-table): Add Syriac
909 characters and also ZWJ/ZWNJ.
910 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
913 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
915 python.el: Fix message when sending region.
916 * progmodes/python.el (python-shell-send-region): Rename argument
917 send-main from nomain. Fix message.
918 (python-shell-send-buffer): Rename argument send-main from arg.
920 python.el: Cleanup temp files even with eval errors.
921 * progmodes/python.el (python-shell-send-file): Make file-name
922 mandatory. Fix temp file removal in the majority of cases.
924 python.el: Handle file encoding for shell.
925 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
926 (python-shell--save-temp-file): Write file with proper encoding.
927 (python-shell-buffer-substring): Add coding cookie for detected
928 encoding to generated content. Fix blank lines when removing
930 (python-shell-send-file): Handle file encoding.
931 (python-info-encoding-from-cookie)
932 (python-info-encoding): New functions.
934 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
936 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
937 Use `tramp-rsh-end-of-line', it ought to be more robust.
939 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
941 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
944 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
946 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
948 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
949 as end-of-line delimeter for passwords, when running on MS Windows.
951 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
953 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
954 of indent-line-function (bug#19433).
956 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
958 Fix line numbers on Python shell.
959 * progmodes/python.el (python-shell--save-temp-file): Do not
960 append coding cookie.
961 (python-shell-send-string): Generalize for
962 python-shell-send-region.
963 (python--use-fake-loc): Delete var.
964 (python-shell-buffer-substring): Cleanup fake-loc logic.
965 (python-shell-send-region): Remove fake-loc logic, simplify.
967 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
969 * progmodes/python.el (python-indent-post-self-insert-function):
970 Make colon to re-indent only for dedenters, handling
971 multiline-statements gracefully.
973 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
975 * net/tramp.el (tramp-handle-insert-file-contents):
976 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
978 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
980 * net/tramp-sh.el (tramp-send-command-and-read): New optional
982 (tramp-get-remote-path): Use it.
984 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
986 * subr.el (redisplay-dont-pause): Mark as obsolete.
988 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
990 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
991 (tramp-accept-process-output): Use nil as argument for
992 `accept-process-output', when there is a gateway prepended.
994 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
996 (tramp-gw-open-connection): Set process coding system 'binary.
997 (tramp-gw-open-network-stream): Handle HTTP error 403.
999 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
1001 (tramp-maybe-open-connection): Set connection property "gateway".
1003 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1005 * subr.el (sit-for): Tweak docstring (bug#19381).
1007 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1009 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
1010 stage to after `diff-index' (bug#19386).
1012 2014-12-27 João Távora <joaotavora@gmail.com>
1014 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
1015 `electric-pair-mode' (bug#19356).
1017 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1019 elisp-xref-find: Don't create buffers eagerly.
1021 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
1022 into `elisp--company-location'.
1023 (elisp--identifier-completion-table): Rename to
1024 `elisp--identifier-completion-table', and do not include just any
1025 symbols with a property list.
1026 (elisp-completion-at-point): Revert the 2014-12-25 change.
1027 (elisp--xref-identifier-file): New function.
1028 (elisp--xref-find-definitions): Use it.
1030 * emacs-lisp/find-func.el (find-function-library): New function,
1031 extracted from `find-function-noselect'.
1033 * progmodes/xref.el (xref-elisp-location): New class.
1034 (xref-make-elisp-location): New function.
1035 (xref-location-marker): New implementation.
1037 2014-12-27 Juri Linkov <juri@linkov.net>
1039 * minibuffer.el (minibuffer-completion-help):
1040 Use shrink-window-if-larger-than-buffer in window-height
1041 when temp-buffer-resize-mode is nil.
1043 * window.el (with-displayed-buffer-window): Remove window-height
1044 from the action alist in the temp-buffer-window-show call
1045 when window-height is handled explicitly afterwards (bug#19355).
1047 2014-12-27 Juri Linkov <juri@linkov.net>
1049 Support subdirectories when saving places in dired.
1050 * saveplace.el (toggle-save-place, save-place-to-alist)
1051 (save-places-to-alist, save-place-dired-hook):
1052 Use dired-current-directory instead of dired-directory (bug#19436).
1053 (save-place-dired-hook): Add check for alist to make the new
1054 format future-proof to allow other possible formats.
1056 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1058 python.el: Generate clearer shell buffer names.
1059 * progmodes/python.el (python-shell-get-process-name)
1060 (python-shell-internal-get-process-name): Use `buffer-name`.
1061 (python-shell-internal-get-or-create-process): Simplify.
1063 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
1065 Add basic xref apropos implementation to elisp-mode.
1067 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
1068 Filter out nil results.
1069 (elisp--xref-find-apropos): New function.
1070 (elisp-xref-find): Use it.
1072 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
1074 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
1076 * dired-aux.el (dired-maybe-insert-subdir):
1077 Make dired-maybe-insert-subdir always skip trivial files.
1079 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
1080 Dmitry Gutov <dgutov@yandex.ru>
1082 Consolidate cross-referencing commands.
1084 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
1085 `C-x 5 .' from etags.el to xref.el.
1087 * progmodes/xref.el: New file.
1089 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
1090 (elisp--identifier-location): New function, extracted from
1091 `elisp--company-location'.
1092 (elisp--company-location): Use it.
1093 (elisp--identifier-completion-table): New variable.
1094 (elisp-completion-at-point): Use it.
1095 (emacs-lisp-mode): Set the local values of `xref-find-function'
1096 and `xref-identifier-completion-table-function'.
1097 (elisp-xref-find, elisp--xref-find-definitions)
1098 (elisp--xref-identifier-completion-table): New functions.
1100 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
1101 favor of `xref--marker-ring'.
1102 (tags-lazy-completion-table): Autoload.
1103 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
1104 (find-tag-noselect): Use `xref-push-marker-stack'.
1105 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
1106 (etags--xref-limit): New constant.
1107 (etags-xref-find, etags--xref-find-definitions): New functions.
1109 2014-12-25 Martin Rudalics <rudalics@gmx.at>
1111 * cus-start.el (resize-mini-windows): Make it customizable.
1113 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
1115 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
1116 to (info "(emacs)Contributing"). (Bug#19299)
1118 2014-12-24 Martin Rudalics <rudalics@gmx.at>
1120 * window.el (mouse-autoselect-window-position-1): New variable.
1121 (mouse-autoselect-window-cancel)
1122 (mouse-autoselect-window-select, handle-select-window):
1123 With delayed autoselection select window only if mouse moves after
1124 selecting its frame.
1126 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
1128 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
1129 remote file names. (Bug#18782)
1131 2014-12-23 Sam Steingold <sds@gnu.org>
1133 * shell.el (shell-display-buffer-actions): New user option.
1134 (shell): Pass it to `pop-to-buffer' instead of hard-coding
1135 `pop-to-buffer-same-window'.
1137 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
1139 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
1140 (js-syntax-propertize-regexp): Use it to recognize "slash in
1141 a character class" (bug#19397).
1143 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1145 * completion.el: Use post-self-insert-hook (bug#19400).
1146 (completion-separator-self-insert-command)
1147 (completion-separator-self-insert-autofilling): Remove.
1148 (completion-separator-chars): New var.
1149 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
1150 of changing the keymap.
1151 (completion--post-self-insert): New function.
1152 (dynamic-completion-mode): Use it instead of rebinding keys.
1153 (cmpl--completion-string): Rename from completion-string.
1154 (add-completion-to-head, delete-completion): Let-bind it explicitly.
1156 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
1158 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
1159 by leveraging `syntax-ppss'.
1161 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
1163 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
1165 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
1167 * net/tramp-sh.el (tramp-histfile-override): Add :version.
1169 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
1171 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
1173 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
1175 * let-alist.el (let-alist): Enable access to deeper alists by
1176 using dots inside the dotted symbols.
1178 2014-12-19 Alan Mackenzie <acm@muc.de>
1180 Make C++11 uniform init syntax work.
1181 New keywords "final" and "override".
1182 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
1184 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
1186 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
1187 carefully for "are we at a declarator?" using
1188 c-back-over-member-initializers.
1189 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
1190 and "override" in the C++ value.
1192 2014-12-19 Martin Rudalics <rudalics@gmx.at>
1194 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
1196 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
1198 * net/nsm.el (nsm-save-host): Don't save the host name twice
1201 2014-12-18 Sam Steingold <sds@gnu.org>
1203 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
1204 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
1205 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
1206 * menu-bar.el (menu-bar-buffer-vector): Extract from
1207 `menu-bar-update-buffers'.
1208 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
1209 (buffer-menu-open): New user command, bound globally to C-f10,
1210 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
1211 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
1212 convert the value returned by `mouse-buffer-menu-map' to a list
1213 acceptable to `popup-menu' for `buffer-menu-open'.
1215 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
1217 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
1219 2014-12-18 Sam Steingold <sds@gnu.org>
1221 * emacs-lisp/package.el: Avoid compilation warning by declaring
1222 the `find-library-name' function.
1223 (package-activate-1): Fix the `with-demoted-errors' calls:
1224 the first argument must be a string literal.
1226 2014-12-18 Martin Rudalics <rudalics@gmx.at>
1228 Add code for "preserving" window sizes.
1229 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
1231 (dired-mark-pop-up): Preserve size of window showing marked files.
1232 * electric.el (Electric-pop-up-window):
1233 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
1234 with `preserve-size' t.
1235 * minibuffer.el (minibuffer-completion-help):
1236 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
1237 (Bug#19355). Preserve size of completions window.
1238 * register.el (register-preview): Preserve size of register
1240 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
1241 with `preserve-size' t (Bug#1291).
1242 * window.el (with-displayed-buffer-window): Add calls to
1243 `window-preserve-size'.
1244 (window-min-pixel-size, window--preservable-size)
1245 (window-preserve-size, window-preserved-size)
1246 (window--preserve-size, window--min-size-ignore-p): New functions.
1247 (window-min-size, window-min-delta, window--resizable)
1248 (window--resize-this-window, split-window-below)
1249 (split-window-right): Amend doc-string.
1250 (window--min-size-1, window-sizable, window--size-fixed-1)
1251 (window-size-fixed-p, window--min-delta-1)
1252 (frame-windows-min-size, window--max-delta-1, window-resize)
1253 (window--resize-child-windows, window--resize-siblings)
1254 (enlarge-window, shrink-window, split-window): Handle preserving
1256 (adjust-window-trailing-edge): Handle preserving window
1257 sizes. Signal user-error instead of an error when there's no
1258 window above or below.
1259 (window--state-put-2): Handle horizontal scroll bars.
1260 (window--display-buffer): Call `preserve-size' if asked for.
1261 (display-buffer): Mention `preserve-size' alist member in doc-string.
1262 (fit-window-to-buffer): New argument PRESERVE-SIZE.
1263 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
1264 scroll bar on ispell's windows. Don't count window lines and
1265 don't deal with dedicated windows.
1266 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
1267 do the window handling.
1268 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
1269 (ispell-display-buffer): New function to reuse, create and fit
1270 window to ispell's buffers. (Bug#3413)
1272 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1274 * emacs-lisp/package.el (package-activate): Do not re-activate or
1275 reload the dependencies (bug#19390).
1277 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
1279 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
1280 (c-update-modeline):
1281 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
1282 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
1283 (c-mode-base-map): Use c-subword-mode.
1285 2014-12-18 Eli Zaretskii <eliz@gnu.org>
1287 * international/mule-diag.el (describe-font-internal):
1288 Display additional info returned by font-info.
1290 * linum.el (linum--face-width): Rename from linum--face-height,
1291 and use the new functionality of font-info.
1292 (linum-update-window): Use linum--face-width and frame-char-width,
1293 instead of approximating with height.
1295 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1297 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
1298 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
1300 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
1302 (package-activate): Call itself on dependencies on PACKAGE with
1303 the same FORCE argument. Pass FORCE as RELOAD into
1304 `package-activate-1' (bug#19390).
1306 2014-12-17 Sam Steingold <sds@gnu.org>
1308 * emacs-lisp/package.el (package--list-loaded-files):
1309 Handle `(nil ...)' elements in `load-history'.
1311 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
1313 * net/tramp-sh.el (tramp-histfile-override): New variable.
1314 (tramp-open-shell, tramp-maybe-open-connection): Use it.
1316 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
1318 * vc/vc.el: Improve `dir-status-files' description.
1320 * emacs-lisp/package.el (package--list-loaded-files): Don't call
1321 file-truename on load-history elements (bug#19390).
1323 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
1325 * emacs-lisp/seq.el: New file.
1327 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1329 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
1330 is 0 and there is no input pending.
1332 2014-12-15 Juri Linkov <juri@linkov.net>
1334 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
1335 only on the return value (bug#19383).
1337 2014-12-15 Juri Linkov <juri@linkov.net>
1339 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
1340 the wrapped search by the length of the search string to be able
1341 to lazy-highlight the whole search string at point (bug#19353).
1343 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1345 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
1347 2014-12-14 Alan Mackenzie <acm@muc.de>
1349 * cus-start.el (all): Add fast-but-imprecise-scrolling.
1351 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
1353 * let-alist.el: Add lexical binding.
1355 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
1357 * emacs-lisp/package.el (package-menu-mode): Use an extra column
1358 for the "Version" column, to accomodate date-and-time-based
1361 2014-12-14 Cameron Desautels <camdez@gmail.com>
1363 * cus-edit.el (custom-unsaved-options): New function, extracted
1364 from `customize-unsaved'.
1365 (custom-unsaved): Use it.
1366 (custom-prompt-customize-unsaved-options): New function.
1369 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1371 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
1373 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1375 Move ASYNC argument to the `diff' VC command to the fifth
1376 position, for better compatibility with existing third-party code,
1379 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
1380 backend `diff' command in the last position.
1382 * vc/vc-svn.el (vc-svn-diff):
1383 * vc/vc-src.el (vc-src-diff):
1384 * vc/vc-sccs.el (vc-sccs-diff):
1385 * vc/vc-rcs.el (vc-rcs-diff):
1386 * vc/vc-mtn.el (vc-mtn-diff):
1387 * vc/vc-hg.el (vc-hg-diff):
1388 * vc/vc-git.el (vc-git-diff):
1389 * vc/vc-dav.el (vc-dav-diff):
1390 * vc/vc-cvs.el (vc-cvs-diff):
1391 * vc/vc-bzr.el (vc-bzr-diff):
1392 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
1394 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
1396 * emacs-lisp/cconv.el (cconv--analyze-use):
1397 Rename from cconv--analyse-use.
1398 (cconv--analyze-function): Rename from cconv--analyse-function.
1399 (cconv-analyze-form): Rename from cconv-analyse-form.
1401 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
1403 * net/shr.el (shr-next-link): Don't error out at eob.
1405 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1407 * isearch.el (isearch-open-necessary-overlays): Open overlay
1408 ending at point (bug#19333).
1410 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1412 * net/shr.el (shr-fold-text): New function.
1413 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
1415 (shr-fold-text): Inhibit state from being altered.
1417 * files.el (directory-files-recursively): Really check whether
1419 (directory-name-p): New function.
1420 (directory-files-recursively): Use it.
1422 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
1424 * emacs-lisp/package.el (package--list-loaded-files): New function
1425 to list files in a given directory which correspond to already
1427 (package-activate-1): Reload files given by `package--list-loaded-files'.
1428 Fix bug#10125, bug#18443, and bug#18448.
1430 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
1432 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
1434 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
1436 * simple.el (password-word-equivalents): Add "passcode", used for
1437 numeric secrets like PINs or RSA tokens.
1439 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
1441 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
1442 order to determine `tramp-own-remote-path'.
1444 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1446 * progmodes/python.el (python-shell-parse-command):
1447 Quote `python-shell-interpreter`. (Bug#19289)
1449 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1451 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
1452 (python-indent-levels): Document extra value.
1453 (python-indent-calculate-indentation): Return `noindent' in strings.
1454 (python-indent-post-self-insert-function)
1455 (python-indent-calculate-levels): Handle new value.
1457 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1459 * net/network-stream.el (network-stream-open-starttls): No need to
1460 check for the availability of `gnutls-available-p'.
1462 * files.el (directory-files-recursively): Don't follow symlinks to
1465 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
1467 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
1468 * vc/vc.el: latest-on-branch-p is no longer a public method.
1470 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
1471 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
1472 Remove `rollback' method, to be replaced in the future by uncommit.
1474 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
1476 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
1477 that there is empty output.
1479 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1481 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
1482 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
1484 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
1486 * let-alist.el: Add new package and macro.
1488 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
1490 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
1491 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
1492 it's a shoot-self-in-foot archaism. Workfiles are always kept.
1494 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
1496 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
1497 trouble with ls over ftp. These flags result in ls returning no
1498 output, causing Tramp-breakage. (bug#19192)
1500 2014-12-10 Andreas Schwab <schwab@suse.de>
1502 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
1504 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1506 * files.el (directory-files-recursively):
1507 Use `file-name-all-completions' instead of `directory-files' for
1510 * net/shr.el (shr-tag-object): Don't bug out on text elements in
1513 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
1515 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
1517 (ruby-toggle-string-quotes): New command that allows you to quickly
1518 toggle between single-quoted and double-quoted string literals.
1520 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
1522 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
1523 list, avoids problems witt names containing hyphens.
1525 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
1527 Sync with upstream verilog-mode revision aa4b777.
1528 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1529 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
1530 (verilog-set-auto-endcomments): Automatically comment property/
1531 endproperty blocks to match other similar blocks like sequence/
1532 endsequence, function/endfunction, etc. Reported by Alex Reed.
1533 (verilog-set-auto-endcomments): Fix end comments for functions of
1534 type void, etc. Detect the function- or task-name when
1535 auto-commenting blocks that lack an explicit portlist.
1536 Reported by Alex Reed.
1537 (verilog-nameable-item-re): Fix nameable items that can have an
1538 end-identifier to include endchecker, endgroup, endprogram,
1539 endproperty, and endsequence. Reported by Alex Reed.
1540 (verilog-preprocessor-re, verilog-beg-of-statement):
1541 Fix indentation of property/endproperty around pre-processor
1542 directives. Reported by Alex Reed.
1543 (verilog-label-be): When auto-commenting a buffer, consider
1544 auto-comments on all known keywords (not just a subset thereof).
1545 Reported by Alex Reed.
1546 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
1547 Reported by Alex Reed.
1548 (verilog-beg-of-statement-1, verilog-at-constraint-p):
1549 Fix hanging with many curly-bracket pairs, bug663.
1550 (verilog-do-indent): Fix electric tab deleting form-feeds.
1551 Note caused by indent-line-to deleting tabls pre 24.5.
1552 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
1553 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
1554 (verilog-read-always-signals, verilog-auto-sense-sigs)
1555 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
1556 bug844. Reported by Greg Hilton.
1558 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
1560 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
1561 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
1562 'foreach', and 'do' keywords.
1563 (verilog-endcomment-reason-re, verilog-beg-of-statement):
1564 Fix labeling do-while blocks, bug842.
1565 (verilog-backward-token): Fix indenting sensitivity lists with
1566 named events, bug840.
1568 2014-12-09 Reto Zimmermann <reto@gnu.org>
1570 Sync with upstream vhdl mode v3.36.1.
1571 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1572 (vhdl-compiler-alist): Anchor all error regexps.
1573 (vhdl-compile-use-local-error-regexp): Change default to nil.
1574 (vhdl-asort, vhdl-anot-head-p): Remove.
1575 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
1576 Remove optional argument of vhdl-aget and update all callers.
1577 (vhdl-import-project): Also set `vhdl-compiler'.
1579 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1581 * files.el (find-files): New function.
1583 * net/shr.el (shr-dom-print): Don't print comments.
1584 (shr-tag-svg): Give inline SVG images the right type.
1586 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
1587 certificates in the header line.
1588 (eww-invalid-certificate, eww-valid-certificate): New faces.
1590 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1592 * progmodes/python.el (inferior-python-mode):
1593 Set `comint-prompt-read-only` to `t` only locally.
1595 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1597 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
1598 (nsm-format-certificate): Include more data about the connection.
1599 (nsm-query): Fill the text to that it looks nicer.
1600 (nsm-check-protocol): Also warn if using SSL3 or older.
1602 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1604 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
1606 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
1608 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
1610 * info.el (Info-mode-map): Remove left-over binding.
1612 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
1613 (avl-tree--root): Remove redundant defsetf.
1615 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1617 * net/nsm.el (network-security-level): Remove the detailed
1618 description, which was already outdated, and refer the users to
1620 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
1623 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
1625 * net/eww.el (eww-buffers-mode): New major mode.
1626 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
1627 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
1628 New commands/functions (bug#19131).
1630 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1632 * net/gnutls.el (gnutls-negotiate): Ignore files found via
1633 'file-name-handler-alist' since the gnutls library can't use those
1636 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
1638 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
1639 when FILES is non-nil (bug#19304).
1641 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
1643 * vc/vc-arch.el: Move to obsolete directory so a test framework
1644 won't trip over bit-rot in it. There has been no Arch snapshot
1647 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1649 * net/eww.el (eww-follow-link): Revert prefix behaviour to
1651 (eww-copy-page-url): Add doc string.
1653 2014-12-07 Ivan Shmakov <ivan@siamics.net>
1655 * net/eww.el (eww): Move history recording here...
1656 (eww-browse-url): ... from here (bug#19253).
1658 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
1659 iterating over possible buffer names.)
1661 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1663 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
1664 (eww-current-buffer): Compilation fix for bug#18550 patch.
1666 2014-12-07 Ivan Shmakov <ivan@siamics.net>
1668 * net/eww.el (eww-list-histories): Restore the history in the
1669 correct buffer (bug#18550).
1671 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1673 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
1674 displaying shortened titles first (bug#16398).
1676 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
1678 * progmodes/python.el: Recognize docstrings.
1679 (python-docstring-at-p, python-font-lock-syntactic-face-function):
1681 (python-mode): Use them.
1683 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
1685 * net/newst-treeview.el (newsticker--treeview-list-add-item)
1686 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
1687 (newsticker--treeview-create-groups-menu)
1688 (newsticker--treeview-create-tree-menu): Remove.
1689 (newsticker--treeview-tree-open-menu): New.
1690 (newsticker-treeview-tree-click): Pass event to
1691 `newsticker-treeview-tree-do-click'.
1692 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
1694 2014-12-05 Juri Linkov <juri@linkov.net>
1696 * comint.el (comint-history-isearch-search)
1697 (comint-history-isearch-wrap): Use field-beginning instead of
1698 comint-line-beginning-position.
1699 (comint-send-input): Go to the end of the field instead of the end
1700 of the line to accept whole multi-line input.
1701 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1703 2014-12-05 Juri Linkov <juri@linkov.net>
1705 * minibuffer.el (minibuffer-completion-help):
1706 Compare selected-window with minibuffer-window to check whether
1707 completions should be displayed near the minibuffer. (Bug#17809)
1708 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
1710 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
1712 * vc/vc-mtn.el (vc-mtn-root):
1713 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
1715 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
1718 of the whole pipe when indenting an opening keyword after a |.
1719 Generalize this treatment to opening keywords like "while" (bug#18031).
1721 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
1723 * simple.el (newline): Place the hook buffer-locally,
1724 to make sure it's first.
1726 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1727 Fix handling of symbols with different syntax at beginning/end or with
1728 symbol rather than word syntax.
1730 2014-12-05 Eli Zaretskii <eliz@gnu.org>
1732 * simple.el (line-move): If noninteractive, call line-move-1, not
1733 forward-line, since the former is compatible with line-move-visual
1734 both in terms of the column to which it moves and the return
1737 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
1739 * vc/ediff-init.el (ediff-odd-p): Remove.
1740 (ediff-background-face): Use cl-oddp instead.
1741 (ediff-buffer-live-p): Make it a defsubst.
1743 * tooltip.el (tooltip-region-active-p): Remove.
1745 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
1746 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
1748 * fringe.el (fringe-bitmap-p): Make it a plain function.
1750 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
1751 (class-p, generic-p, eieio-object-p, class-abstract-p):
1752 Make them defsubst, so as to avoid corner case problems where
1753 the arg might be evaluated in the condition-case, or it can't be passed
1754 to higher-order functions like `cl-some'.
1756 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1758 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
1759 and remove old menu-related code.
1761 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1763 * net/eww.el (eww-display-pdf): Let mailcap determine how to
1764 display PDF files (bug#19270).
1766 2014-12-05 Juri Linkov <juri@linkov.net>
1768 Compare with the most recent window by default.
1769 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
1770 (compare-windows-get-recent-window)
1771 (compare-windows-get-next-window): New functions.
1772 (compare-windows, compare-windows-sync-default-function):
1773 Use `compare-windows-get-window-function' instead of `next-window'.
1774 (compare-windows): Add diff/match messages with region boundaries.
1777 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1779 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
1781 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1783 * net/shr.el (shr--extract-best-source): Ignore non-text children.
1785 2014-12-04 Eli Zaretskii <eliz@gnu.org>
1787 Implement copying of a buffer portion while preserving visual order.
1788 * simple.el (bidi-directional-controls-chars)
1789 (bidi-directional-non-controls-chars): New variables.
1790 (squeeze-bidi-context-1, squeeze-bidi-context)
1791 (line-substring-with-bidi-context)
1792 (buffer-substring-with-bidi-context): New functions.
1794 * files.el (file-tree-walk): Doc fix.
1796 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
1797 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1799 * autoinsert.el (auto-insert-alist): Update C/C++ header and
1800 program support to match more extensions. Replace non-alnum
1801 characters when generating include guards (headers) and check for
1802 more extensions when generating includes (programs)
1805 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
1807 * files.el (file-tree-walk): Fix docstring.
1809 2014-12-03 Karl Fogel <kfogel@red-bean.com>
1811 Fix bug whereby saving files hung in VC hook.
1813 Saving a buffer visiting a file under SVN control would hang if
1814 the remote repository were unreachable, because the VC hooks tried
1815 to run "svn status -u" on the file, where the "-u" tells svn to
1816 get update information from the remote repository.
1817 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
1819 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
1820 argument and always pass "-v" to "svn status", never "-u".
1822 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1824 * emacs-lisp/inline.el: Fix up copyright header.
1825 (inline-quote, inline-const-p, inline-const-val, inline-error):
1826 Silence compiler warnings.
1827 (inline-letevals): Fix edebug spec.
1828 (inline--testconst-p): Consider lambda expressions as const-p.
1829 (inline--getconst-val): Use inline--testconst-p.
1831 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
1832 and change default to stay in the minibuffer when called from
1833 the minibuffer (bug#19250).
1834 (lazy-completion-table): Use this new argument to preserve the
1837 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
1838 incorrect lexical elements (bug#19250).
1840 2014-12-03 A. N. Other <none@example.com>
1842 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
1844 2014-12-02 Glenn Morris <rgm@gnu.org>
1846 * whitespace.el (whitespace-big-indent-regexp): Add :version.
1848 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
1850 * subr.el (filter): New macro. Because it's just silly for a Lisp
1851 not to have this in 2014. And VC needs it.
1853 * vc.el: All backends: API simplification: Abolish dir-status.
1854 It's replaced by dir-status-files.
1856 * vc.el: All backends: API simplification: Remove 4th
1857 'default-state' argument from vc-dir-status files and its backend
1858 methods - no backend method ever set it. It was used only in the
1859 fallback method to to set a default of 'up-to-date, though a
1860 convoluted call chain obscured this.
1862 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
1864 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
1865 improving behavior on directories using multiple file-oriented VCSes.
1867 * vc/vc.el: All backends: API simplification; clear-headers
1868 is no longer a public method. It is now local to the one place
1869 it's used, in the RCS steal-lock method.
1871 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1873 * vc/vc.el: In all backends: API simplification; could-register
1874 is no longer a public method. (vc-cvs.el still has a private
1877 * vc/vc.el: In all backends: API cleanup; the backend diff method
1878 takes an explicit async flag. This eliminates a particularly ugly
1881 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
1882 VC randomly/unpredictably fails without it; cause not yet established.
1884 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1886 Merge some of the differences from the standalone CC-mode.
1887 The main change is to only use the `category' text-property only when
1888 available. For that many calls are changed to use c-get-char-property,
1889 c-next-single-property-change, c-sc-scan-lists,
1890 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
1892 * progmodes/cc-mode.el (c-just-done-before-change): New var.
1893 (c-basic-common-init): Initialize it.
1894 (c-common-init): Only use mode-require-final-newline when available.
1895 (c-before-change): Check and set c-just-done-before-change.
1896 (c-after-change): Re-set c-just-done-before-change.
1897 (c-advise-fl-for-region): New macro.
1898 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
1899 (font-lock-after-change-function, jit-lock-after-change):
1902 * progmodes/cc-langs.el (c-modified-constant): New lang var.
1903 (c-known-type-key): Don't make a list just to throw it away.
1905 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
1906 Handle the case where categories are not available.
1907 (c-record-parse-state-state, c-replay-parse-state-state):
1908 Handle marker values.
1909 (c-before-change-check-<>-operators): Look for the `syntax-table'
1910 property rather than for the corresponding `category'.
1911 (c-looking-at-decl-block): Remove unused var
1912 `c-disallow-comma-in-<>-arglists'.
1913 (c-forward-<>-arglist-recur): Remove unused var
1914 `orig-record-found-types'.
1916 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
1917 (c-use-category): New const.
1918 (c-next-single-property-change): New macro.
1919 (c-region-is-active-p): Prefer region-active-p when available.
1920 (c-search-backward-char-property): Fix old min/max typo; probably
1922 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
1923 Turn them into macros that obey c-use-category.
1924 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
1925 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
1926 (c-sc-scan-lists, c-sc-parse-partial-sexp)
1927 (c-looking-at-non-alphnumspace): New macros.
1928 (c-sc-parse-partial-sexp-no-category): New function.
1929 (c-emacs-features): Add `category-properties' element.
1931 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1932 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
1934 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
1935 (c-indent-line-or-region): Use c-region-is-active-p.
1937 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
1938 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
1939 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
1940 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
1941 (cc-bytecomp-obsolete-fun): Delete unused functions.
1943 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
1945 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1947 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
1950 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1952 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
1953 current "project" rather than just the current directory.
1954 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
1955 the file names make sense.
1957 * vc/smerge-mode.el (smerge-swap): New command.
1959 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
1961 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
1963 * net/newst-treeview.el (newsticker--treeview-item-show):
1964 Check window liveliness before measuring its width.
1966 * net/newst-backend.el (newsticker--get-news-by-url-callback):
1967 Pass correct status to `newsticker--sentinel-work'.
1968 (newsticker--sentinel-work): Use "newsticker--download-error" as
1969 guid in order to prevent multiple "Could not download..."
1970 messages. Fixes bug#19166.
1972 2014-12-01 Ivan Shmakov <ivan@siamics.net>
1974 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
1975 correct buffer (bug#19225).
1977 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1979 * net/nsm.el (network-security-level): Change the default to `medium'.
1981 * net/eww.el (eww): Leave point in a place that doesn't cause
1982 scrolling when displaying "Loading...".
1984 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1986 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
1987 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
1988 'merge-branch'. Prompting for merge revisions is pushed down to
1989 the back ends; this fixes a layering violation that caused bad
1992 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1993 vc-stay-local-p and repository-hostname are no longer public
1994 methods. Only the CVS and SVN backends used these, and the SVN
1995 support was conditioned out because svn status -v is too slow.
1996 The CVS back end retains this machinery and the vc-stay-local
1997 configuration variable now only affects it.
1999 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2001 * emacs-lisp/inline.el: New file.
2003 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2005 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2006 vc-state-heuristic is no longer a public method, having been
2007 removed where it is redundant, unnecessary, or known buggy.
2008 This eliminated all backends except CVS. Eliminates bug#7850.
2010 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
2011 Eliminate vc-mistrust-permissions. It was only relevant to the
2012 RCS and SCCS back ends and defaulted to t. Code now always
2013 mistrusts permissions - by actual measurement the effect on
2014 performance is negligible. As a side effect bug#11490 is now
2017 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2018 vc-workfile-unchanged-p is no longer a public method (but the RCS
2019 and SCCS back ends retain it as a private method used in state
2020 computation). This method was redundant with vc-state and usually
2021 implemented as a trivial call to same. Fixes the failure mode
2022 described in bug#694.
2024 * vc/vc.el: All backends: API simplification; init-revision is
2025 gone, and vc-registered functions no longer take an
2026 initial-revision argument.
2028 2014-11-29 Glenn Morris <rgm@gnu.org>
2030 * vc/vc-src.el (vc-src, vc-src-diff-switches)
2031 (vc-src-master-templates): Fix :version tags.
2033 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
2035 * outline.el (outline-move-subtree-down): Refactor and improve code.
2037 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2038 Stefan Monnier <monnier@iro.umontreal.ca>
2040 * outline.el (outline-move-subtree-down): Make sure we can move
2041 forward to find the end of the subtree and the insertion point
2044 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2046 * progmodes/python.el (python-shell-completion-setup-code):
2047 Use __builtin__ module (or builtins in Python 3) and catch all errors
2048 when importing readline and rlcompleter.
2050 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2052 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
2053 (todo-revert-buffer): New function.
2054 (todo-modes-set-1): Use it as the buffer-local value of
2055 revert-buffer-function.
2057 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2059 * calendar/todo-mode.el (todo-mode): If called interactively, just
2060 display a message saying to call todo-show to enter Todo mode
2063 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
2065 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
2068 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
2071 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2073 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
2074 remote `buffer-file-name'.
2076 2014-11-29 Leo Liu <sdl.web@gmail.com>
2078 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
2080 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2082 Set PYTHONUNBUFFERED on shell startup.
2084 * progmodes/python.el (python-shell-unbuffered): New var.
2085 (python-shell-calculate-process-environment): Use it.
2087 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2089 * net/tramp.el (tramp-action-password): Clean password on subsequent
2090 attempts even if there was no wrong password indication. (Bug#19047)
2092 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
2094 (tramp-open-connection-setup-interactive-shell): No need to check
2095 for nil as `tramp-get-remote-locale' return value.
2097 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2099 * vc/vc-git.el (vc-git-command, vc-git--call):
2100 Bind coding-system-for-read and coding-system-for-write to
2101 vc-git-commits-coding-system.
2102 (vc-git-previous-revision): Use "~1" instead of "^", since the
2103 latter is a special character for MS-Windows system shells.
2105 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2107 Improve XEmacs compatibility.
2109 * net/tramp.el (tramp-autoload-file-name-handler):
2110 Wrap `temporary-file-directory' by `symbol-value', it doesn't
2112 (tramp-read-passwd): Don't use `with-timeout-suspend' and
2113 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
2114 (tramp-time-less-p, tramp-time-subtract): Remove functions.
2115 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
2116 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
2117 * net/tramp-cache.el (tramp-get-file-property):
2118 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2119 Use `time-less-p' and `time-subtract, respectively.
2121 * net/tramp-adb.el (top): Do not require time-date.el.
2123 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
2125 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2126 Check, whether `utf-8' is a valid coding system.
2128 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2130 * vc/vc.el (vc-retrieve-tag): Doc fix.
2132 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2134 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
2137 2014-11-28 Martin Rudalics <rudalics@gmx.at>
2139 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
2140 * help.el (help-window-old-frame): New variable.
2141 (help-window-select): Default to nil (Bug#11039).
2143 (help-window-setup): When the help window appears on another
2144 frame and `help-window-select' is non-nil, give that frame input
2145 focus too (Bug#19012).
2146 (with-help-window): Store selected frame in
2147 help-window-old-frame.
2149 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
2151 * net/newst-treeview.el (newsticker--treeview-load): Take care of
2152 nil value for `newsticker-groups-filename'.
2154 2014-11-28 Daiki Ueno <ueno@gnu.org>
2156 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2157 (epa-sign-region, epa-encrypt-region):
2158 Use `epg-context-set-{passphrase,progress}-callback', instead of
2159 `setf'. This partially reverts commit 9e48a95c (bug#19150).
2160 Reported by José A. Romero L.
2162 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2164 * net/eww.el (eww-restore-history):
2165 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
2167 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2169 * net/newst-backend.el (newsticker--parse-atom-1.0):
2170 Handle embedded (x)html in summary node.
2172 2014-11-27 Sam Steingold <sds@gnu.org>
2174 * menu-bar.el (menu-bar-open): When everything else fails,
2175 use (mouse-menu-bar-map).
2177 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2179 * net/newst-treeview.el (newsticker-groups-filename):
2180 Change default value to nil. Point out that variable is obsolete in doc
2182 (newsticker--treeview-load): Change wording of the questions the
2183 user is asked when `newsticker-groups-filename' is found to be
2184 used and we offer to read and remove the groups file. (Bug#19165)
2186 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2188 * net/eww.el (eww): Record the new URL immediately, so that if the
2189 HTTP fetch fails, we have the right URL in the buffer.
2190 (eww-process-text-input): Don't shorten the input field if
2191 deleting at the last character (bug#19085).
2192 (eww-restore-history): Inhibit change functions while restoring
2194 (eww-process-text-input): Fix deletion at the start of the field, too.
2195 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
2196 (eww-process-text-input): Try to keep track of the size more reliably.
2198 * dom.el (dom-pp): New function.
2200 2014-11-27 Eli Zaretskii <eliz@gnu.org>
2202 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
2203 Don't assume --long is the default for "bzr log", always specify
2204 it explicitly, in case the user defined an alias for 'log' that
2205 uses some other format.
2207 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2209 * progmodes/python.el (python-eldoc--get-doc-at-point):
2210 Strip shell output before returning. (bug#18794)
2212 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
2214 Fix indentation before `!=' and after `+='. Originally reported
2215 in https://github.com/mooz/js2-mode/issues/174.
2216 * progmodes/js.el (js--indent-operator-re): Make assignments and
2217 (in)equality operator a separate case.
2218 (js--continued-expression-p): Escape the second `+' in the regexp.
2220 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2222 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
2224 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2226 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
2227 when querying about new certificates.
2229 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
2231 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
2233 (dom-elements): Protect against non-text nodes.
2234 (dom-non-text-children): New function.
2236 * net/eww.el (eww-tag-title): Use `dom-text'.
2238 2014-11-26 Sam Steingold <sds@gnu.org>
2240 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
2242 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2244 * net/eww.el (eww-highest-readability): More dom.el fixes.
2246 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
2248 * net/newst-backend.el (newsticker--parse-generic-items):
2249 Take care of UIDs when adding elements to cache.
2251 2014-11-26 Alan Mackenzie <acm@muc.de>
2253 Remove spurious reference to symbol category_properties.
2254 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
2256 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2258 * net/eww.el: Use the new dom.el accessors throughout.
2260 * net/shr.el: Ditto.
2264 2014-11-26 Glenn Morris <rgm@gnu.org>
2266 * arc-mode.el (archive-visit-single-files): Add :version.
2268 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2270 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
2272 (nsm-warnings-ok-p): The new version of this function always
2273 returned nil when everything was OK.
2275 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
2277 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
2279 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
2280 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
2282 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2284 * emacs-lisp/byte-run.el (function-put): Match argument names to
2287 2014-11-24 Sam Steingold <sds@gnu.org>
2289 * vc/vc-hooks.el (vc-directory-exclusion-list):
2290 Fix a trivial typo (bug#19171).
2292 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2294 * vc/vc-hooks.el (vc-state-base-face): Don't override
2297 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2299 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
2300 (eww-process-text-input): Inhibit read only so that input fields
2301 don't get shortened (bug#19085).
2303 2014-11-24 Leo Liu <sdl.web@gmail.com>
2305 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
2307 * window.el (with-temp-buffer-window)
2308 (with-current-buffer-window, with-displayed-buffer-window):
2309 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
2310 * emacs-lisp/cl-lib.el (substring):
2311 * emacs-lisp/cl-extra.el (cl-getf): Use it.
2313 2014-11-24 Eli Zaretskii <eliz@gnu.org>
2315 * isearch.el (isearch-update): Don't assume
2316 pos-visible-in-window-p will return nil when point is hscrolled
2317 out of view. (Bug#19157)
2319 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
2321 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
2322 (eww-follow-link): Follow in new buffer in case of prefix
2323 argument, open externally with double prefix (bug#19130).
2325 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2327 * net/eww.el (eww-display-html): Decode the document-defined charset.
2328 (eww): Pop to the *eww* buffer immediately after executing the
2329 `M-x eww' command to avoid having buffers pop up later.
2330 (eww-display-html): Don't pop the *eww* buffer.
2331 (eww-display-raw): Ditto.
2332 (eww-display-image): Ditto.
2333 (eww-follow-link): Make going to #targets in the page work again.
2335 2014-11-23 Ivan Shmakov <ivan@siamics.net>
2337 * net/eww.el (eww-suggest-uris): New variable.
2338 (eww-suggested-uris): New function.
2339 (eww): Default to URL under point.
2340 (eww-links-at-point): New function.
2342 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2344 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
2346 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2348 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
2350 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2352 * net/eww.el (eww-set-character-encoding): New command and keystroke.
2353 (eww-display-raw): Use it (bug#16225).
2355 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2357 * net/nsm.el (network-security-level): Rename from
2358 `nsm-security-level' and documented.
2360 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
2361 we're sending a password.
2363 * net/nsm.el: New file that implements a Network Security Manager.
2365 * net/network-stream.el (open-network-stream): Add a new
2366 :warn-unless-encrypted parameter.
2367 (network-stream-open-plain): Allow warning unless encrypted.
2368 (network-stream-open-starttls): Call the Network Security Manager.
2369 (network-stream-open-tls): Ditto.
2371 2014-11-23 Leo Liu <sdl.web@gmail.com>
2373 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
2374 (calendar-chinese-to-absolute-for-diary)
2375 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
2376 Handle leap months in Chinese calendar. (Bug#18953)
2378 2014-11-22 Alan Mackenzie <acm@muc.de>
2380 Fix error with `mark-defun' and "protected:" in C++ Mode.
2381 Fixes: debbugs:19134.
2383 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
2384 return code of (label) from c-beginning-of-decl-1.
2386 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
2388 * net/newst-backend.el (newsticker--sentinel-work):
2389 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
2391 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
2393 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
2394 (tramp-sh-handle-process-file): Propagate `process-environment'.
2396 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
2397 Tramp propagates environment variables now.
2399 2014-11-22 Eric S. Raymond <esr@snark>
2401 * vc/vc-filewise.el: New file to isolate code used only by the
2402 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
2403 live in vc.el and certainly not in vc-hooks.el.
2405 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
2406 This is preparatory to isolating all the 'master' functions
2407 used only by the file-oriented back ends. With this done first,
2408 the substantive diffs will be easier to read.
2410 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2412 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
2413 that is recognized by `help-mode'.
2415 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2417 * desktop.el (desktop-create-buffer): Use activate-mark to set
2418 `mark-active' (bug#19058).
2420 2014-11-21 Eric S. Raymond <esr@snark>
2422 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
2425 2014-11-21 Eli Zaretskii <eliz@gnu.org>
2427 * vc/vc.el (vc-deduce-fileset): Support invocation from
2428 *vc-change-log* buffer. (Bug#19084)
2430 2014-11-13 Matthew Leach <matthew@mattleach.net>
2432 * arc-mode.el (archive-visit-single-files): New.
2433 (archive-mode): Visit file if archive contains a single file.
2436 2014-11-21 Ulrich Müller <ulm@gentoo.org>
2438 * vc/vc.el: Fix a typo in the commentary.
2440 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
2442 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
2443 testing and a real log-view mode.
2445 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
2446 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
2447 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
2448 checkout methods; where it matters (which is only in SCCS and RCS)
2449 files are always checked out editable. This may actually have
2450 been dynamically true already - it looks like the vc-next-action
2451 code evolved past visiting the other case. Tested with RCS.
2453 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
2454 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
2455 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
2456 argument from the backend checkin methods. Only the RCS, SCCS,
2457 and CVS back ends tried to do anything with it, and that code was
2458 never exercised. Chiseling away the cruft of decades...
2460 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2462 * net/eww.el (eww-render): Remove a no-op :title setting.
2464 2014-11-19 Ivan Shmakov <ivan@siamics.net>
2466 * net/eww.el (eww-history-limit): New variable.
2467 (eww-save-history): Use it (bug#19105).
2468 (eww-reload): Reload the page in the right buffer.
2470 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2472 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
2474 2014-11-19 Ivan Shmakov <ivan@siamics.net>
2476 * net/eww.el (eww-desktop-remove-duplicates)
2477 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
2478 (eww-mode): Set up desktop mode (bug#18010).
2479 (eww-desktop-data-save, eww-desktop-data-1)
2480 (eww-desktop-history-duplicate, eww-desktop-misc-data)
2481 (eww-restore-desktop): New functions.
2483 2014-11-19 Eli Zaretskii <eliz@gnu.org>
2485 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
2486 correct buffer. (Bug#19101)
2488 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2490 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
2491 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
2493 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
2495 * ido.el (ido-bury-buffer-at-head): New command.
2496 (ido-buffer-completion-map): Bind it to C-S-b.
2498 2014-11-18 Juri Linkov <juri@linkov.net>
2500 * simple.el (next-line-or-history-element): Wrap next-line
2501 in with-no-warnings.
2502 (previous-line-or-history-element): Wrap previous-line
2503 in with-no-warnings.
2505 2014-11-18 Juri Linkov <juri@linkov.net>
2507 * progmodes/grep.el (grep-compute-defaults):
2508 Compute grep-highlight-matches before its use.
2510 2014-11-18 Juri Linkov <juri@linkov.net>
2512 * replace.el (query-replace-from-to-separator): Turn defvar into
2513 defcustom. Wrap char-displayable-p in ignore-errors because an
2514 attempt to autoload char-displayable-p fails during pre-loading.
2515 Move (propertize "\0" ... 'separator t) out of customizable part
2516 to query-replace-read-from.
2517 (query-replace-read-from): Call custom-reevaluate-setting on
2518 query-replace-from-to-separator to reevaluate the separator
2519 depending on the return value of char-displayable-p.
2520 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
2522 2014-11-18 Juri Linkov <juri@linkov.net>
2524 * bindings.el (minibuffer-local-map): Rebind [down] from
2525 next-history-element to next-line-or-history-element, and [up]
2526 from previous-history-element to previous-line-or-history-element.
2528 * simple.el (next-line-or-history-element)
2529 (previous-line-or-history-element): New commands.
2530 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
2532 2014-11-18 Leo Liu <sdl.web@gmail.com>
2534 * emacs-lisp/nadvice.el (define-advice): New macro.
2535 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2537 (lisp-font-lock-keywords-1): Add define-advice.
2539 2014-11-18 Daiki Ueno <ueno@gnu.org>
2541 * epg.el (epg-context): New slot EDIT-CALLBACK.
2542 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
2543 (epg-reset): Reset EDIT-CALLBACK of the context.
2544 (epg-start-edit-key): New function.
2545 (epg-edit-key): New function.
2547 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
2549 Port new time stamp handling to Emacs 23.2.
2550 This fix is for Gnus. Reported by Katsumi Yamaoka.
2551 * calendar/time-date.el (time-add, time-subtract, time-less-p):
2552 Use eval-and-compile, not eval-when-compile.
2554 2014-11-18 Daiki Ueno <ueno@gnu.org>
2556 * epg.el (epg-context-set-passphrase-callback)
2557 (epg-context-set-progress-callback): Check if the CALLBACK
2558 argument is a function, instead of a cons.
2560 2014-11-18 Daiki Ueno <ueno@gnu.org>
2562 * epa-file.el (epa-file-insert-file-contents)
2563 (epa-file-write-region): Remove redundant check of
2565 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2566 (epa-sign-region, epa-encrypt-region): Remove redundant check of
2569 2014-11-18 Daiki Ueno <ueno@gnu.org>
2571 * epa-file.el (epa-file-insert-file-contents): Don't show
2572 "*Error*" buffer if input file does not exist.
2573 Reported by Herbert J. Skuhra.
2575 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
2576 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2578 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
2579 An alternative version of the patch from bug#13871.
2580 (c-operators): Add "alignof".
2581 (c-primitive-type-kwds): Add "char16_t", "char32_t".
2582 (c-type-modifier-kwds): Add "constexpr", "noexcept".
2583 (c-modifier-kwds): Add "thread_local".
2584 (c-constant-kwds): Add "nullptr".
2586 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
2588 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
2589 New variables for specifying tildify pattern and representation of
2590 a hard space -- a no-break space by default -- respectively.
2591 Being buffer-local they are much easier to handle than
2592 `tildify-string-alist' and `tildify-pattern-alist' respectively
2593 that have been used so far. They also works better with derived
2595 (tildify-foreach-region-function): New variable specifying
2596 a function determining portions of buffer that should be
2597 tildified. It allows major modes to create a filtering function
2598 more elaborate than a set of regular expressions. Initialised to
2599 `tildify--deprecated-ignore-evironments' by default to handle now
2600 deprecated `tildify-ignored-environments-alist' variable.
2601 (tildify--foreach-region): A new function that takes
2602 `tildify-foreach-region-function' into account and calls callback
2603 for regions of the buffer that should be tildified.
2604 (tildify-foreach-ignore-environments): A new function which can be
2605 partially applied and used as `tildify-foreach-region-function'.
2606 (tildify-ignored-environments-alist, tildify-pattern)
2607 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
2608 (tildify--find-env): Rename from `tildify-find-env' and mark as
2610 (tildify--deprecated-ignore-evironments): New function,
2611 immediately marked as obsolete, used to handle deprecated
2612 `tildify-ignored-environments-alist'.
2614 * textmodes/tex-mode.el (tex-common-initialization):
2615 Set `tildify-space-string' and `tildify-foreach-region-function'
2616 variables in all variants of TeX mode since `tildify-string-alist'
2617 and `tildify-ignored-environments-alist' are now empty by default.
2619 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
2620 If encoding supports it use no-break space instead of character
2621 entity; this changes previous default which used a numeric
2624 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
2625 If encoding does not support no-break space, use numeric reference;
2626 this changes previous default which used named entity (“ ”)
2629 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
2631 * calendar/icalendar.el (icalendar-export-alarms):
2632 New customizable variable. (Bug#5433)
2633 (icalendar-export-region): Export alarms as specified in
2634 `icalendar-export-alarms'.
2635 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
2636 New functions for exporting alarms.
2638 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2640 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
2642 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
2644 Port new time stamp handling to old Emacs and to XEmacs.
2645 This is needed for Gnus, which copies time-date.el and which
2646 runs on older Emacs implementations.
2647 * calendar/time-date.el (with-decoded-time-value):
2648 Handle 'nil' and floating-point arg more compatibly with new Emacs.
2649 (encode-time-value, with-decoded-time-value):
2650 Obsolete only if new Emacs.
2651 (time-add, time-subtract, time-less-p): Define if not new Emacs.
2653 Improve time stamp handling, and be more consistent about it.
2654 This implements a suggestion made in:
2655 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
2656 Among other things, this means timer.el no longer needs to
2657 autoload the time-date module.
2658 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
2659 * arc-mode.el (archive-ar-summarize):
2660 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
2661 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
2662 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
2663 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2664 * proced.el (proced-time-lessp):
2665 * timezone.el (timezone-time-from-absolute):
2666 * type-break.el (type-break-schedule, type-break-time-sum):
2667 Simplify by using new functionality.
2668 * calendar/cal-dst.el (calendar-next-time-zone-transition):
2669 Do not return time values in obsolete and undocumented (HI . LO)
2670 format; use (HI LO) instead.
2671 * calendar/time-date.el (with-decoded-time-value):
2672 Treat 'nil' as current time. This is mostly for XEmacs.
2673 (encode-time-value, with-decoded-time-value): Obsolete.
2674 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
2675 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
2676 * ldefs-boot.el: Update to match new time-date.el
2677 * proced.el: Do not require time-date.
2679 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2681 * net/eww.el (eww-mode): Make the buffer read-only.
2682 (eww-form-text): Inhibit read-only-ness in text input fields
2685 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2687 * simple.el (execute-extended-command--shorter): Cut search here.
2688 (execute-extended-command): Instead of here.
2690 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2692 * progmodes/python.el (python-mode): Avoid use of set-local to
2693 keep Emacs 24.x compatibility.
2695 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2697 * net/shr.el (shr): Move to the new defgroup `web'.
2699 * net/eww.el (eww): Ditto.
2701 * simple.el (execute-extended-command): Don't show the help
2702 message if the binding isn't significantly shorter than the
2703 M-x command the user typed (bug#19013).
2705 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
2707 * calendar/icalendar.el (icalendar--convert-tz-offset):
2708 Return complete cons when offsets of standard time and daylight saving
2710 (icalendar-export-region): Fix unbound variable warning.
2712 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2714 * progmodes/python.el (run-python): Allow CMD to be optional and
2715 default it to a safe command, even for Windows. (bug#18596)
2717 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2719 * progmodes/python.el (python-shell-calculate-command):
2720 Rename from python-shell-parse-command. Cleanup.
2721 (run-python, run-python-internal): Use it.
2722 (python-shell-calculate-pythonpath): Rename from
2723 python-new-pythonpath.
2724 (python-shell-calculate-process-environment): Use it.
2725 (python-shell-calculate-exec-path): Add comment.
2727 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
2729 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
2732 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
2734 * version.el (emacs-repository-get-version): Use git rev-parse
2737 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2739 * progmodes/python.el (python-indent-calculate-levels):
2740 Fix indentation behavior multiline dedenter statement. (Bug#18432)
2742 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2744 * progmodes/python.el (python-indent-region):
2745 Use python-indent-line and skip special cases. (Bug#18843)
2747 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
2749 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
2750 envelope-from when reporting through sendmail (bug#19054).
2752 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
2754 Add faces for the VC modeline state indicator.
2756 (vc-state-faces, vc-state-base-face)
2757 (vc-up-to-date-state, vc-needs-update-state)
2758 (vc-locked-state, vc-locally-added-state)
2759 (vc-conflict-state, vc-removed-state)
2760 (vc-missing-state, vc-edited-state):
2762 (vc-default-mode-line-string): Use them
2764 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2766 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
2768 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2770 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
2772 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
2774 * progmodes/python.el (python-eldoc-setup-code): Enhance string
2775 type checks, simplify printing. (Bug#18962)
2777 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
2779 * progmodes/python.el (python-shell-font-lock-kill-buffer):
2780 (python-shell-font-lock-with-font-lock-buffer)
2781 (python-shell-get-buffer, python-ffap-module-path):
2782 Use `derived-mode-p' instead of equality test on `major-mode'.
2784 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
2786 * progmodes/python.el (python-shell-virtualenv-root): Rename from
2787 python-shell-virtualenv-path.
2788 (python-shell-internal-get-process-name)
2789 (python-shell-calculate-process-environment)
2790 (python-shell-calculate-exec-path): Use it.
2792 2014-11-14 Eli Zaretskii <eliz@gnu.org>
2794 * bindings.el (search-map): Fix last change: don't use 'kbd' in
2795 bindings.el, since it is not yet loaded when bindings.el is
2798 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
2800 * progmodes/python.el (python-shell-completion-get-completions):
2803 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2805 * net/eww.el (eww-render): Don't set the title to the URL.
2807 2014-11-13 Ulrich Müller <ulm@gentoo.org>
2809 * version.el (emacs-repository-get-version): Call `git log'
2810 command with proper format argument (bug#19049).
2812 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2814 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
2816 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2818 * net/eww.el (eww-search-words): New command (bug#16258).
2820 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2822 * net/shr.el (shr-inhibit-images): Add a doc string.
2824 * net/eww.el (eww-after-render-hook): New variable.
2825 (eww-render): Use it.
2827 * net/shr.el (shr-descend): Don't descend further than
2828 `max-specpdl-size' allows (bug#16587).
2829 (shr-depth): New variable.
2830 (shr-warning): New variable.
2832 2014-11-13 Ivan Shmakov <ivan@siamics.net>
2834 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
2835 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
2837 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2839 * net/eww.el (eww): Add comment to clarify.
2841 * net/shr.el (shr-parse-image-data): Remove blocked bits from
2842 external SVG images.
2843 (shr-tag-object): Display images in <object> forms (bug#16244).
2844 (shr-tag-table): Also insert <objects> after the tables.
2846 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
2848 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
2850 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2852 * net/eww.el (eww-form-file): Fix version number.
2854 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2856 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
2858 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2860 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
2861 (eww-submit-file): New key map of file upload.
2862 (eww-form-file): New file upload button and file name context.
2863 (eww-select-file): Select file and display selected file name.
2864 (eww-tag-input): Handle input tag of file type.
2865 (eww-update-field): Add point offset.
2866 (eww-submit): Add submit with multipart/form-data.
2868 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2870 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
2871 Allow taking a buffer to render data in. This allows using several
2872 eww buffers (bug#16211).
2874 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
2876 * net/eww.el (eww-download-callback): Save only the file contents,
2879 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2881 * net/eww.el (eww-data): New plist to store all the data relevant
2882 to a single page, used throughout the file instead of the
2883 variables `eww-current-url', `eww-current-dom',
2884 `eww-current-source', and `eww-current-title'.
2885 (eww-readable): Copy over pertinent data from the parent page.
2886 (eww-save-history): Don't let the history grow infinitely.
2888 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
2889 `eww-up-url', `eww-home-url', `eww-start-url' and
2890 `eww-contents-url' and put the data into the `eww-data' plist.
2891 This allow restoring these values after going back in the history.
2893 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
2895 Allow VTIMEZONE where daylight and standard time zones are equal.
2896 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
2897 * calendar/icalendar.el (icalendar--convert-tz-offset):
2898 Support timezone without daylight saving time.
2900 2014-11-10 Glenn Morris <rgm@gnu.org>
2902 * startup.el (command-line): Handle nil elements in load-path.
2904 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * help.el (view-lossage): Include the actual commands run.
2908 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
2910 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
2911 no state is specified. (Bug#18964)
2913 2014-11-09 Eric Ludlam <zappo@gnu.org>
2915 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2916 Set eieio-cog (current group) to g, which is an improved form of input
2919 2014-11-09 Juri Linkov <juri@jurta.org>
2921 * isearch.el (isearch-message-prefix): Show "Multi-file" and
2922 "Multi-buffer" instead of "Multi". (Bug#13592)
2924 * misearch.el (multi-isearch-file-list):
2925 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
2926 (multi-isearch-end): Reset multi-isearch-buffer-list and
2927 multi-isearch-file-list to nil.
2929 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2931 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2932 Don't call byte-compile-preprocess since the result will go through
2934 (byte-compile-output-docform): Handle uninterned `name' correctly.
2935 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
2936 to circumvent byte-compiler bug.
2938 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
2939 (macroexp--compiler-macro): Remove left-over debug code.
2941 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
2943 2014-11-08 Juri Linkov <juri@jurta.org>
2945 * simple.el (shell-command): Use buffer-name when output-buffer is
2946 a buffer. (Bug#18096)
2948 2014-11-08 Juri Linkov <juri@jurta.org>
2950 * minibuffer.el (minibuffer-completion-help): Compare this-command
2951 with completion-at-point. (Bug#17809)
2953 2014-11-08 Glenn Morris <rgm@gnu.org>
2955 * emacs-lisp/bytecomp.el (byte-compile-report-error):
2956 Allow the argument to be a string. Due to the vague doc,
2957 it was already being used this way.
2959 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2961 * net/tramp.el (tramp-check-cached-permissions): Include hop in
2962 the constructed Tramp file name. (Bug#18943)
2964 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2966 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
2968 (cua-set-mark, cua--post-command-handler-1):
2969 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
2971 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2973 * files.el (file-name-non-special): Wrap the call of
2974 `insert-file-contents' by `unwind-protect', in order to set the
2975 buffer's file name anyway. (Bug#18891)
2977 2014-11-08 Alan Mackenzie <acm@muc.de>
2979 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
2980 * progmodes/cc-fonts.el (c-font-lock-declarations):
2981 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
2982 the buffer is sometimes narrowed to less than "limit" (e.g., in
2983 the presence of macros).
2985 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2987 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
2988 only when message appeared in minibuffer. (Bug#18891)
2990 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
2991 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
2992 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
2995 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2997 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2998 Don't compile before eval in `eval-and-compile'.
2999 (byte-compile-arglist-warn): Add check for defining macros after their
3000 first use. Check call use even if the function is fboundp.
3002 2014-11-08 Richard Stallman <rms@gnu.org>
3004 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
3005 Check more carefully for mime-part specified character set.
3006 Check for mime-part Content Transfer Encoding.
3007 Notify if no armor found.
3009 2014-11-08 Martin Rudalics <rudalics@gmx.at>
3011 * faces.el (face-set-after-frame-default): Enable running
3012 `window-configuration-change-hook'.
3014 2014-11-07 Juri Linkov <juri@jurta.org>
3016 * replace.el: History for query replace pairs.
3017 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
3018 (query-replace-from-to-separator): New variable.
3019 (query-replace-read-from): Let-bind query-replace-from-to-history
3020 to a list of FROM-TO strings created from query-replace-defaults
3021 and separated by query-replace-from-to-separator. Use it as
3022 the history while reading from the minibuffer. Split the returned
3023 string by the separator to get FROM and TO parts, and add them
3024 to the history variables.
3025 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
3026 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
3027 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
3029 * isearch.el (isearch-text-char-description): Keep characters
3030 intact and put formatted strings with the `display' property.
3032 2014-11-07 Martin Rudalics <rudalics@gmx.at>
3034 * cus-start.el (frame-resize-pixelwise): Fix group.
3035 (frame-inhibit-implied-resize): Add entry.
3037 2014-11-07 Daiki Ueno <ueno@gnu.org>
3039 * epa.el (epa-pinentry-mode): New user option.
3040 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3041 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
3042 * epa-file.el (epa-file-insert-file-contents)
3043 (epa-file-write-region): Respect epa-pinentry-mode.
3045 2014-11-07 Daiki Ueno <ueno@gnu.org>
3047 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
3048 (bug#18979). Reported by Hideki Saito.
3050 2014-11-06 Daiki Ueno <ueno@gnu.org>
3052 * emacs-lisp/package.el (package--display-verify-error): New function.
3053 (package--check-signature): Use it to display output sent to stderr.
3055 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3057 * subr.el (pop): Don't call the getter twice (bug#18968).
3059 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
3062 2014-11-06 Daiki Ueno <ueno@gnu.org>
3064 * epa.el (epa-error-buffer): New variable.
3065 (epa-display-error): New function.
3066 (epa-decrypt-file, epa-verify-file, epa-verify-region)
3067 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
3068 (epa-sign-file, epa-sign-region, epa-encrypt-region)
3069 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
3070 Use setf instead of epg-context-set-*.
3071 * epa-file.el (epa-file-insert-file-contents):
3072 Use epa-display-error instead of epa-display-info. Mimic the behavior
3073 of jka-compr when decryption program is not found.
3074 (epa-file-write-region): Use epa-display-error instead of
3077 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * vc/vc.el (vc-region-history): New command.
3080 (vc-print-log-internal): Use cl-some.
3082 * vc/vc-git.el (vc-git-region-history): New function.
3083 (vc-git-region-history-mode-map)
3084 (vc-git--log-view-long-font-lock-keywords)
3085 (vc-git-region-history-font-lock-keywords): New vars.
3086 (vc-git-region-history-font-lock): New function.
3087 (vc-git-region-history-mode): New major mode.
3089 2014-11-05 Tassilo Horn <tsdh@gnu.org>
3091 * net/eww.el (subr-x): Require subr-x at compile-time because eww
3094 2014-11-05 Daiki Ueno <ueno@gnu.org>
3096 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
3097 (epg-error-output): New buffer-local variable.
3098 (epg--start): Initialize epg-error-output.
3099 (epg--process-filter): Record output lines sent to stderr, in
3101 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
3103 * epa-file.el (epa-file-insert-file-contents): On error, display
3104 output sent to stderr.
3105 (epa-file-write-region): Likewise.
3107 2014-11-05 Eli Zaretskii <eliz@gnu.org>
3109 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
3110 returned by load-average.
3112 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
3114 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
3115 a local copy; setting `inhibit-file-name-handlers' proper might be
3116 more performant. (Bug#18751)
3118 2014-11-05 Glenn Morris <rgm@gnu.org>
3120 * mail/emacsbug.el (report-emacs-bug): No longer include
3121 recent-keys in the report. (Bug#18900)
3123 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
3125 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
3127 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3129 * net/eww.el (eww): Trim URL with `string-trim'.
3130 Suggested by Vibhav Pant <vibhavp@gmail.com>.
3132 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3134 * net/eww.el (eww-score-readability): Don't count comments positively.
3136 * net/shr.el (shr-retransform-dom): Typo fix.
3138 * net/eww.el (eww-score-readability): Parse SVC images correctly.
3139 (eww-display-html): Don't leave point inside forms.
3141 * net/shr.el: Ditto.
3143 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
3146 edebug-prin1-to-string already handles circularity.
3148 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
3149 autoloading when specified as a lambda.
3151 * simple.el (execute-extended-command--last-typed): New var.
3152 (read-extended-command): Set it.
3153 Don't complete obsolete commands.
3154 (execute-extended-command--shorter-1)
3155 (execute-extended-command--shorter): New functions.
3156 (execute-extended-command): Use them to suggest shorter names.
3157 (indicate-copied-region, deactivate-mark): Use region-active-p.
3159 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
3161 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
3162 local copy of FILENAME, when it is remote. (Bug#18751)
3164 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
3165 an error when the command fails; the return code must indicate.
3166 (tramp-adb-send-command-and-check): Fix docstring.
3168 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3170 * net/shr.el (shr-retransform-dom): Don't ignore elements that
3171 have no children like <br />.
3173 * net/eww.el (eww-display-html): Clear `url-queue'.
3174 (eww-display-pdf): New function.
3175 (eww-render): Display PDFs with `doc-view'.
3176 (url-queue): Require `url-queue' to avoid compilation warning.
3177 (eww-colorize-region): Remove duplicate function.
3178 (eww-tag-body): Use `shr-colorize-region'.
3180 2014-11-03 Yoni Rabkin <yrk@gnu.org>
3182 * net/eww.el (eww-list-bookmarks): Autoload.
3184 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3186 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
3188 * net/eww.el (eww-display-html): The charset is called `utf-8',
3190 (eww-readable): Decode the saved text correctly.
3191 (eww-readable): Save the history before displaying so that we can
3192 go back to the non-readable version.
3193 (eww-display-html): Don't try to decode the text if we've been
3194 passed in a pre-parsed DOM.
3195 (eww-tag-title): Remove newlines and extra whitespace from the
3198 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3200 * net/eww.el (eww-readable): New command and keystroke.
3202 * net/shr.el (shr-retransform-dom): New function.
3204 * net/eww.el (eww-display-html): Set `eww-current-source' in the
3206 (eww-view-source): Use it.
3208 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3210 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
3213 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
3215 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
3217 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3219 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
3221 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3223 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
3226 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
3228 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
3230 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
3232 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3234 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
3236 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
3238 2014-11-01 Michael R. Mauger <michael@mauger.com>
3240 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
3241 syntax, add new keywords, and parse longer keywords first.
3242 (sql-redirect-one): Protect against empty command.
3243 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
3246 2014-11-01 Michael R. Mauger <michael@mauger.com>
3248 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
3249 Bug#16814 with let-bind of comint-input-ring variables around read
3252 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
3254 * net/tramp-cache.el (tramp-get-file-property)
3255 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
3256 and `tramp-cache-set-count-*' are bound. Otherwise, there might
3257 be compiler warnings.
3259 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
3260 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
3262 2014-11-01 Eli Zaretskii <eliz@gnu.org>
3264 * progmodes/compile.el (compilation-mode): Turn off deferred
3265 fontifications locally. (Bug#18856)
3267 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
3269 * net/tramp-sh.el (tramp-send-command): Fix the case where the
3270 remote-echo connection property is non-nil (bug#18858).
3272 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
3274 * simple.el (newline): Add assertions to try and help catch bug#18913.
3276 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
3278 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
3280 2014-11-01 Kim F. Storm <storm@cua.dk>
3282 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
3283 * delsel.el (delete-selection-save-to-register)
3284 (delsel--replace-text-or-position): New vars.
3285 (delete-active-region): Use them.
3286 (delete-selection-repeat-replace-region): New command, moved from
3288 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
3289 (cua-repeat-replace-region): Move command to delsel.el.
3290 (cua--init-keymaps): Update binding accordingly.
3291 (cua-mode): Set delete-selection-save-to-register.
3293 2014-11-01 Alan Mackenzie <acm@muc.de>
3295 Make blink-parens work with a closing template delimiter.
3296 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
3297 before calling blink-paren-function, so as to apply syntax-table
3298 properties to the ">".
3300 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
3302 * select.el (gui-get-selection): Comment: data-type ignored on NS.
3304 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3306 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
3307 (macroexp--expand-all): Unrelated tweaks.
3309 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
3311 2014-10-30 Glenn Morris <rgm@gnu.org>
3313 * startup.el (command-line): Remove pointless attempt to avoid
3314 statting the file-system (which expand-file-name doesn't do).
3316 2014-10-30 Daniel Colascione <dancol@dancol.org>
3318 Add "enum class" support to C++ mode.
3319 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
3320 (c-after-brace-list-key): New language consts/variables.
3321 * progmodes/cc-engine.el (c-looking-at-decl-block):
3322 Exclude spurious match of "enum struct" from decl-block recognition.
3323 (c-backward-colon-prefixed-type): New function.
3324 (c-backward-over-enum-header): Call above function to extend
3325 recognition of enum structure.
3327 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3329 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
3331 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
3333 2014-10-30 Eli Zaretskii <eliz@gnu.org>
3335 * progmodes/compile.el (compilation-start):
3336 If compilation-scroll-output is non-nil, don't force window-start of
3337 the compilation buffer to be at beginning of buffer. (Bug#18874)
3339 * startup.el (fancy-about-text): Read the entire tutorial, not
3340 just its first 256 bytes. (Bug#18760)
3342 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3344 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
3345 * emacs-lisp/cl-extra.el: Add missing provide.
3347 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
3348 all args are copyable (bug#18767).
3349 (=, <, >, <=, >=): Re-enable the optimization.
3351 2014-10-29 Glenn Morris <rgm@gnu.org>
3353 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
3355 * version.el (emacs-bzr-version, emacs-bzr-get-version):
3356 Revert 2014-10-26 change.
3358 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
3360 Simplify use of current-time and friends.
3361 * allout-widgets.el (allout-widgets-hook-error-handler):
3362 * calendar/appt.el (appt-display-message):
3363 * calendar/icalendar.el (icalendar--convert-float-to-ical):
3364 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
3365 (timeclock-last-period, timeclock-day-base):
3366 * eshell/em-ls.el (eshell-ls-file):
3367 * eshell/esh-util.el (eshell-parse-ange-ls):
3368 * generic-x.el (named-database-print-serial):
3369 * net/newst-backend.el (newsticker--get-news-by-url-callback)
3370 (newsticker-get-news, newsticker--sentinel-work)
3371 (newsticker--image-get, newsticker--image-sentinel):
3372 * net/tramp-sh.el (tramp-get-remote-touch):
3373 * progmodes/opascal.el (opascal-debug-log):
3374 * textmodes/remember.el (remember-mail-date)
3375 (remember-store-in-files):
3376 * vc/vc-annotate.el (vc-annotate-display-autoscale)
3377 (vc-default-annotate-current-time):
3378 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
3379 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
3380 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
3381 Omit unnecessary call to current-time.
3382 * calendar/time-date.el (time-to-seconds) [!float-time]:
3383 * vc/vc-annotate.el (vc-annotate-convert-time):
3384 Use current time if arg is nil, to be compatible with float-time.
3385 (time-date--day-in-year): New function, with most of the guts of
3386 the old time-to-day-in-year.
3387 (time-to-day-in-year): Use it.
3388 (time-to-days): Use it, to avoid decoding the same time stamp twice.
3389 * calendar/timeclock.el (timeclock-time-to-date):
3390 Arg is now optional, like current-time-string.
3391 (timeclock-update-mode-line):
3392 Don't call current-time twice to get the current time stamp,
3393 as this can lead to inconsistent results.
3394 * completion.el (cmpl-hours-since-origin):
3395 * ido.el (ido-time-stamp):
3396 * vc/vc-annotate.el (vc-annotate-convert-time):
3397 Simplify by using float-time.
3398 * completion.el (save-completions-to-file):
3399 Rename local var to avoid confusion.
3400 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
3401 time-to-seconds now behaves like float-time with respect to nil arg.
3402 * subr.el (progress-reporter-do-update):
3403 Don't call float-time unless needed.
3405 2014-10-29 Leo Liu <sdl.web@gmail.com>
3407 * net/rcirc.el (rcirc-fill-column): Use function.
3408 (rcirc-markup-fill): Remove adjustment.
3410 2014-10-28 Christopher Schmidt <ch@ristopher.com>
3412 * calc/calc.el (quick-calc):
3413 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
3415 2014-10-28 Sam Steingold <sds@gnu.org>
3417 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
3418 the sake of `window-body-width' (in addition to `frame-width').
3420 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
3422 * version.el: Fix some fallback values to conform to the actual
3425 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
3427 * Makefile.in: Change some production names so they're neutral
3428 about the repository type.
3430 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
3432 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
3433 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
3434 during initialization. (Bug#18774)
3436 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
3438 * ses.el (macroexp): Add require for this package, so that
3439 function `ses--cell' gets macroexp-quote --- this change was
3440 supposed to be in my previous commit, but left out by mistake.
3441 (ses--cell): Do not make formula a macroexp-quote of value when
3442 value, not formula, is *skip*.
3444 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3446 * ses.el (macroexp): Add require for this package, so that function
3447 `ses--cell gets macroexp-quote.
3448 (ses--cell): Makes formula a macroexp-quote of value when formula
3449 is nil. The rationale of this changr is to allow in the future
3450 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
3451 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
3452 reference list REFLIST would be re-computed after load --- thus
3453 trading off load time against file size.
3455 * emacs-lisp/package.el (package--alist-to-plist-args):
3456 Use macroexp-quote instead of a lambda expression which has the same
3457 content as macroexp-quote.
3458 (macroexp): Add require for this package, so that function
3459 `package--alist-to-plist-args' gets macroexp-quote.
3461 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
3463 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3465 * term/ns-win.el (ns-store-cut-buffer-internal)
3466 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
3468 2014-10-24 Martin Rudalics <rudalics@gmx.at>
3470 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
3471 Calculate increment from last position instead of window edge.
3472 Add right- and bottom-divider bindings to transient map.
3474 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
3477 even if :predicate was nil, for the benefit of typep.
3478 Record the name of the predicate for typep's use.
3479 (cl--make-type-test): Use pcase. Obey new
3480 cl-deftype-satisfies property.
3482 * epg.el: Use cl-defstruct.
3483 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
3484 (epg-data-string): Define via cl-defstruct.
3485 (epg--gv-nreverse): New macro.
3486 (epg-context--make): New constructor (provided vi cl-defstruct).
3487 (epg-make-context): Rewrite using it.
3488 (epg-context-protocol, epg-context-program)
3489 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
3490 (epg-context-include-certs, epg-context-cipher-algorithm)
3491 (epg-context-digest-algorithm, epg-context-compress-algorithm)
3492 (epg-context-passphrase-callback, epg-context-progress-callback)
3493 (epg-context-signers, epg-context-sig-notations, epg-context-process)
3494 (epg-context-output-file, epg-context-result, epg-context-operation)
3495 (epg-context-pinentry-mode): Define using cl-defstruct.
3496 (epg-context-set-protocol, epg-context-set-program)
3497 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
3498 (epg-context-set-digest-algorithm)
3499 (epg-context-set-sig-notations, epg-context-set-process)
3500 (epg-context-set-output-file, epg-context-set-result)
3501 (epg-context-set-operation, epg-context-set-pinentry-mode)
3502 (epg-context-set-compress-algorithm): Remove. Use setf instead.
3503 (epg-context-set-armor, epg-context-set-textmode)
3504 (epg-context-set-signers): Redefine using setf
3505 and declare as obsolete.
3506 (epg-context-set-passphrase-callback)
3507 (epg-context-set-progress-callback): Use setf.
3508 (epg-signature-notations): Rename from epg-sig-notations.
3509 (epg-make-signature, epg-signature-status, epg-signature-key-id)
3510 (epg-signature-validity, epg-signature-fingerprint)
3511 (epg-signature-creation-time, epg-signature-expiration-time)
3512 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
3513 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
3514 (epg-signature-set-status, epg-signature-set-key-id)
3515 (epg-signature-set-validity, epg-signature-set-fingerprint)
3516 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
3517 (epg-signature-set-pubkey-algorithm)
3518 (epg-signature-set-digest-algorithm, epg-signature-set-class)
3519 (epg-signature-set-version, epg-signature-set-notations): Remove.
3521 (epg-make-new-signature, epg-new-signature-type)
3522 (epg-new-signature-pubkey-algorithm)
3523 (epg-new-signature-digest-algorithm, epg-new-signature-class)
3524 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
3525 Define using cl-defstruct.
3526 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
3527 (epg-key-user-id-list): Define using cl-defstruct.
3528 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
3530 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
3531 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
3532 (epg-sub-key-id, epg-sub-key-creation-time)
3533 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
3535 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
3536 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
3537 (epg-user-id-signature-list): Define using cl-defstruct.
3538 (epg-user-id-set-signature-list): Remove. Use setf instead.
3539 (epg-make-key-signature, epg-key-signature-validity)
3540 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
3541 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
3542 (epg-key-signature-user-id, epg-key-signature-class)
3543 (epg-key-signature-exportable-p): Define using cl-defstruct.
3544 (epg-make-sig-notation, epg-sig-notation-name)
3545 (epg-sig-notation-value, epg-sig-notation-human-readable)
3546 (epg-sig-notation-critical): Define using cl-defstruct.
3547 (epg-sig-notation-set-value): Remove. Use setf instead.
3548 (epg-make-import-status, epg-import-status-fingerprint)
3549 (epg-import-status-reason, epg-import-status-new)
3550 (epg-import-status-user-id, epg-import-status-signature)
3551 (epg-import-status-sub-key, epg-import-status-secret): Define using
3553 (epg-make-import-result, epg-import-result-considered)
3554 (epg-import-result-no-user-id, epg-import-result-imported)
3555 (epg-import-result-imported-rsa, epg-import-result-unchanged)
3556 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
3557 (epg-import-result-new-signatures, epg-import-result-new-revocations)
3558 (epg-import-result-secret-read, epg-import-result-secret-imported)
3559 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
3560 (epg-import-result-imports): Define using cl-defstruct.
3562 * emacs-lisp/package.el: Require EPG during macroexpansion.
3563 (package--check-signature, package-import-keyring): Use setf instead of
3564 epg-context-set-home-directory.
3566 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3568 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
3570 2014-10-23 Leo Liu <sdl.web@gmail.com>
3572 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
3573 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
3574 (cfengine3-current-defun): New function.
3575 (cfengine3-mode): Set add-log-current-defun-function.
3577 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3579 * select.el: Use lexical-binding.
3580 (gui-set-selection): Provide an implementation for non-GUI frames
3582 * term/x-win.el: Use lexical-binding.
3583 (x-clipboard-yank): Fix up missed renamings.
3584 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
3585 (w32--set-selection): Fix up var names.
3586 * term/pc-win.el: Use lexical-binding.
3587 (w16-selection-exists-p): Silence compiler warning.
3588 (w16-selection-owner-p): Fix up missed renamings.
3590 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
3592 * frame.el (frame-notice-user-settings): Fix excessive quoting.
3594 2014-10-22 Tassilo Horn <tsdh@gnu.org>
3596 * doc-view.el (doc-view-open-text): View the document's plain text
3597 in the current buffer instead of a new one.
3598 (doc-view-toggle-display): Handle the case where the current
3599 buffer contains the plain text contents of the document.
3600 (doc-view-initiate-display): Don't switch to fallback mode if the
3601 user wants to view the doc's plain text.
3602 (doc-view-set-doc-type): Use assoc-string instead of
3605 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3607 * subr.el (read-key): Fix clicks on the mode-line.
3608 (set-transient-map): Return exit function.
3610 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
3611 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
3612 (mouse-yank-secondary): Use gui-get-selection.
3613 (mouse--down-1-maybe-follows-link): Use read-key.
3615 * xt-mouse.el: Add `event-kind' property on the fly from
3616 xterm-mouse-translate-1 rather than statically at the outset.
3618 2014-10-21 Daniel Colascione <dancol@dancol.org>
3620 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
3621 change window configuration when we turn it off.
3623 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3625 Get rid of backend-dependent selection-handling functions for kill/yank
3626 and make it generic instead by relying on the lower-level selection
3627 management functions.
3629 * select.el (select-enable-clipboard): Rename from
3630 gui-select-enable-clipboard.
3631 (select-enable-primary): Move from x-win.el and rename from
3632 x-select-enable-primary.
3633 (gui-last-selected-text): Remove.
3634 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
3636 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
3637 (gui-select-text-alist, gui-selection-value-alist): Remove.
3638 (x-select-request-type): Move from x-win.el.
3639 (gui--selection-value-internal): New function, taken from x-win's
3640 x-selection-value-internal.
3641 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
3642 (gui-set-selection-alist): Rename from gui-own-selection-alist and
3643 extend it to handle a nil value as a "disown" request.
3644 (gui-disown-selection-alist): Remove.
3645 (xselect-convert-to-delete): Adjust accordingly.
3646 (gui-set-selection): Simplify accordingly as well. Use dotimes.
3648 * term/x-win.el (x-last-selected-text-primary)
3649 (x-select-enable-primary): Remove (moved to select.el).
3650 (x-select-request-type): Move to select.el.
3651 (x-selection-value-internal, x--selection-value): Remove functions.
3652 (gui-selection-value, gui-select-text): Remove moethods.
3653 (gui-set-selection): Merge own and disown methods.
3655 * term/w32-win.el (w32--select-text, w32--get-selection-value):
3656 Delete function (move functionality into w32--set-selection and
3657 w32--get-selection).
3658 (gui-select-text, gui-selection-value): Don't define methods.
3659 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
3661 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
3663 (gui-selection-exists-p): Adjust to new name of C primitive.
3665 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
3666 test of gui-select-enable-clipboard, to make it usable as
3667 a gui-get-selection method.
3668 (gui-selection-exists-p): Adjust to new name of C primitive.
3669 (gui-set-selection): Merge own and disown methods.
3670 (gui-select-text, gui-selection-value): Delete methods.
3671 (w16--select-text): Delete function.
3673 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
3674 (ns-selection-value): Remove functions.
3675 (gui-select-text, gui-selection-value): Don't define method any more.
3676 (gui-set-selection): Merge the old own and disown methods.
3677 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
3678 underlying C primitive.
3680 * startup.el (command-line): Adjust now that `gui-method' expects nil
3683 * frame.el (gui-method): Use window-system rather than framep.
3684 (gui-method-declare): The tty case is now nil rather than t.
3685 (make-frame): Adjust accordingly.
3687 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3689 * net/newst-reader.el (newsticker--image-read): Simplify.
3690 (newsticker--icon-read): Use dolist and fix free var error.
3692 * imenu.el (imenu--menubar-keymap): New var.
3693 (imenu-add-to-menubar): Set it to remember the keymap we used.
3694 (imenu-update-menubar): Use it instead of asking lookup-key.
3696 * obsolete/cc-compat.el: Make obsolete (bug#18561).
3698 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
3700 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
3703 2014-10-21 Glenn Morris <rgm@gnu.org>
3705 * Merge in all changes up to version 24.4 release.
3707 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3709 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
3712 2014-10-20 Glenn Morris <rgm@gnu.org>
3714 * Merge in all changes up to 24.4 release.
3716 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
3718 * net/newst-backend.el
3719 (newsticker--image-download-by-url-callback): Make this function
3720 actually work: Check status properly, then save image.
3722 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
3726 (mouse-drag-line): Unless there's no actual mouse, use the event's
3729 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3731 * textmodes/css-mode.el (scss-mode): New major-mode.
3732 (css-mode-syntax-table): Use d style comment, to ease the scss case.
3733 (css-ident-re): Allow things like @-moz-keyframes.
3734 (scss--hash-re): New const.
3735 (css--font-lock-keywords): New function, extracted from
3736 css-font-lock-keywords.
3738 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
3740 * net/newst-backend.el: Require url-parse.
3741 (newsticker--get-news-by-wget): Store feed name as process property.
3742 (newsticker--sentinel): Read feed name from process property.
3743 (newsticker--sentinel-work): Rename argument name to feed-name.
3744 Rename variable imageurl to image-url. Pick icon url from Atom
3745 1.0 data. Launch download of feed icon.
3746 (newsticker--get-icon-url-atom-1.0): New.
3748 (newsticker--unxml-node)
3749 (newsticker--unxml-attribute): Documentation.
3750 (newsticker--icons-dir): New.
3751 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
3752 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
3753 (newsticker--image-download-by-wget): New. Use process properties
3754 for storing informations.
3755 (newsticker--image-sentinel): Read informations from process properties.
3756 (newsticker--image-save)
3757 (newsticker--image-remove)
3758 (newsticker--image-download-by-url)
3759 (newsticker--image-download-by-url-callback): New.
3760 (newsticker-opml-export): Handle url list entries containing a
3761 function instead of an url string.
3763 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
3764 (newsticker--print-extra-elements)
3765 (newsticker--do-print-extra-element):
3766 Documentation (newsticker--image-read): Optionally limit image height.
3767 Use imagemagick if possible.
3768 (newsticker--icon-read): New.
3770 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
3771 (newsticker--treeview-tree-expand): Use feed icons in treeview.
3772 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
3773 (newsticker--tree-widget-leaf-icon): Use feed icon.
3775 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3777 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
3778 Use help-function-arglist instead.
3780 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
3781 (eieio--with-scoped-class): Use `declare'.
3782 (eieio-defclass): Remove compatibility code.
3783 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
3784 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
3786 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
3788 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
3790 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
3791 replacements to stock names before stock names in a list.
3792 Cdr may be a list, each name is tried in turn until one is found.
3794 2014-10-18 Alan Mackenzie <acm@muc.de>
3796 Check that a "macro" found near point-min isn't a ## operator.
3798 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
3799 (c-beginning-of-macro): Use the above new function.
3801 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
3803 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
3804 correct data to `gnutls-boot' (Bug#18664).
3805 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
3807 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
3809 * whitespace.el (whitespace-style, whitespace-big-indent)
3810 (whitespace-big-indent-regexp, whitespace-style-value-list)
3811 (whitespace-toggle-option-alist, whitespace-interactive-char)
3812 (whitespace-toggle-options)
3813 (global-whitespace-toggle-options, whitespace-help-text)
3814 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
3815 style to `whitespace-mode' to indicate that the line indentation
3816 is too deep. By default, 32 SPACEs or four TABs are considered
3817 too many but `whitespace-big-indent-regexp' can be configured.
3819 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
3821 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
3824 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3826 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
3827 (defclass, defgeneric, defmethod): Add doc-string position.
3828 (with-slots): Require cl-lib.
3830 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
3831 (list-of): New type.
3832 (eieio--typep): Remove.
3833 (eieio-perform-slot-validation): Use cl-typep instead.
3835 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
3837 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
3839 2014-10-16 Alan Mackenzie <acm@muc.de>
3841 Trigger showing when point is in the "periphery" of a line or just
3843 * paren.el (show-paren-style, show-paren-delay)
3844 (show-paren-priority, show-paren-ring-bell-on-mismatch):
3845 Remove superfluous :group specifications.
3846 (show-paren-when-point-inside-paren)
3847 (show-paren-when-point-in-periphery): New customizable variables.
3848 (show-paren-highlight-openparen): Make into a defcustom.
3849 (show-paren--unescaped-p, show-paren--categorize-paren)
3850 (show-paren--locate-near-paren): New defuns.
3851 (show-paren--default): Refaactor and trigger on more paren
3853 (show-paren-function): Small consequential changes.
3855 2014-10-16 Tom Tromey <tom@tromey.com>
3857 * files.el (auto-mode-alist): Use javascript-mode for .jsm
3860 2014-10-16 Eli Zaretskii <eliz@gnu.org>
3862 * international/characters.el (bracket-type): Force pre-loading of
3865 2014-10-16 Alan Mackenzie <acm@muc.de>
3867 * cus-edit.el (custom-command-apply): Specify the return value in
3869 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
3870 custom-command-apply has returned non-nil.
3872 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
3875 Remove incorrect handling of eldoc-print-after-edit.
3876 (eldoc-message-commands, eldoc-last-data): Use defvar.
3877 * loadup.el (emacs-lisp/eldoc): Load it.
3879 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
3881 (m4--quoted-p): New function.
3882 (m4-font-lock-keywords): Don't handle #..\n comments any more.
3883 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
3884 for most special characters.
3886 * progmodes/compile.el (compilation--previous-directory): Simplify.
3887 (compilation-next-error): Ensure the parse before we look at
3888 compilation-message property.
3890 2014-10-15 Eli Zaretskii <eliz@gnu.org>
3892 * simple.el (what-cursor-position):
3893 * descr-text.el (describe-char): Update to support the new bidi
3896 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
3897 Force bidi-paragraph-direction to 'left-to-right'. This fixes
3898 buffer-menu display when the first buffer happens to start with
3901 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * progmodes/elisp-mode.el (elisp--local-variables-1):
3904 Handle quoted expressions (bug#18688).
3906 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
3907 Michael Albinus <michael.albinus@gmx.de>
3909 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3910 Reduce the amount of set environment variable commands.
3912 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3914 Fix import completion. (Bug#18582)
3915 * progmodes/python.el (python-shell-completion-get-completions):
3916 Fix import case regexp.
3918 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3920 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
3921 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
3922 * progmodes/prolog.el (prolog-electric--underscore): Same.
3924 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
3926 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
3928 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
3930 * cus-start.el (all): Add missing ns and boolean to
3931 ns-use-fullscreen-animation.
3933 2014-10-11 Leo Liu <sdl.web@gmail.com>
3935 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
3937 (cfengine3-create-imenu-index): New function.
3938 (cfengine3-mode): Use it for `imenu-create-index-function'.
3939 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
3942 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
3944 * cus-start.el (all): Add ns-use-fullscreen-animation.
3946 2014-10-11 Glenn Morris <rgm@gnu.org>
3948 * calendar/diary-lib.el (diary-display-function):
3949 Drop support for deprecated nil and list forms.
3950 (diary-list-entries): Update for the above.
3951 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
3953 2014-10-10 Leo Liu <sdl.web@gmail.com>
3955 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
3958 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3960 * select.el (gui-selection-exists-p-alist): New method.
3961 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
3962 * simple.el (deactivate-mark): Use it.
3963 * term/x-win.el (gui-selection-exists-p):
3964 * term/w32-win.el (gui-selection-exists-p):
3965 * term/pc-win.el (gui-selection-exists-p):
3966 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
3968 2014-10-10 Glenn Morris <rgm@gnu.org>
3970 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
3971 Fix :type. Allow t to mean no limit.
3972 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
3974 2014-10-09 Glenn Morris <rgm@gnu.org>
3976 * frame.el (display-monitor-attributes-list): Doc tweaks.
3978 2014-10-09 Eli Zaretskii <eliz@gnu.org>
3980 * faces.el (display-grayscale-p): Mention in the doc string that
3981 the argument can be either a display name or a frame.
3983 * frame.el (display-pixel-height, display-pixel-width)
3984 (display-mm-height, display-mm-width, display-backing-store)
3985 (display-save-under, display-planes, display-color-cells)
3986 (display-visual-class, display-monitor-attributes-list)
3987 (display-screens): Mention in the doc string that the argument can
3988 be either a display name or a frame. Improve the docs of the
3989 monitor attributes. (Bug#18636)
3991 2014-10-09 Martin Rudalics <rudalics@gmx.at>
3993 * term.el (term-window-width): Subtract 1 from the width when
3994 any fringe has zero width, not just the right fringe. (Bug#18601)
3996 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
4000 2014-10-08 Leo Liu <sdl.web@gmail.com>
4002 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
4004 2014-10-08 Glenn Morris <rgm@gnu.org>
4006 * calendar/cal-x.el (calendar-dedicate-diary):
4007 Drop support for recently deleted aliases.
4009 2014-10-08 Leo Liu <sdl.web@gmail.com>
4011 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
4012 Always return a syntax. Replace call-process-shell-command with
4013 process-file. Ensure cfengine-mode-syntax-functions-regex is
4014 always set. Ensure cache when cfengine-cf-promises fails.
4017 2014-10-07 Glenn Morris <rgm@gnu.org>
4019 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
4021 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
4023 Sync with upstream verilog-mode revision c075a492.
4024 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
4025 (verilog-menu): Add AUTOINSERTLAST.
4026 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
4027 is nil, fix indenting initial/final to match always statements, bug825.
4028 Reported by Tim Clapp.
4029 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
4030 bug557. Reported by ZeDong Mao and Jason Forkey.
4031 (verilog-read-decls): Fix parsing typed interfaces.
4032 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
4033 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
4034 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
4035 Reported by Pierre-David Pfister.
4036 (verilog-auto-insert-lisp): Doc fix.
4037 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
4038 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
4039 (verilog-sk-ovm-class, verilog-sk-uvm-object)
4040 (verilog-sk-uvm-component): Fix missing string keyword in class
4041 skeletons, bug824. Reported by eldad faruhi.
4043 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * term/w32-win.el: Move all code from 32-common-fns.el here.
4046 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
4047 console as well (bug#18629).
4048 * w32-common-fns.el: Remove.
4049 * loadup.el: Don't load w32-common-fns.el.
4050 * w32-fns.elc: Don't require w32-common-fns.
4052 * icomplete.el: Move Iswitchb autoload here. Much simpler.
4053 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
4054 Remove redundant obsolescence thingy.
4055 * loadup.el: Don't load obsolete/loaddefs.el.
4056 * Makefile.in (obsolete-autoloads): Remove.
4057 (AUTOGENEL): Remove obsolete/loaddefs.el.
4059 2014-10-06 Glenn Morris <rgm@gnu.org>
4061 * Makefile.in (obsolete-autoloads): Write to a separate file,
4062 to workaround autoloads bug. (Bug#17407)
4063 (AUTOGENEL): Add obsolete/loaddefs.el.
4064 * loadup.el: Load obsolete/loaddefs.el if present.
4065 * subr.el (do-after-load-evaluation):
4066 Don't warn about obsolete/loaddefs.el.
4068 * menu-bar.el (menu-bar-games-menu): Remove landmark.
4069 It has zero relationship to a game.
4071 2014-10-06 Leo Liu <sdl.web@gmail.com>
4073 * imenu.el (imenu): Re-write for clarity.
4075 2014-10-06 Glenn Morris <rgm@gnu.org>
4077 Remove calendar code obsolete since at least version 23.1.
4078 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
4079 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
4080 (calendar-goto-bahai-date, list-bahai-diary-entries)
4081 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
4082 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4083 (insert-yearly-bahai-diary-entry):
4084 * calendar/cal-china.el (chinese-calendar-time-zone)
4085 (chinese-calendar-location-name)
4086 (chinese-calendar-daylight-time-offset)
4087 (chinese-calendar-standard-time-zone-name)
4088 (chinese-calendar-daylight-time-zone-name)
4089 (chinese-calendar-daylight-savings-starts)
4090 (chinese-calendar-daylight-savings-ends)
4091 (chinese-calendar-daylight-savings-starts-time)
4092 (chinese-calendar-daylight-savings-ends-time)
4093 (chinese-calendar-celestial-stem)
4094 (chinese-calendar-terrestrial-branch)
4095 (calendar-absolute-from-chinese, calendar-print-chinese-date)
4096 (calendar-goto-chinese-date):
4097 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
4098 (calendar-print-coptic-date, coptic-prompt-for-date)
4099 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
4100 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
4101 * calendar/cal-french.el (calendar-absolute-from-french)
4102 (calendar-print-french-date, calendar-goto-french-date):
4103 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
4104 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
4105 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
4106 (holiday-rosh-hashanah-etc, holiday-hanukkah)
4107 (holiday-passover-etc, holiday-tisha-b-av-etc)
4108 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
4109 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
4110 (insert-monthly-hebrew-diary-entry)
4111 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
4112 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
4113 (diary-sabbath-candles):
4114 * calendar/cal-islam.el (calendar-absolute-from-islamic)
4115 (calendar-print-islamic-date, calendar-goto-islamic-date)
4116 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
4117 (mark-islamic-diary-entries, insert-islamic-diary-entry)
4118 (insert-monthly-islamic-diary-entry)
4119 (insert-yearly-islamic-diary-entry):
4120 * calendar/cal-iso.el (calendar-absolute-from-iso)
4121 (calendar-print-iso-date, calendar-iso-read-args)
4122 (calendar-goto-iso-date, calendar-goto-iso-week):
4123 * calendar/cal-julian.el (calendar-absolute-from-julian)
4124 (calendar-print-julian-date, calendar-goto-julian-date)
4125 (calendar-absolute-from-astro, calendar-print-astro-day-number)
4126 (calendar-goto-astro-day-number):
4127 * calendar/cal-mayan.el (calendar-print-mayan-date)
4128 (calendar-next-haab-date, calendar-previous-haab-date)
4129 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
4130 (calendar-next-calendar-round-date)
4131 (calendar-previous-calendar-round-date)
4132 (calendar-absolute-from-mayan-long-count)
4133 (calendar-goto-mayan-long-count-date):
4134 * calendar/cal-move.el (scroll-calendar-left)
4135 (scroll-calendar-right, scroll-calendar-left-three-months)
4136 (scroll-calendar-right-three-months):
4137 * calendar/cal-persia.el (calendar-absolute-from-persian)
4138 (calendar-print-persian-date, persian-prompt-for-date)
4139 (calendar-goto-persian-date):
4140 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
4141 * calendar/calendar.el (view-diary-entries-initially)
4142 (mark-diary-entries-in-calendar, calendar-today-face)
4143 (diary-face, holiday-face, view-calendar-holidays-initially)
4144 (mark-holidays-in-calendar, initial-calendar-window-hook)
4145 (today-visible-calendar-hook, today-invisible-calendar-hook)
4146 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
4147 (bahai-diary-entry-symbol, american-date-diary-pattern)
4148 (european-date-diary-pattern, european-calendar-display-form)
4149 (american-calendar-display-form, holidays-in-diary-buffer)
4150 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
4151 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
4152 (fancy-diary-buffer, increment-calendar-month)
4153 (extract-calendar-month, extract-calendar-day)
4154 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
4155 (mark-visible-calendar-date, calendar-version):
4156 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
4157 (diary-display-hook, list-diary-entries-hook)
4158 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
4159 (nongregorian-diary-marking-hook, print-diary-entries-hook)
4160 (abbreviated-calendar-year, number-of-diary-entries)
4161 (view-other-diary-entries, add-to-diary-list)
4162 (include-other-diary-files, simple-diary-display)
4163 (fancy-diary-display, print-diary-entries, mark-diary-entries)
4164 (mark-sexp-diary-entries, mark-included-diary-files)
4165 (mark-calendar-days-named, mark-calendar-month)
4166 (mark-calendar-date-pattern, sort-diary-entries)
4167 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
4168 (insert-weekly-diary-entry, insert-monthly-diary-entry)
4169 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
4170 (insert-block-diary-entry, insert-cyclic-diary-entry)
4171 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
4172 * calendar/holidays.el (general-holidays, oriental-holidays)
4173 (local-holidays, other-holidays, hebrew-holidays)
4174 (christian-holidays, islamic-holidays, bahai-holidays)
4175 (solar-holidays, list-calendar-holidays)
4176 (check-calendar-holidays, mark-calendar-holidays)
4177 (filter-visible-calendar-holidays):
4178 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
4179 (diary-phases-of-moon): Remove obsolete aliases.
4180 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
4181 * calendar/cal-x.el (calendar-one-frame-setup)
4182 (calendar-only-one-frame-setup, calendar-two-frame-setup):
4183 Remove obsolete functions.
4184 (cal-x-load-hook): Remove obsolete hook.
4185 * calendar/calendar.el (european-calendar-style):
4186 Remove obsolete variable.
4187 (calendar-date-style): No longer consult european-calendar-style.
4188 * calendar/calendar.el (european-calendar, american-calendar):
4189 Remove obsolete commands.
4190 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
4191 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
4192 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
4193 Use the face `diary' instead of the variable `diary-face'.
4194 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
4195 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
4196 * calendar/icalendar.el (icalendar--date-style): Remove function.
4197 Replace all uses with calendar-date-style.
4198 * textmodes/remember.el (calendar-date-style): Declare.
4199 (remember-diary-convert-entry):
4200 No longer consult european-calendar-style.
4202 2014-10-05 Leo Liu <sdl.web@gmail.com>
4204 * imenu.el (imenu-default-goto-function): Fix typo.
4206 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4208 * net/ntlm.el (ntlm-build-auth-request):
4209 Add NTLM2 Session support. (Bug#15603)
4211 2014-10-04 Glenn Morris <rgm@gnu.org>
4213 * apropos.el (apropos-symbols-internal):
4214 Avoid error with non-symbol properties. (Bug#18337#16)
4216 * startup.el (command-line):
4217 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
4219 2014-10-04 Martin Rudalics <rudalics@gmx.at>
4221 * window.el (window-full-height-p): Make it behave correctly for
4223 (window-current-scroll-bars): Fix code.
4224 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
4226 * frame.el (frame-current-scroll-bars): Fix doc-string.
4227 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
4229 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4231 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
4233 2014-10-04 Glenn Morris <rgm@gnu.org>
4235 * frame.el (frame-monitor-attributes)
4236 (display-monitor-attributes-list): Doc fixes.
4238 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4240 Merge trivially safe differences from standalone CC-mode.
4241 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
4242 just to then pass it to `symbol-value'.
4243 (prog-mode): Provide fallback definition, if needed.
4244 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
4245 Remove "cl-" prefix accordingly.
4246 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
4247 characterp depending on the type of characters.
4248 (c-font-lock-enum-tail): Remove unused var `start'.
4249 * progmodes/cc-engine.el: Load CL at compile-time.
4250 (c-declare-lang-variables): Use mapcan.
4251 (c-append-to-state-cache): Remove unused var `ce+1'.
4252 (c-parse-state-state): Make buffer-local.
4253 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
4254 (c-just-after-func-arglist-p): Remove unused var `end'.
4255 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
4256 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
4257 (c-make-keywords-re): Use delete-dups.
4258 (c-get-current-file): Avoid file-name-base.
4259 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
4260 `close-paren-inserted'.
4261 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
4263 * progmodes/python.el: Avoid building unneeded markers.
4264 (python-font-lock-keywords, python-indent-dedent-line)
4265 (python-fill-paren, python-shell-completion-complete-or-indent):
4266 Prefer point over point-marker.
4267 (inferior-python-mode): Remove redundant completion settings.
4269 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
4271 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
4272 (vc-svn-ignore): Use it. (Bug#18619)
4274 2014-10-03 Martin Rudalics <rudalics@gmx.at>
4276 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4277 In doc-string mention need to set `frame-resize-pixelwise'.
4279 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4281 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
4282 similarly to Rogers's 2010-06-16 change for the remote case
4285 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4287 New gui-selection-value consolidating x-selection-value.
4288 * select.el (gui-selection-value-alist): New method.
4289 (gui-selection-value): New function.
4290 (x-selection-value): Make it an obsolete alias.
4291 * simple.el (interprogram-paste-function): Default to
4292 gui-selection-value.
4293 * w32-common-fns.el (w32-get-selection-value): Simplify.
4294 (x-selection-value): Remove alias.
4295 (interprogram-paste-function): Don't set.
4296 (gui-selection-value): Define for w32.
4297 * term/x-win.el (gui-selection-value): Define for x.
4298 (x--selection-value): Rename from x--selection-value.
4299 (interprogram-paste-function): Don't set.
4300 * term/pc-win.el (w16-get-selection-value): Simplify.
4301 (msdos-initialize-window-system): Don't set
4302 interprogram-paste-function.
4303 (gui-selection-value): Define for pc.
4304 * term/ns-win.el (x-selection-value): Remove.
4305 (gui-selection-value): Define for ns, instead.
4306 * term/common-win.el (x-setup-function-keys): Don't set
4307 interprogram-paste-function.
4308 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
4309 Use gui-selection-value.
4311 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
4313 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
4315 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * obsolete/lucid.el (read-number): Remove, redundant.
4318 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
4321 2014-10-02 Glenn Morris <rgm@gnu.org>
4323 * emacs-lisp/package.el (package-import-keyring):
4324 Create gnupg directory private. (Bug#17625#155)
4326 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4328 * progmodes/python.el (python-shell-completion-get-completions):
4329 Use python-shell--prompt-calculated-input-regexp from the
4330 process buffer (bug#18582).
4331 Don't assume that `line' comes from the process buffer.
4333 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * frame.el: Use lexical-binding (bug#18598).
4336 (make-frame): Use t rather than nil for tty's window-system.
4337 * startup.el (command-line): Use gui-method.
4339 Consolidate management/ownership of selections.
4340 * select.el (gui-get-selection-alist): New method.
4341 (gui-get-selection): Use it. Rename from x-get-selection.
4342 (x-get-selection): Define as obsolete alias.
4343 (x-get-clipboard): Mark obsolete.
4344 (gui-get-primary-selection): New function.
4345 (x-get-selection-value): Mark obsolete.
4346 (gui-own-selection-alist, gui-disown-selection-alist)
4347 (gui-selection-owner-p-alist): New methods.
4348 (gui-set-selection): Use them. Rename from x-set-selection.
4349 (x-set-selection): Define as obsolete alias.
4350 (gui--valid-simple-selection-p): Rename from
4351 x-valid-simple-selection-p.
4352 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
4353 (gui-selection-owner-p, gui-get-selection): Define for w32.
4354 (w32-get-selection-value): Rename from x-get-selection-value.
4355 Use the new gui-last-selected-text.
4356 * term/x-win.el (x-get-selection-value): Remove.
4357 (x-clipboard-yank): Declare obsolete.
4358 (gui-own-selection, gui-disown-selection, gui-get-selection)
4359 (gui-selection-owner-p): Define for x.
4360 * term/w32-win.el (w32-win-suspend-error): Rename from
4361 x-win-suspend-error.
4362 * term/pc-win.el (w16-get-selection-value): Rename from
4363 x-get-selection-value.
4364 (w16-selection-owner-p): Rename from x-selection-owner-p.
4365 (gui-own-selection, gui-disown-selection, gui-get-selection)
4366 (gui-selection-owner-p): Define for pc.
4367 (w16--select-text): New function.
4368 * term/ns-win.el (gui-own-selection, gui-disown-selection)
4369 (gui-get-selection, gui-selection-owner-p): Define for ns.
4370 * term.el (term-mouse-paste):
4371 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
4373 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
4375 * calc/calc-help.el (calc-describe-thing): Quote strings
4376 which could look like regexps.
4378 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4380 Consolidate x-select-text.
4381 * frame.el (gui-method, gui-method-define, gui-method-declare)
4382 (gui-call): New macros.
4383 (gui-method--name): New function.
4384 (frame-creation-function-alist): Use gui-method-declare.
4385 (make-frame): Use gui-method.
4386 * select.el (gui-select-enable-clipboard): Rename from
4387 x-select-enable-clipboard and move here.
4388 (x-select-enable-clipboard): Define as obsolete alias.
4389 (gui-last-selected-text): New var, to replace x-last-selected-text.
4390 (gui-select-text): New GUI method.
4391 (gui-select-text): New function.
4392 (x-select-text): Define as obsolete alias.
4393 * term/common-win.el (x-select-enable-clipboard, x-select-text):
4395 * simple.el (interprogram-cut-function): Change default to
4397 (interprogram-paste-function): Change default to `ignore'.
4398 * w32-common-fns.el (interprogram-cut-function): Don't modify.
4399 * term/x-win.el (interprogram-cut-function): Don't modify.
4400 (gui-select-text): Add method for x.
4401 * term/w32-win.el (gui-select-text): Add method for w32.
4402 * term/pc-win.el (x-last-selected-text): Remove, use
4403 gui-last-selected-text instead.
4404 (msdos-initialize-window-system): Don't set interprogram-cut-function.
4405 (gui-select-text): Add method for pc.
4406 * term/ns-win.el (ns-last-selected-text): Remove, use
4407 gui-last-selected-text instead.
4408 (gui-select-text): Add method for ns.
4409 (x-setup-function-keys): Don't change interprogram-cut-function.
4410 * loadup.el ("startup"): Load after "frame".
4411 * subr.el (package--builtin-versions, package--description-file):
4412 Move from startup.el.
4413 * startup.el (package--builtin-versions, package--description-file):
4415 (handle-args-function-alist, window-system-initialization-alist):
4416 Use gui-method-declare.
4417 (command-line): Use gui-method.
4419 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4421 * subr.el (alist-get): New accessor.
4422 * emacs-lisp/gv.el (alist-get): Provide expander.
4423 * winner.el (winner-remember):
4424 * tempo.el (tempo-use-tag-list):
4425 * progmodes/gud.el (minor-mode-map-alist):
4426 * international/mule-cmds.el (define-char-code-property):
4427 * frameset.el (frameset-filter-params):
4428 * files.el (dir-locals-set-class-variables):
4429 * register.el (get-register, set-register):
4430 * calc/calc-yank.el (calc-set-register): Use it.
4431 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
4432 * tooltip.el (tooltip-set-param): Mark as obsolete.
4433 (tooltip-show): Use alist-get instead.
4434 * ses.el (ses--alist-get): Remove. Use alist-get instead.
4436 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
4438 * net/newst-backend.el: Remove Time-stamp. Rename variable
4439 `newsticker--download-logos' to `newsticker-download-logos' and
4440 make it customizable.
4441 (newsticker--sentinel-work): Move xml-workarounds to function
4442 `newsticker--do-xml-workarounds', call unless libxml-parser is
4443 used. Allow single quote in regexp for encoding.
4444 Use libxml-parser if available, else fall back to `xml-parse-region'.
4445 Take care of possibly missing namespace prefixes (like "RDF"
4446 instead of "rdf:RDF") when checking xml nodes and attributes (as
4447 libxml correctly removes the prefixes). Always use Atom 1.0 as
4448 fallback feed type. Rename `newsticker--download-logos' to
4449 `newsticker-download-logos'
4450 (newsticker--unxml, newsticker--unxml-node)
4451 (newsticker--unxml-attribute): New.
4452 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
4453 HTML code has become part of the xml parse tree.
4454 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
4455 of possibly missing namespace prefixes.
4456 (newsticker--parse-generic-items): Code formatting. Typo.
4457 (newsticker--images-dir): Add trailing slash.
4458 (newsticker--image-get): Fix error message.
4460 * net/newst-plainview.el: Remove Time-stamp.
4462 * net/newst-reader.el: Remove Time-stamp.
4463 (newsticker-download-logos): Rename variable
4464 `newsticker--download-logos' to `newsticker-download-logos' and
4465 make it customizable.
4466 (newsticker--print-extra-elements): Add optional parameter
4467 'htmlish for using html markup. Amend list of ignored elements.
4468 (newsticker--do-print-extra-element): Add parameter 'htmlish for
4471 * net/newst-ticker.el: Remove Time-stamp.
4473 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
4474 for formatting extra elements.
4476 * net/newsticker.el: Remove Time-stamp, Version.
4477 (newsticker-version): Make obsolete.
4479 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
4481 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
4484 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4486 * emacs-lisp/package.el (package-check-signature): Default to nil if
4487 GPG is not available.
4488 (package-refresh-contents): Don't mess with the keyring if we won't
4489 check the signatures anyway.
4491 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4493 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
4494 (ses-center, ses-center-span): Use them.
4495 (ses-print-cell): Bind them while calling the printer.
4496 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
4497 (ses-dorange): Revert last change.
4498 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
4500 (ses-set-cell): Avoid `eval'.
4501 (ses--time-check): Rename it from ses-time-check and turn it into
4504 * ses.el (ses-setup): Don't assume modifying the iteration var of
4505 dotimes affects the iteration (bug#18191).
4507 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
4509 * ses.el (ses-calculate-cell): Bind row and col dynamically to
4510 their values with 'cl-progv'.
4511 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
4512 their values with 'cl-progv', also use non-interned symbols for
4513 row, minrow, maxrow, mincol and maxcol.
4514 (maxrow maxcol): New defvar, to make the compiler happy.
4516 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4518 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
4519 completion functions.
4521 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
4523 * ses.el (ses--letref): Quote value before it gets re-evaluated.
4525 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
4527 Font-lock `cl-flet*', too.
4528 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
4529 Add "flet*" to intermediate var `cl-lib-kw'.
4531 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4533 * epg-config.el (epg-gpg-program): Use the plain program names rather
4534 than their absolute file name.
4536 * subr.el (track-mouse): New macro.
4537 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4538 Remove track-mouse case.
4539 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
4541 2014-09-27 Leo Liu <sdl.web@gmail.com>
4543 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
4545 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
4547 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
4550 Handle the case where `match' is :pcase--succeed or :pcase--fail
4553 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
4554 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
4555 (eldoc-schedule-timer): Obey it.
4556 (eldoc-documentation-function): Default to nil.
4557 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
4558 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
4559 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
4560 (eldoc-last-data-store, eldoc-docstring-first-line)
4561 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
4562 (eldoc-beginning-of-sexp, eldoc-current-symbol)
4563 (eldoc-function-argstring): Move to elisp-mode.el.
4564 (eldoc-symbol-function): Remove, unused.
4565 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
4566 (elisp-completion-at-point): Rename from lisp-completion-at-point.
4567 (elisp--preceding-sexp): Rename from preceding-sexp.
4568 * loadup.el: Load new file progmodes/elisp-mode.
4569 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
4570 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
4571 (lisp--local-variables-completion-table, lisp--expect-function-p)
4572 (lisp--form-quoted-p, lisp--company-doc-buffer)
4573 (lisp--company-doc-string, lisp--company-location)
4574 (lisp-completion-at-point): Move to elisp-mode.el.
4575 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
4576 extracted from emacs-lisp-mode-syntax-table.
4577 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
4579 (lisp-imenu-generic-expression): Add comments to document what comes
4580 from which Lisp dialect.
4581 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
4582 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
4583 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
4584 (emacs-lisp-byte-code-comment)
4585 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
4586 (lisp-interaction-mode-map, lisp-interaction-mode)
4587 (eval-print-last-sexp, last-sexp-setup-props)
4588 (last-sexp-toggle-display, prin1-char, preceding-sexp)
4589 (eval-last-sexp-1, eval-last-sexp-print-value)
4590 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
4591 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
4593 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
4595 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
4596 Do not match file names that end in '/', as they cannot be 'grep'
4597 hits nowadays. This prevents confusion when 'grep -r' reports a
4598 match in a file whose basename is ':12345:'. Conversely, do not
4599 require exactly the same sequence of spaces and tabs after both
4600 colons, and allow spaces or tabs before the second colon, as per
4601 the POSIX spec for 'grep' output.
4603 2014-09-26 Leo Liu <sdl.web@gmail.com>
4605 Add cl-parse-integer based on parse-integer (Bug#18557)
4606 * calendar/parse-time.el (parse-time-digits): Remove.
4607 (digit-char-p, parse-integer) Moved to cl-lib.el.
4608 (parse-time-tokenize, parse-time-rules, parse-time-string):
4609 Use cl-parse-integer.
4611 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
4613 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
4614 (cl-digit-char-p): New function.
4616 2014-09-25 Juri Linkov <juri@jurta.org>
4618 * vc/add-log.el (change-log-next-buffer): Don't create an empty
4619 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
4620 Return the current buffer if no files match the default pattern
4621 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
4623 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
4625 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
4626 the global vc-handled-backends (bug#18535).
4628 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
4630 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
4631 Suggested by <lompik@voila.fr>.
4633 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
4635 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
4636 Rename from `newsticker--treeview-do-get-node'.
4637 (newsticker--treeview-get-node-by-id):
4638 Rename from `newsticker--treeview-get-node'.
4639 (newsticker--treeview-buffer-init)
4640 (newsticker--treeview-buffer-init): Disable buffer undo.
4641 (newsticker--treeview-unfold-node): Adapt to modified
4642 `newsticker--group-find-parent-group'.
4643 (newsticker--group-do-find-group):
4644 Rename from `newsticker--group-do-find-group-for-feed'.
4645 Now works for both, groups and feeds.
4646 (newsticker--group-find-parent-group):
4647 Rename from `newsticker--group-find-group-for-feed'.
4648 Now works for both, groups and feeds.
4649 (newsticker--group-do-get-parent-group)
4650 (newsticker--group-get-parent-group): Remove.
4651 (newsticker-group-add-group): Change interactive prompts.
4652 (newsticker-group-add-group): Finally jump to added group.
4653 (newsticker-group-delete-group): Finally jump to current feed.
4654 (newsticker--group-do-rename-group, newsticker-group-rename-group)
4655 (newsticker--get-group-names, newsticker--group-names): New.
4656 (newsticker-group-move-feed): Finally jump to moved feed.
4657 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
4658 (newsticker-group-shift-group-down)
4659 (newsticker-group-shift-group-up, newsticker--group-shift): New.
4660 (newsticker-treeview-mode-map): New keybindings for new shift commands.
4662 * net/newst-backend.el (newsticker--item-list)
4663 (newsticker--item-position, newsticker--prev-message)
4664 (newsticker--scrollable-text): Move to newst-ticker.el.
4666 * net/newst-ticker.el (newsticker--item-list)
4667 (newsticker--item-position, newsticker--prev-message)
4668 (newsticker--scrollable-text): Move from newst-backend.el.
4670 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
4672 * window.el (fit-window-to-buffer): When counting buffer width,
4673 count the whole visible buffer. Correctly convert the body-height
4674 to pixel size for window-text-pixel-size (Bug#18498).
4676 2014-09-22 Sam Steingold <sds@gnu.org>
4678 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
4679 (sql-execute): Use `special-mode'.
4681 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
4683 Add pcase-defmacro, as well as `quote' and `app' patterns.
4684 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
4685 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
4686 (pcase--funcall, pcase--eval): New functions.
4687 (pcase--u1): Use them for guard, pred, let, and app.
4688 (\`): Use the new feature to generate better code for vector patterns.
4689 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
4690 (pcase--upat): Remove.
4691 (pcase--macroexpand): Don't hardcode handling of `.
4692 (pcase--split-consp, pcase--split-vector): Remove.
4693 (pcase--split-equal): Disregard ` since it's expanded away.
4694 (pcase--split-member): Optimize for quote rather than for `.
4695 (pcase--split-pred): Optimize for quote rather than for `.
4696 (pcase--u1): Remove handling of ` (and of `or' and `and').
4697 Quote non-selfquoting values when passing them to `eq'.
4698 Drop `app's let-binding if the variable is not used.
4699 (pcase--q1): Remove.
4700 (`): Define as a pattern macro.
4701 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
4702 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
4703 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
4705 (pcase--split-match): Don't hoist or/and here any more.
4706 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
4707 (pcase--flip): New helper macro.
4708 (pcase--u1): Optimize the memq case directly.
4709 Don't handle neither self-quoting nor and/or patterns any more.
4710 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
4711 (pcase--macroexpand): New function.
4712 (pcase--expand): Use it.
4713 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
4714 New optimization functions.
4715 (pcase--u1): Add support for `quote' and `app'.
4716 (pcase): Document them in the docstring.
4718 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
4720 Use lexical-bindin in Ibuffer.
4721 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
4722 (ibuffer-compile-format): Simplify.
4723 (ibuffer-clear-summary-columns): Simplify.
4724 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
4725 elem of dotimes when we don't refer to the iteration var from it.
4726 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
4727 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
4728 Silence byte-compiler.
4730 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
4732 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
4733 expression for a list.
4735 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
4736 for functions with no arguments.
4738 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
4739 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
4741 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
4743 * simple.el (clone-indirect-buffer): Mention the return value
4746 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
4747 Text mode in docstring (bug#18464).
4749 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4752 Accept underscores in identifiers after "sub" (bug#18502).
4754 2014-09-21 Tassilo Horn <tsdh@gnu.org>
4756 * textmodes/reftex-sel.el (reftex-select-label-mode)
4757 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
4758 from special-mode (instead of fundamental-mode) and propertize
4759 with font-lock-face instead of just face. (Bug#18496)
4761 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
4763 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
4765 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
4766 `table-etc' when `end' is non-nil.
4767 (lisp-completion-at-point): Move `end' back if it's after quote.
4768 If in comment or string, only complete when after backquote.
4770 (lisp-completion-at-point): Don't use
4771 `lisp--local-variables-completion-table' in the
4772 `lisp--form-quoted-p' case.
4774 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
4776 * emacs-lisp/lisp.el (lisp--expect-function-p)
4777 (lisp--form-quoted-p): New functions.
4778 (lisp-completion-at-point): Use them to see if we're completing a
4779 variable reference, a function name, or just any symbol.
4780 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
4782 2014-09-18 Ivan Kanis <ivan@kanis.fr>
4784 * net/shr.el, net/eww.el: Don't override `shr-width', but
4785 introduce a new variable `shr-internal-width'. This allows users
4786 to specify a width themselves.
4788 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4790 * image-mode.el (image-toggle-display-image): If we have a
4791 `fit-width' or a `fit-height', don't limit the size of the image
4792 to the window size, because that doesn't preserve the aspect ratio.
4793 * image-mode.el: Move defvars earlier to avoid a byte-compilation
4796 2014-09-17 Reuben Thomas <rrt@sc3d.org>
4798 * progmodes/js.el: Add interpreter-mode-alist support for various
4799 JavaScript interpreters.
4801 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
4803 Don't assume 'grep' supports GREP_OPTIONS.
4804 The GREP_OPTIONS environment variable is planned to be marked
4805 obsolescent in GNU grep, due to problems in its use, so stop
4807 * progmodes/grep.el (grep-highlight-matches): Document this.
4808 (grep-process-setup): Do not set GREP_OPTIONS.
4809 (grep-compute-defaults): Use an explicit --color option if supported.
4811 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
4814 Don't add outdated key-shortcut cache (bug#18482).
4816 2014-09-15 Glenn Morris <rgm@gnu.org>
4818 * image.el (image-multi-frame-p): Fix thinko - do not force
4819 a delay if none was specified. (Bug#18334)
4821 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
4823 * window.el (fit-window-to-buffer): Doc fix.
4825 2014-09-15 Ivan Shmakov <ivan@siamics.net>
4827 * desktop.el (desktop-create-buffer): Check that buffers are still live
4828 before burying them (bug#18373).
4830 2014-09-15 Glenn Morris <rgm@gnu.org>
4832 * calendar/diary-lib.el (diary-list-entries):
4833 Restore 24.3 display behavior. (Bug#18381)
4835 2014-09-15 Eli Zaretskii <eliz@gnu.org>
4837 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
4838 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
4839 discrepancy between window-pixel-edges and mouse events, and
4840 avoids moving mode line up when the mouse click is on the modeline
4841 and no drag is attempted.
4843 2014-09-14 Daniel Colascione <dancol@dancol.org>
4845 * register.el (insert-register): Change default interactive
4848 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
4850 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
4851 Suppress debug messages.
4853 * net/tramp.el (tramp-file-name-handler):
4854 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
4857 2014-09-13 Christopher Schmidt <ch@ristopher.com>
4859 * calendar/calendar.el (calendar-update-mode-line):
4860 Do not overwrite mode-line-format if calendar-mode-line-format is
4863 2014-09-13 Leo Liu <sdl.web@gmail.com>
4865 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
4866 (pcase--expand): Use it.
4867 (pcase-exhaustive): New macro. (Bug#16567)
4869 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
4870 Add pcase-exhaustive.
4872 2014-09-13 Eli Zaretskii <eliz@gnu.org>
4874 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
4875 using the specified transfer-encoding, if any, or 'undecided'.
4876 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
4877 broken at the window margin.
4879 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
4881 Support rendering of HTML parts in Rmail (bug#4258).
4882 * mail/rmailmm.el (rmail-mime-process): Handle text/html
4883 separately from other text/ types. Suppress tagline for
4885 (rmail-mime-parse): Don't change visibility of tagline here.
4886 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
4887 Handle text/html specially.
4888 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
4889 (rmail-mime-insert-html, rmail-mime-render-html-shr)
4890 (rmail-mime-render-html-lynx): New functions.
4891 (rmail-mime-fix-inserted-faces): New function.
4892 (rmail-mime-process-multipart): Find the best part to show
4893 following rmail-mime-prefer-html if set.
4894 (rmail-mime-searching): New variable.
4895 (rmail-search-mime-message): Bind rmail-mime-searching to
4896 suppress rendering while searching.
4898 2014-09-12 Sam Steingold <sds@gnu.org>
4900 * progmodes/sql.el (sql-product-alist): Add vertica.
4901 (sql-vertica-program, sql-vertica-options)
4902 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
4903 New functions and variables to support Vertica.
4904 Inspired by code by Roman Scherer <roman@burningswell.com>.
4906 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
4908 * ses.el (ses-file-format-extend-parameter-list): Rename from
4909 ses-file-format-extend-paramter-list, to correct a misspelling.
4912 2014-09-10 Alan Mackenzie <acm@muc.de>
4914 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
4915 gets loaded at run-time).
4916 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
4917 c-lang-const to c-make-no-parens-syntax-table and correct the
4919 (c-no-parens-syntax-table): Correct the logic of the
4922 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4924 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
4926 * progmodes/cc-mode.el (c-basic-common-init):
4927 Set open-paren-in-column-0-is-defun-start.
4928 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
4929 Remove declarations, unused.
4930 (run-mode-hooks): Remove declaration.
4931 (font-lock-defaults): Use plain `defvar' to declare.
4932 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
4933 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
4934 (c-make-mode-syntax-table): Don't micro-optimize.
4935 (c-keywords, c-keyword-member-alist): Simplify.
4936 (c-kwds-lang-consts): Don't eval at compile-time.
4937 (c-primary-expr-regexp): Comment out unused vars.
4938 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
4939 (c-font-byte-compile): New var.
4940 (c--compile): New function. Use it instead of `byte-compile'.
4941 (c-cpp-matchers): Quote the value returned by
4942 `c-make-syntactic-matcher' in case it's not self-evaluating.
4943 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
4944 parentheses instead (in case MATCHER happens to be a list).
4945 (c-font-lock-enum-tail): Remove unused var `start'.
4946 (c-font-lock-objc-methods): Silence byte-compiler warnings.
4947 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
4948 test into an argument.
4949 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
4950 (c-get-char-property): Don't use `eval' just to unquote a constant.
4951 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
4953 (c-put-char-property-fun): Don't call `byte-compile' by hand.
4954 (c-clear-char-property, c-clear-char-properties): Check that `property'
4955 is a quoted constant.
4956 (c-emacs-features): Remove `infodock', `syntax-properties', and
4957 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
4958 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
4959 changing buffer, so we don't have to setq them again afterwards.
4960 (c-lang-const): Remove redundant symbolp assertions.
4961 (c-find-assignment-for-mode): Use `or'.
4962 * Makefile.in (compile-one-process): Remove cc-mode dependency.
4964 2014-09-09 Sam Steingold <sds@gnu.org>
4966 * progmodes/sql.el (sql-default-directory): Fix type annotation.
4968 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
4971 Change doc comments into docstrings.
4972 * Makefile.in: Remove cc-awk dependency.
4974 2014-09-08 Sam Steingold <sds@gnu.org>
4976 * progmodes/sql.el (sql-send-line-and-next): New command,
4978 (sql-show-sqli-buffer): Display the buffer instead of its name and
4979 bind the command to C-c C-z.
4980 (sql-default-directory): New user option.
4981 (sql-product-interactive): Bind `default-directory' to it to
4982 enable remote connections using Tramp.
4983 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
4984 suitable buffer is available.
4986 2014-09-08 Glenn Morris <rgm@gnu.org>
4988 * calendar/calendar.el (calendar-basic-setup):
4989 Fix calendar-view-holidays-initially-flag and fancy display.
4990 * calendar/diary-lib.el (diary-live-p): Doc fix.
4992 * calendar/calendar.el (calendar-basic-setup):
4993 Avoid clobbering calendar with diary. (Bug#18381)
4995 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4997 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
4999 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
5001 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
5002 as well (bug#18400).
5004 2014-09-08 Eli Zaretskii <eliz@gnu.org>
5006 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
5008 2014-09-06 Leo Liu <sdl.web@gmail.com>
5010 * emacs-lisp/pcase.el (pcase): Doc fix.
5011 (pcase--split-vector): New function.
5012 (pcase--q1): Support vector qpattern. (Bug#18327)
5014 2014-09-05 Sam Steingold <sds@gnu.org>
5016 * textmodes/tex-mode.el (tex-print-file-extension): New user
5018 (tex-print): Use it instead of the hard-coded string.
5020 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
5022 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5023 Expand `default-directory'.
5025 2014-09-05 Martin Rudalics <rudalics@gmx.at>
5027 * scroll-bar.el (horizontal-scroll-bars-available-p):
5029 (horizontal-scroll-bar-mode): Rewrite using
5030 horizontal-scroll-bars-available-p.
5031 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
5032 horizontal-scroll-bars-available-p.
5034 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5036 * subr.el (call-process-shell-command, process-file-shell-command):
5037 Make the `args' obsolete (bug#18409).
5038 (start-process-shell-command, start-file-process-shell-command):
5041 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
5043 * calc/calc-forms.el (math-normalize-hms): Do a better check for
5044 "negative" hms forms.
5046 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
5048 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
5049 returns nil (bug#18391).
5051 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5053 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
5054 terminating paren (bug#18352).
5055 (eldoc-last-data-store): Return cached data.
5056 (eldoc-get-var-docstring): Avoid setq.
5057 (eldoc-get-fnsym-args-string): Clarify data flow.
5059 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5061 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
5062 case where we're currently providing part of the &rest arg after some
5063 &key args, as in define-ibuffer-op (bug#18048).
5065 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5067 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
5068 buffer-local setting of which-func-mode.
5069 (which-func-mode): Use defvar-local.
5070 (which-function-mode): Don't reset which-func-mode in each buffer since
5071 it might have been set by someone else.
5072 (which-func-update-ediff-windows): Check which-function-mode.
5074 2014-09-03 Martin Rudalics <rudalics@gmx.at>
5076 * frame.el (frame-initialize): Remove horizontal-scroll-bars
5077 from frame-initial-frame-alist.
5078 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
5079 (horizontal-scroll-bar-mode-explicit)
5080 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
5081 (toggle-horizontal-scroll-bar): Remove.
5082 (horizontal-scroll-bar-mode): Remove defcustom.
5083 (horizontal-scroll-bar-mode): Fix doc-string.
5084 (scroll-bar-toolkit-scroll)
5085 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
5087 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5089 * emacs-lisp/package.el (package-generate-description-file):
5090 Properly quote the arguments (bug#18332). Change second arg.
5091 (package--alist-to-plist-args): Rename from package--alist-to-plist and
5093 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
5094 the *-pkg.el file. Adjust to new calling convention of
5095 package-generate-description-file.
5097 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
5098 (gud-gdb-completions): Remove obsolete workaround.
5100 2014-09-03 Eli Zaretskii <eliz@gnu.org>
5102 * subr.el (posn-col-row): Revert the change from commit
5103 2010-11-13T21:07:58Z!eliz@gnu.org, which
5104 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
5105 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
5106 introduced an off-by-one error in the reported row when there is a
5107 header line. (Bug#18384)
5109 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
5111 * progmodes/python.el (python-indent-post-self-insert-function):
5112 Avoid electric colon at beginning-of-defun. (Bug#18228)
5114 2014-09-03 Glenn Morris <rgm@gnu.org>
5116 * tutorial.el (tutorial--display-changes):
5117 Fix 2014-08-01 change. (Bug#18382)
5119 2014-09-03 Ken Brown <kbrown@cornell.edu>
5121 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
5122 the Cygwin-w32 build. (Bug#18347)
5124 2014-09-03 Glenn Morris <rgm@gnu.org>
5126 * tar-mode.el (tar--extract, tar-extract):
5127 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
5129 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5131 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
5132 handle multiline elements (bug#18380).
5134 2014-09-01 Eli Zaretskii <eliz@gnu.org>
5136 * ls-lisp.el (ls-lisp-use-string-collate)
5137 (ls-lisp-UCA-like-collation): New defcustoms.
5138 (ls-lisp-string-lessp): Use them to control sorting by file
5140 (ls-lisp-version-lessp): New function.
5141 (ls-lisp-handle-switches): Use it to implement the -v switch of
5143 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
5145 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
5147 * ibuffer.el: Replace mode-specific quit function with
5148 `quit-window' via `special-mode'.
5149 (ibuffer-mode-map): Use keybindings from special-mode-map instead
5151 (ibuffer): Don't store previous windows configuration.
5152 Let `quit-window' handle restoring.
5153 (ibuffer-quit): Remove function. Use `quit-window' instead.
5154 (ibuffer-restore-window-config-on-quit): Remove variable.
5155 (ibuffer-prev-window-config): Remove variable.
5157 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
5159 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
5160 name instead of variable name in hook docstring. (Bug#18349)
5162 2014-08-29 Martin Rudalics <rudalics@gmx.at>
5164 * window.el (display-buffer-at-bottom): Prefer bottom-left
5165 window to other bottom windows. Reuse a bottom window if it
5166 shows the buffer already. Suggested by Juri Linkov
5167 <juri@jurta.org> in discussion of (Bug#18181).
5169 2014-08-29 Leo Liu <sdl.web@gmail.com>
5171 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
5172 append to minibuffer-setup-hook. (Bug#18341)
5174 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5176 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
5178 (lookup-syntax-properties): Silence byte-compiler.
5179 (c-lang-defconst): Quote the code with `lambda' rather than with
5181 (c-lang-const): Avoid unneeded setq.
5182 (c-lang-constants-under-evaluation): Add docstring.
5183 (c-lang--novalue): New constant.
5184 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
5185 (c-get-lang-constant): Same here.
5186 Get the mode's value using `funcall' now that the code is quoted
5189 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5191 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
5194 2014-08-28 Martin Rudalics <rudalics@gmx.at>
5196 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
5197 interpretation of `portion-whole'.
5199 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5201 * net/tramp-adb.el: Spell author name correctly.
5203 2014-08-28 João Távora <joaotavora@gmail.com>
5205 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
5206 use url-expand-file-name. (Bug#18310)
5208 2014-08-28 Glenn Morris <rgm@gnu.org>
5210 * emulation/cua-rect.el (cua--highlight-rectangle):
5211 Avoid error at point-min. (Bug#18309)
5213 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5215 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
5216 executable-find (bug#18244).
5218 * simple.el (self-insert-uses-region-functions): Defvar.
5220 2014-08-28 Glenn Morris <rgm@gnu.org>
5222 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
5224 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
5226 * startup.el (normal-top-level): Now use internal--top-level-message.
5228 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
5230 * startup.el (normal-top-level): Use top-level-message.
5232 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5234 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
5235 URLs containing spaces and the like.
5237 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5239 * subr.el (remq): Fix docstring (Bug#18253).
5241 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5243 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
5245 2014-08-24 Alan Mackenzie <acm@muc.de>
5247 Handle C++11's "auto" and "decltype" constructions.
5248 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
5249 and return 'decltype.
5250 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
5251 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
5253 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
5255 (c-font-lock-c++-new): Handle "decltype" constructions.
5256 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
5257 New c-lang-defconsts/defvars.
5258 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
5259 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
5260 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
5261 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
5263 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
5264 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
5265 off from c->-op-cont-re.
5266 (c->-op-cont-tokens): Change to use the above.
5267 (c->-op-without->-cont-regexp): New lang-const.
5268 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
5269 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
5272 2014-08-23 Alan Mackenzie <acm@muc.de>
5274 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
5275 loop, bug #18306. The bug was introduced on 2014-08-02.
5277 2014-08-21 Eli Zaretskii <eliz@gnu.org>
5279 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
5280 Don't recognize a Top node if there are other sectioning commands
5281 earlier in the Texinfo file. This fixes a bug in
5282 texinfo-make-menu and avoids inflooping in
5283 texinfo-all-menus-update when they are invoked on texinfo.texi.
5285 2014-08-21 Martin Rudalics <rudalics@gmx.at>
5287 * window.el (window--side-window-p): New function.
5288 (split-window, window-splittable-p): Use window--side-window-p to
5289 determine whether WINDOW can be split (Bug#18304).
5290 * calendar/calendar.el (calendar-basic-setup): Fix one call of
5291 `window-splittable-p' and add another (Bug#18304).
5293 2014-08-20 Sam Steingold <sds@gnu.org>
5295 * progmodes/python.el (python-new-pythonpath): Extract from
5296 `python-shell-calculate-process-environment'.
5298 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5300 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
5301 for &key args (bug#18048).
5303 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5305 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
5306 (eldoc-function-argstring-format): Remove.
5307 (eldoc-function-argstring): Always return upcase args.
5308 Use help-make-usage. Don't add parens.
5309 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
5310 it's too late to do it right (bug#18048).
5312 2014-08-18 Eli Zaretskii <eliz@gnu.org>
5314 * scroll-bar.el (scroll-bar-horizontal-drag-1)
5315 (scroll-bar-toolkit-horizontal-scroll): When determining the
5316 paragraph direction, use the buffer of the window designated in
5319 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
5321 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
5322 context of unified diff.
5324 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
5326 Add dependencies to fix loaddefs race during parallel builds.
5327 Without this, for example, 'make -j bootstrap' can fail and report
5328 "Opening input file: no such file or directory,
5329 .../lisp/calendar/diary-loaddefs.el ... recipe for target
5330 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
5331 got confused because diary-loaddefs.el was being built in parallel.
5332 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
5333 Depend on $(CAL_DIR)/cal-loaddefs.el.
5334 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
5336 2014-08-16 Martin Rudalics <rudalics@gmx.at>
5338 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
5339 portion-whole for scrolling right-to-left text.
5341 2014-08-15 Leo Liu <sdl.web@gmail.com>
5343 * speedbar.el (speedbar-generic-list-tag-p): Allow special
5344 elements from imenu.
5346 2014-08-15 Glenn Morris <rgm@gnu.org>
5348 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
5350 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5352 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5353 Add Guile regexpses.
5355 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5357 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
5358 add Guile debugger support for GUD.
5360 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5362 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
5363 (mouse-sel--ignore): New function.
5364 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
5365 (mouse-sel-original-interprogram-cut-function)
5366 (mouse-sel-original-interprogram-paste-function): Remove.
5368 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
5370 * vc/vc-git.el (vc-git-resolve-when-done): New function.
5371 Call "git add" when there are no longer conflict markers.
5373 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5375 * vc/vc-git.el (vc-git-find-file-hook): New function.
5376 Adds support for calling smerge (and resolve) on a conflicted file.
5377 (vc-git-conflicted-files): New function.
5378 Useful in itself and a step towards better smerge support.
5380 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5382 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
5383 to the first part if they're the same as the selection.
5385 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5387 * image-mode.el (image-transform-reset): New command and menu item.
5388 (image-mode-map): Rearrange the menu items to put presumably more
5389 obscure items at the end.
5391 2014-08-12 Juri Linkov <juri@jurta.org>
5393 * vc/vc-annotate.el (vc-annotate-background-mode):
5394 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
5396 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5398 * files.el (out-of-memory-warning-percentage): Turn it off by default.
5400 2014-08-11 Sam Steingold <sds@gnu.org>
5402 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
5403 the presence of known validators (tidy, (o)nsgmls).
5405 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
5407 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
5408 * net/newst-treeview.el (newsticker-treeview-date-format): New.
5409 (newsticker--treeview-list-add-item):
5410 Use `newsticker-treeview-date-format'.
5412 2014-08-11 Glenn Morris <rgm@gnu.org>
5414 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
5415 chose coding system for writing before backing up, since it causes
5416 a more serious problem than the one it solves. (Closes Bug#18141,
5419 2014-08-11 Martin Rudalics <rudalics@gmx.at>
5421 * window.el (window-total-size): Make doc-string more self-contained.
5423 * window.el (display-buffer-below-selected): Restore original
5424 behavior if buffer is already displayed in the window below the
5425 selected one (Bug#18181).
5427 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
5429 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
5432 2014-08-11 Eli Zaretskii <eliz@gnu.org>
5434 * info.el (info): Doc fix.
5436 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
5438 * info.el (Info-mode-map): Override a global down-mouse-2 binding
5441 2014-08-11 Eli Zaretskii <eliz@gnu.org>
5443 * simple.el (default-line-height): A floating-point value of
5444 line-spacing means a fraction of the default frame font's height,
5445 not of the font currently used by the 'default' face.
5446 Truncate the pixel value, like the display engine does.
5447 (window-screen-lines): Use window-inside-pixel-edges for
5448 determining the window height in pixels. (Bug#18195)
5450 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
5452 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
5454 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
5456 Enumerate evaluated sexp diary entries (Bug#7911).
5457 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
5458 (icalendar-export-sexp-enumeration-days): New.
5459 (icalendar-export-region): Now `icalendar--convert-to-ical'
5460 returns a cons cell or a list of cons cells.
5461 (icalendar--convert-to-ical): Take care of
5462 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
5463 (icalendar--convert-ordinary-to-ical)
5464 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5465 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
5466 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
5467 (icalendar--convert-anniversary-to-ical): Return cons cell.
5468 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
5469 entries. Return (list of) cons cells.
5471 2014-08-09 Juri Linkov <juri@jurta.org>
5473 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
5474 to reevaluate `vc-annotate-color-map'. (Bug#18189)
5476 2014-08-09 Alan Mackenzie <acm@muc.de>
5478 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
5479 for top-level that can cause unacceptable slow-down in scrolling.
5480 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
5481 Antipov from 2013-10-14 in emacs-devel.
5483 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5485 * ibuffer.el (ibuffer-mode-map): Use toggle button for
5486 `ibuffer-auto-mode' menu entry.
5487 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
5489 2014-08-08 Matthias Meulien <orontee@gmail.com>
5491 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
5494 2014-08-07 Martin Rudalics <rudalics@gmx.at>
5496 * window.el (window--min-size-1): Explicitly set WINDOW arg in
5497 calls of window-min-pixel-height and window-min-pixel-width.
5499 2014-08-07 Reuben Thomas <rrt@sc3d.org>
5501 * progmodes/ada-mode.el:
5502 * net/tramp.el (tramp-handle-file-symlink-p):
5503 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
5504 about VMS, which we no longer support.
5505 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
5506 and fix a FIXME, using convert-standard-filename in place of
5507 removed ada-convert-file-name.
5509 2014-08-07 Eli Zaretskii <eliz@gnu.org>
5511 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
5513 2014-08-07 Reuben Thomas <rrt@sc3d.org>
5515 Refer to MS-DOS using the same name everywhere.
5516 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
5517 ``msdog'' become ``MS-DOS''.
5519 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
5521 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5522 Use cached "remote-copy-args" value, if available. (Bug#18199)
5524 2014-08-07 Leo Liu <sdl.web@gmail.com>
5526 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
5527 Revert change on 2014-03-22.
5529 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
5531 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
5532 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
5536 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5538 * image-mode.el (image-toggle-display-image): Always rescale images
5539 to not be bigger than the current window.
5541 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
5543 * net/eww.el (eww-bookmarks-directory): New variable.
5544 (eww-write-bookmarks): Use it.
5545 (eww-read-bookmarks): Ditto.
5547 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5549 * net/shr.el (shr-copy-url): Also copy the image URL.
5551 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
5553 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
5554 also for Tramp working buffers.
5556 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
5558 * progmodes/python.el: Fix completions inside (i)pdb.
5559 (python-shell-completion-pdb-string-code): Make obsolete.
5560 (python-shell-completion-get-completions):
5561 Use python-shell-completion-string-code resending setup code
5562 continuously for (i)pdb.
5564 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
5566 * rect.el (rectangle--default-line-number-format): Rename
5567 from misspelled rectange--default-line-number-format (Bug#18045).
5570 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
5572 Don't mishandle year-9999 dates (Bug#18176).
5573 * calendar/parse-time.el (parse-time-rules):
5574 Allow years up to most-positive-fixnum.
5575 * calendar/time-date.el (date-to-time):
5576 Pass "Specified time is not representable" errors through.
5578 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5580 * progmodes/python.el: Completion code cleanups.
5581 (python-shell-completion-get-completions): Detect and send import
5582 statements directly to completion function.
5583 (python-shell-completion-at-point): Simplify prompt calculation
5584 and import vs input completion logic.
5586 2014-08-02 Alan Mackenzie <acm@muc.de>
5588 Fix confusion in C++ file caused by comma in "= {1,2},".
5590 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
5591 for a statement boundary marked by "}", check there's no "="
5593 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
5594 non-nil `comma-delim' argument.
5595 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
5596 initializer expression more accurately.
5598 Correct loop termination condition in c-syntactic-skip-backward.
5599 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
5600 the situation where, after moving back out of a literal,
5601 skip-chars-backward doesn't move further, yet checks have still to
5604 2014-08-01 Eli Zaretskii <eliz@gnu.org>
5606 * tutorial.el (tutorial--display-changes): Accept punctuation
5607 characters before the key binding. (Bug#18146)
5609 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
5611 * progmodes/python.el: Shell output capture enhancements.
5612 (python-shell-accept-process-output): New function.
5613 (inferior-python-mode)
5614 (python-shell-send-setup-code): Use it.
5616 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
5618 * calendar/icalendar.el (icalendar--decode-isodatetime):
5619 Use actual current-time-zone when converting to local time. (Bug#15408)
5621 2014-07-29 Martin Rudalics <rudalics@gmx.at>
5623 * window.el (window--state-put-2): Handle horizontal scroll
5626 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5628 * menu-bar.el (menu-bar-update-buffers): Update item list format
5629 in `buffers-menu' to confirm with changes to `get_keyelt'
5630 (r117463). (Bug#18016)
5632 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5634 * progmodes/python.el (inferior-python-mode): Make input prompts
5637 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
5639 * net/tramp-sh.el (tramp-get-remote-python): Also search for
5640 executables named "python2" or "python3".
5641 (tramp-get-remote-uid-with-python): Use parentheses around
5642 arguments to `print' to make it compatible with Python 3.
5643 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
5645 2014-07-28 Eli Zaretskii <eliz@gnu.org>
5647 * window.el (window--pixel-to-total): Use FRAME's root window, not
5648 that of the selected frame. (Bug#18112, Bug#16674)
5650 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
5652 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
5655 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5657 * progmodes/python.el (inferior-python-mode): Doc fix.
5659 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
5661 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
5662 not a character, ignore it instead of raising an error.
5664 * calendar/todo-mode.el: Fix handling of marked items and make
5665 minor code improvements.
5666 (todo-edit-item): If there are marked items, ensure user can only
5667 invoke editing commands that work with marked items.
5668 (todo-edit-item--text): When there are marked items, make it a
5669 noop if invoked with point not on an item; otherwise, ensure it
5670 applies only to item at point.
5671 (todo-item-undone): If there are marked not-done items, return
5672 point to its original position before signaling user error.
5673 (todo--user-error-if-marked-done-item): New function.
5674 (todo-edit-item--header, todo-edit-item--diary-inclusion)
5675 (todo-item-done): Use it.
5677 2014-07-28 Glenn Morris <rgm@gnu.org>
5679 * files.el (toggle-read-only): Re-add basic doc-string.
5680 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
5682 * progmodes/prolog.el (prolog-mode-keybindings-edit):
5683 Replace missing `switch-to-prolog' with `run-prolog'.
5684 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
5686 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
5688 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
5689 of file-wide setting when changing category-wide setting.
5691 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
5693 * doc-view.el (doc-view-open-text): Don't require that the
5694 document is saved in a file (e.g., email attachment).
5696 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5698 Parse completion input in a iPython friendly way. (Bug#18084)
5699 * progmodes/python.el
5700 (python-shell-completion-at-point): Rename from
5701 python-shell-completion-complete-at-point.
5702 (inferior-python-mode): Use it.
5703 (python-completion-at-point): Rename from
5704 python-completion-complete-at-point. Parse input up to first
5705 backward occurrence of whitespace, open-paren, close-paren or
5707 (python-mode): Use it.
5709 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5711 * progmodes/python.el
5712 (python-shell-with-shell-buffer): New macro.
5713 (python-shell-font-lock-get-or-create-buffer)
5714 (python-shell-font-lock-kill-buffer)
5715 (python-shell-font-lock-with-font-lock-buffer)
5716 (python-shell-font-lock-cleanup-buffer)
5717 (python-shell-font-lock-toggle): Use it.
5718 (python-shell-font-lock-turn-on)
5719 (python-shell-font-lock-turn-off): Use it. Make command.
5721 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5723 Grab all Python process output before inferior-python-mode hooks.
5724 * progmodes/python.el (inferior-python-mode):
5725 Call accept-process-output and sit-for to ensure all output for process
5726 has been received before running hooks.
5727 (python-shell-internal-get-or-create-process):
5728 Cleanup accept-process-output and sit-for calls.
5730 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5732 More robust shell startup and code setup.
5733 * progmodes/python.el (python-shell-make-comint):
5734 Remove accept-process-output call.
5735 (python-shell-get-buffer): Return current buffer if major-mode is
5736 inferior-python-mode.
5737 (python-shell-get-or-create-process): Use it.
5738 (python-shell-send-setup-code): Send all setup code in one string,
5739 output success message and accept-process-output.
5741 2014-07-27 Eli Zaretskii <eliz@gnu.org>
5743 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
5744 Add rudimentary support for bidirectional text.
5746 2014-07-27 Martin Rudalics <rudalics@gmx.at>
5748 * frame.el (frame-notice-user-settings): Rewrite using
5749 frame-initial-frame-tool-bar-height.
5750 * menu-bar.el (menu-bar-horizontal-scroll-bar)
5751 (menu-bar-no-horizontal-scroll-bar): New functions.
5752 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
5754 * scroll-bar.el (scroll-bar-lines)
5755 (set-horizontal-scroll-bar-mode)
5756 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
5757 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
5758 (scroll-bar-toolkit-horizontal-scroll): New functions.
5759 (horizontal-scroll-bar-mode)
5760 (previous-horizontal-scroll-bar-mode)
5761 (horizontal-scroll-bar-mode-explicit): New variables.
5762 (horizontal-scroll-bar-mode): New option.
5763 (toggle-horizontal-scroll-bar): Do something.
5764 (top-level): Bind horizontal-scroll-bar mouse-1.
5765 * startup.el (tool-bar-originally-present): Remove variable.
5766 (command-line): Don't set tool-bar-originally-present.
5767 * window.el (window-min-height): Update doc-string.
5768 (window--dump-frame): Dump horizontal scroll bar values.
5769 (window--min-size-1): Handle minibuffer window separately.
5770 Count in margins and horizontal scroll bar. Return safe value
5771 iff IGNORE equals 'safe.
5772 (frame-windows-min-size): New function (used by frame resizing
5774 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
5776 (window--sanitize-window-sizes): New function.
5777 (window-split-min-size): Remove.
5778 (split-window): Count divider-width. Don't use
5779 `window-split-min-size' any more. Reword error messages.
5780 Sanitize windows sizes after splitting.
5782 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
5784 Use `defvar-local' more.
5785 * progmodes/hideshow.el
5786 (hs-c-start-regexp, hs-block-start-regexp)
5787 (hs-block-start-mdata-select, hs-block-end-regexp)
5788 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
5789 remove corresponding `make-variable-buffer-local' top-level calls.
5791 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5793 Cleanup error signals. (Bug#18067)
5794 * progmodes/python.el
5795 (python-indent-shift-left): Use user-error instead.
5796 (python-shell-prompt-detect): Use lwarn with python group.
5797 (python-completion-complete-at-point)
5798 (python-eldoc--get-doc-at-point): Don't signal error.
5800 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5802 Support for packages in Python shell. (Bug#13570)
5803 * progmodes/python.el (python-shell--package-depth): New var.
5804 (python-shell-package-enable): New command.
5805 (python-util-list-directories, python-util-list-files)
5806 (python-util-list-packages): New functions.
5808 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5810 Faster comint output. (Bug#16875)
5811 * progmodes/python.el:
5812 (python-comint-output-filter-function): Make obsolete.
5813 (python-comint-postoutput-scroll-to-bottom): New function.
5814 (inferior-python-mode): Set comint-output-filter-functions to a
5817 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5819 * progmodes/python.el (python-shell-font-lock-post-command-hook):
5820 Safeguard current point and undo history.
5822 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5824 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
5825 * progmodes/python.el:
5826 (python-shell-prompt-input-regexps): Add iPython block prompt.
5827 (python-shell-output-syntax-table): Delete var.
5828 (python-shell-font-lock-with-font-lock-buffer): New macro.
5829 (python-shell-font-lock-get-or-create-buffer)
5830 (python-shell-font-lock-kill-buffer)
5831 (python-shell-font-lock-cleanup-buffer)
5832 (python-shell-font-lock-post-command-hook)
5833 (python-shell-font-lock-turn-off): New functions.
5834 (python-shell-font-lock-turn-on): New function.
5835 (inferior-python-mode): Use it.
5836 (python-shell-font-lock-toggle): New command.
5837 (python-shell-font-lock-enable): Rename from
5838 python-shell-enable-font-lock.
5839 (run-python-internal): Use it.
5840 (python-shell-font-lock-comint-output-filter-function): New function.
5841 (python-shell-comint-end-of-output-p): New function.
5842 (python-shell-output-filter): Use it.
5843 (python-util-comint-last-prompt): New function.
5844 (python-util-text-properties-replace-name): New function.
5846 2014-07-25 Glenn Morris <rgm@gnu.org>
5848 * vc/ediff-init.el (ediff-toggle-read-only-function):
5849 * vc/ediff-util.el (ediff-toggle-read-only):
5850 Replace obsolete toggle-read-only with read-only-mode.
5852 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
5854 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
5855 with `save-match-data'. (Bug#18095)
5857 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
5859 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
5860 order to ensure that row and col are lexically bound inside the
5863 2014-07-21 Glenn Morris <rgm@gnu.org>
5865 * progmodes/hideif.el (hide-ifdef-mode-submap):
5866 Also substitute read-only-mode.
5867 * bindings.el (mode-line-toggle-read-only):
5868 * bs.el (bs-toggle-readonly):
5869 * buff-menu.el (Buffer-menu-toggle-read-only):
5870 * dired.el (dired-toggle-read-only):
5871 * files.el (view-read-only, find-file-read-only)
5872 (find-file-read-only-other-window)
5873 (find-file-read-only-other-frame):
5874 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
5875 Doc fixes re toggle-read-only.
5877 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5879 * progmodes/python.el: Add comment about pipe buffering and
5880 solutions for missing/delayed output in inferior Python shells.
5883 * progmodes/python.el (python-mode): Don't set
5884 mode-require-final-newline. (Bug#17990)
5886 Make python.el work with IPython automatically. (Bug#15510)
5887 * progmodes/python.el:
5888 (python-shell-completion-setup-code): New value supporting iPython.
5889 (python-shell-completion-string-code): New value supporting iPython.
5890 (python-shell-completion-get-completions): Use them.
5891 (python-shell-completion-module-string-code): Make obsolete.
5892 (python-shell-prompt-input-regexps)
5893 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
5894 (python-shell-output-filter): Fix comment typo.
5896 Fix Python shell prompts detection for remote hosts.
5897 * progmodes/python.el (python-shell-prompt-detect):
5898 Replace call-process with process-file and make it more robust.
5900 Autodetect Python shell prompts. (Bug#17370)
5901 * progmodes/python.el:
5902 (python-shell-interpreter-interactive-arg)
5903 (python-shell-prompt-detect-enabled)
5904 (python-shell-prompt-detect-failure-warning)
5905 (python-shell-prompt-input-regexps)
5906 (python-shell-prompt-output-regexps): New vars.
5907 (python-shell-prompt-calculated-input-regexp)
5908 (python-shell-prompt-calculated-output-regexp): New vars.
5909 (python-shell-get-process-name)
5910 (python-shell-internal-get-process-name)
5911 (python-shell-output-filter)
5912 (python-shell-completion-get-completions): Use them.
5913 (python-shell-prompt-detect)
5914 (python-shell-prompt-validate-regexps): New functions.
5915 (python-shell-prompt-set-calculated-regexps): New function.
5916 (inferior-python-mode): Use it. Also honor overriden
5917 python-shell-interpreter and python-shell-interpreter-args.
5918 (python-shell-make-comint): Honor overriden
5919 python-shell-interpreter and python-shell-interpreter-args.
5920 (python-shell-get-or-create-process): Make it testable by allowing
5921 to call run-python non-interactively.
5922 (python-util-valid-regexp-p): New function.
5923 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
5924 (python-shell-prompt-output-regexp)
5925 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
5927 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
5929 * emacs-lisp/smie.el (smie-config--guess-1): Split from
5931 (smie-config--guess): Use it.
5933 * emacs-lisp/edebug.el: Use nadvice.
5934 (edebug-original-read): Remove.
5935 (edebug--read): Rename from edebug-read and add `orig' arg.
5936 (edebug-uninstall-read-eval-functions)
5937 (edebug-install-read-eval-functions): Use nadvice.
5938 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
5939 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
5940 (edebug-read-string, edebug-read-function): Use just `read'.
5941 (edebug-original-debug-on-entry): Remove.
5942 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
5944 (debug-on-entry): Override with nadvice.
5946 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
5947 it also makes sense to bind it to a non-mouse event.
5949 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
5951 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5953 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
5956 * rect.el (rectangle--string-preview): Don't assume there
5957 a non-nil default (bug#17984).
5959 2014-07-16 Glenn Morris <rgm@gnu.org>
5961 * desktop.el (after-init-hook): Disable startup frame restoration
5962 in non-graphical situations. (Bug#17693)
5964 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
5965 if it was "empty", or used for a different set of files. (Bug#17884)
5967 2014-07-16 Eli Zaretskii <eliz@gnu.org>
5969 * bindings.el (mode-line-remote): If default-directory is not a
5970 string, don't call file-remote-p on it; instead state in the
5971 help-echo that it is nil. (Bug#17986)
5973 2014-07-14 Daniel Colascione <dancol@dancol.org>
5975 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
5976 to `macroexpand-all'
5978 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
5979 Use `macroexpand-all' instead of `cl-macroexpand-all'.
5981 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
5983 Fix bug: C-x v v discarded existing log message (Bug#17884).
5984 * vc/vc-dispatcher.el (vc-log-edit):
5985 Don't clobber an already-existing log message.
5987 2014-07-12 Glenn Morris <rgm@gnu.org>
5989 * vc/log-edit.el (log-edit-changelog-entries):
5990 Check for a visited-but-never-saved ChangeLog.
5992 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
5994 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
5995 a non-existing file (bug#17970).
5997 * faces.el (face-name): Undo last change.
5998 (x-resolve-font-name): Don't call face-name (bug#17956).
6000 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6002 Fix dedenters and electric colon handling. (Bug#15163)
6003 * progmodes/python.el
6004 (python-rx-constituents): Add dedenter and block-ender.
6005 (python-indent-dedenters, python-indent-block-enders): Delete.
6006 (python-indent-context): Return new case for dedenter-statement.
6007 (python-indent-calculate-indentation): Handle new case.
6008 (python-indent-calculate-levels): Fix levels calculation for
6009 dedenter statements.
6010 (python-indent-post-self-insert-function): Fix colon handling.
6011 (python-info-dedenter-opening-block-message): New function.
6012 (python-indent-line): Use it.
6013 (python-info-closing-block)
6014 (python-info-closing-block-message): Remove.
6015 (python-info-dedenter-opening-block-position)
6016 (python-info-dedenter-opening-block-positions)
6017 (python-info-dedenter-statement-p): New functions.
6019 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
6021 * files.el (out-of-memory-warning-percentage): New defcustom.
6022 (warn-maybe-out-of-memory): Use it.
6024 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
6026 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
6027 when calling `read-string'. (Bug#17839)
6029 2014-07-10 Eli Zaretskii <eliz@gnu.org>
6031 * files.el (warn-maybe-out-of-memory): Fix the wording of the
6034 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
6036 * files.el (warn-maybe-out-of-memory): New function.
6037 (find-file-noselect): Use it.
6039 2014-07-09 Sam Steingold <sds@gnu.org>
6041 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
6042 `constant' like `bless', `return' &c
6044 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6046 * rect.el (apply-on-rectangle): Check forward-line really moved to the
6049 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6051 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
6052 the middle of a line (bug#17896).
6054 2014-07-09 Juri Linkov <juri@jurta.org>
6056 * startup.el (command-line): Append displaying the warning about
6057 the errors in the init file to the end of `after-init-hook'.
6060 * faces.el (face-name): Return input arg `face' as-is
6061 when it's not a symbol.
6062 (x-resolve-font-name): Don't check if the face is a symbol.
6065 * facemenu.el (list-colors-print): In help-echo format use %.2f
6066 instead of %d because now HSV values are floating-point components
6067 between 0.0 and 1.0.
6069 2014-07-09 Glenn Morris <rgm@gnu.org>
6071 * emulation/cua-rect.el (cua--activate-rectangle):
6072 Avoid setting cua--rectangle to nil. (Bug#17877)
6074 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6076 * calendar/todo-mode.el: Fix wrong-type-argument error when
6077 marking multiple consecutive items.
6078 (todo-toggle-mark-item): Don't try to mark the empty lines at the
6079 end of the todo and done items sections. Note in doc string that
6080 items marked by passing a numeric prefix argument can include the
6081 last todo and first done items.
6082 (todo-mark-category): Don't try to mark the empty line between the
6083 todo and done items sections.
6085 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6087 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
6088 proper Lisp quoting (bug#17934).
6090 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
6091 require-final-newline since prog-mode already took care of it (bug#17947).
6093 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6095 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
6096 refer to the Todo mode Info manual. Update the comment on
6098 (todo-find-filtered-items-file): Add todo-prefix overlays.
6099 (todo-filter-items): Reorder a let-bound variable to avoid a
6100 wrong-type-argument error on canceling the file choice dialog.
6102 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * progmodes/octave.el (inferior-octave-mode):
6105 Set comint-input-ring-size to a number (bug#17912).
6107 2014-07-09 Juri Linkov <juri@jurta.org>
6109 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
6110 and `isearch-mode' associated with nil. (Bug#17849)
6112 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * linum.el (linum--face-height): New function (bug#17813).
6115 (linum-update-window): Use it to adjust margin to linum's width.
6117 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
6118 * eshell/em-smart.el (eshell-smart-scroll-window):
6119 Use with-selected-window.
6121 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
6122 Remove also pointless window&mark manipulation.
6124 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
6125 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
6126 (perl-continuation-line-p): Don't skip over anything else than labels.
6127 Return the previous char.
6128 (perl-calculate-indent): Use syntax-ppss instead of parse-start
6129 and update callers accordingly. For continuation lines, check the
6130 the case of array hashes.
6131 (perl-backward-to-noncomment): Make it non-interactive.
6132 (perl-backward-to-start-of-continued-exp): Rewrite.
6134 2014-07-08 Sam Steingold <sds@gnu.org>
6136 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
6139 2014-07-08 Juri Linkov <juri@jurta.org>
6141 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
6142 (vc-annotate-color-map): Use less saturated colors (20%) for
6144 (vc-annotate-very-old-color): Add default value for background-mode.
6145 (vc-annotate-background): Set default value to nil since now text on
6146 the default backgrounds should be legible in light and dark modes.
6147 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
6150 2014-07-08 Juri Linkov <juri@jurta.org>
6152 * simple.el (transpose-chars): Don't move point into read-only area.
6155 2014-07-08 Juri Linkov <juri@jurta.org>
6157 * window.el (with-displayed-buffer-window): New macro.
6158 (with-temp-buffer-window, with-current-buffer-window):
6159 Use `macroexp-let2' to evaluate and bind variables
6160 in the same order as macro arguments.
6161 (display-buffer--action-function-custom-type):
6162 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
6164 * minibuffer.el (minibuffer-completion-help): Replace
6165 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
6166 with actions that display *Completions* at-bottom when called
6167 from the minibuffer, or below-selected in a normal buffer.
6168 Associate `window-height' with `fit-window-to-buffer'.
6169 Let-bind `pop-up-windows' to nil.
6171 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
6172 instead of `with-current-buffer-window'. (Bug#17809)
6174 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
6176 * progmodes/hideif.el (hide-ifdef-env): Change to global.
6177 (hide-ifdef-env-backup): New variable.
6178 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
6179 New customizable variables.
6180 (hif-clear-all-ifdef-defined): New defun.
6181 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
6182 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
6183 (hif-tokenize): Fix for MS-DOS/Win EOL style.
6184 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
6185 Fix bug to hide the correct #elif region(s).
6186 (hif-range-elif): New defun.
6187 (hif-recurse-level): New var.
6188 (hif-evaluate-region, hif-evaluate-macro): New defun.
6189 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
6191 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
6194 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
6196 * net/dbus.el (dbus-peer-handler): New defun.
6197 (dbus-register-service): Register it. (Bug#17858)
6198 (dbus-managed-objects-handler): Fix docstring.
6200 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
6202 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
6203 (narrow-to-defun): New arg include-comments, defaulting to it
6206 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6208 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
6209 different calling convention to rectangle--unhighlight-for-redisplay.
6211 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
6213 * net/tramp.el (tramp-call-process): Handle error strings.
6215 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
6217 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
6218 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
6220 * net/trampver.el: Update release number.
6222 2014-07-03 Juri Linkov <juri@jurta.org>
6224 * desktop.el (desktop-save): Rename arg `auto-save' to
6225 `only-if-changed'. Doc fix. (Bug#17873)
6227 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6229 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6230 Use insert-for-yank (bug#17271).
6232 2014-07-03 Leo Liu <sdl.web@gmail.com>
6234 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
6235 Support lexical-binding.
6237 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6239 * vc/log-edit.el (log-edit-goto-eoh): New function.
6240 (log-edit--match-first-line): Use it (bug#17861).
6242 2014-07-03 Glenn Morris <rgm@gnu.org>
6244 * vc/log-edit.el (log-edit-hook): Add missing :version.
6246 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
6248 * progmodes/python.el (python-indent-post-self-insert-function):
6249 Enhancements to electric indentation behavior inside
6252 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6254 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
6255 buffer-invisibility-spec (bug#17867).
6257 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
6259 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
6262 2014-07-03 Glenn Morris <rgm@gnu.org>
6264 * cus-edit.el (help):
6265 * finder.el (finder-known-keywords):
6266 * help.el (help-for-help-internal):
6267 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
6268 (ediff-redraw-registry-buffer):
6269 * vc/ediff-ptch.el (ediff-patch-file-internal):
6270 Doc fixes re "online" help. (Bug#17803)
6272 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
6273 (idlwave-mode): Doc URL update.
6275 2014-07-01 Juri Linkov <juri@jurta.org>
6277 * man.el: Display man pages immediately and use process-filter
6278 to format them asynchronously.
6279 (Man-width): Doc fix.
6281 (Man-start-calling): Use `with-selected-window' to get
6282 `frame-width' and `window-width'.
6283 (Man-getpage-in-background): Call `Man-notify-when-ready'
6284 immediately after creating a new buffer. Call `Man-mode' and set
6285 `mode-line-process' in the created buffer. Set process-filter to
6286 `Man-bgproc-filter' in start-process branch. In call-process branch
6287 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
6288 Use `Man-start-calling' inside `with-current-buffer'.
6289 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
6290 (Man-cleanup-manpage): Don't print messages.
6291 (Man-bgproc-filter): New function.
6292 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
6293 user moved it during asynchronous formatting. Move calls of
6294 `Man-fontify-manpage' and `Man-cleanup-manpage' to
6295 `Man-bgproc-filter'. Move the call of `Man-mode' to
6296 `Man-getpage-in-background'. Use `quit-restore-window'
6297 instead of `kill-buffer'. Use `message' instead of `error'
6298 because errors are caught by process sentinel.
6299 (Man-mode): Move calls of `Man-build-page-list',
6300 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
6301 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
6303 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
6304 for the message about the man page cleaned up.
6306 2014-07-01 Mario Lang <mlang@delysid.org>
6308 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
6309 cosutomization option `gnutls-verify-error'.
6311 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6313 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
6314 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
6316 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
6317 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
6318 is suspended (bug#17857).
6320 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
6322 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6323 Prefer utf-8 coding. (Bug#17859)
6325 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6327 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
6330 2014-06-30 Glenn Morris <rgm@gnu.org>
6332 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
6333 (autoload-ensure-default-file): Maybe make existing output writable.
6334 * Makefile.in (AUTOGEN_VCS): Remove.
6335 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
6337 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6339 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
6341 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6343 New if-let, when-let, thread-first and thread-last macros.
6345 * emacs-lisp/subr-x.el
6346 (internal--listify, internal--check-binding)
6347 (internal--build-binding-value-form, internal--build-binding)
6348 (internal--build-bindings): New functions.
6349 (internal--thread-argument, thread-first, thread-last)
6350 (if-let, when-let): New macros.
6352 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
6354 * net/rcirc.el (rcirc-buffer-process): Restore previous
6355 behaviour. (Bug#17772)
6357 2014-06-29 Alan Mackenzie <acm@muc.de>
6359 Don't call c-parse-state when c++-template-syntax-table is active.
6360 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
6361 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
6362 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
6364 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6366 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
6367 account for file-wide setting of todo-top-priorities-overrides.
6368 Make code a bit cleaner.
6370 2014-06-28 Glenn Morris <rgm@gnu.org>
6372 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
6374 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6376 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
6377 category-wide setting of todo-top-priorities-overrides, check for
6378 a file-wide setting and fontify accordingly.
6380 2014-06-28 Glenn Morris <rgm@gnu.org>
6382 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
6384 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6386 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
6388 2014-06-28 K. Handa <handa@gnu.org>
6392 * composite.el: Setup composition-function-table for dotted circle.
6393 (compose-gstring-for-dotted-circle): New function.
6395 * international/characters.el: Add category "^" to all
6396 non-spacing characters.
6398 2014-06-28 Glenn Morris <rgm@gnu.org>
6400 * Makefile.in (doit): Remove force rule.
6401 (custom-deps, finder-data, autoloads, update-subdirs)
6402 (compile-one-process): PHONY targets do not need force rules.
6404 * Makefile.in (compile-main, compile, compile-always):
6405 No need to explicitly pass variables to ourself in recursive calls.
6407 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6409 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
6411 2014-06-26 Glenn Morris <rgm@gnu.org>
6413 * Makefile.in (update-authors): Update for moved authors.el.
6415 2014-06-26 Leo Liu <sdl.web@gmail.com>
6417 * skeleton.el (skeleton-end-hook): Default to nil and move the
6418 work to skeleton-insert. (Bug#17850)
6420 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
6422 * calc/calc-alg.el (math-beforep):
6423 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
6424 Simplify because string-lessp can accept symbols as args.
6426 2014-06-26 Daiki Ueno <ueno@gnu.org>
6428 * emacs-lisp/package.el (package--check-signature):
6429 If package-check-signature is allow-unsigned, don't signal error when
6430 we can't verify signature because of missing public key
6433 2014-06-26 Glenn Morris <rgm@gnu.org>
6435 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
6436 Remove outdated declaration.
6438 * emacs-lisp/authors.el (authors-valid-file-names)
6439 (authors-renamed-files-alist): Additions.
6441 2014-06-26 Leo Liu <sdl.web@gmail.com>
6443 * textmodes/picture.el (picture-set-tab-stops):
6444 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
6445 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
6447 * progmodes/asm-mode.el (asm-calculate-indentation):
6448 Use indent-next-tab-stop.
6450 * indent.el (indent-accumulate-tab-stops): New function.
6452 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6454 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
6455 (package-desc-status): Obey it.
6457 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
6459 * calendar/todo-mode.el: Fix two bugs.
6460 (todo-insert-item--basic): If user cancels item insertion to
6461 another category before setting priority, show original category
6462 whether it is in the same or a different file.
6463 (todo-set-item-priority): After selecting category, instead of
6464 moving point to top, which extends an active region, restore it.
6466 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * help-fns.el (describe-function-1): Check file-name is a string before
6469 calling help-fns--autoloaded-p (bug#17564).
6471 2014-06-26 Juri Linkov <juri@jurta.org>
6473 * desktop.el (desktop-auto-save-enable)
6474 (desktop-auto-save-disable): New functions.
6475 (desktop-save-mode, desktop-auto-save-timeout): Use them.
6476 (desktop-read): Disable the autosave before loading the desktop,
6477 and enable afterwards. (Bug#17351)
6479 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6481 Fix some indentation problem with \; and pipes (bug#17842).
6482 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
6483 (sh-smie--default-forward-token, sh-smie--default-backward-token):
6485 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
6486 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
6487 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
6489 2014-06-26 Glenn Morris <rgm@gnu.org>
6491 * emacs-lisp/find-func.el (find-function-C-source-directory):
6492 Use file-accessible-directory-p.
6494 * ps-samp.el: Make it slightly less awful.
6495 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
6496 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
6497 Only set local values.
6498 (ps-article-subject, ps-article-author): Use standard functions
6499 like mail-fetch-field.
6500 (ps-info-file, ps-info-node): Use match-string.
6501 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
6502 (ps-samp-ps-setup): ... new function.
6504 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
6505 Optimize away code unneeded on any modern Emacs.
6507 * emacs-lisp/authors.el: Move to ../admin.
6509 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
6511 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
6513 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
6514 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
6515 performance enhancements.
6516 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
6518 (hif-factor, hif-string-concatenation, intern-safe): Support string
6519 concatenation and argumented macro expansion.
6520 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
6521 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
6522 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
6523 (hif-canonicalize-tokens, hif-place-macro-invocation)
6524 (hif-parse-macro-arglist): Mostly new functions for supporting
6525 argumented macro expansion.
6526 (hif-string-concatenation, hif-stringify, hif-token-concat)
6527 (hif-token-stringification, hif-token-concatenation):
6528 Stringification and concatenation.
6529 (hif-find-next-relevant): Fix comments.
6530 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
6531 some cases involving #elif.
6532 (hif-find-define, hif-add-new-defines): New functions for automatically
6533 scanning of defined symbols.
6534 (hide-ifdef-guts): Fix for defined symbol auto scanning.
6535 (hide-ifdef-undef): Fix behavior to match CPP.
6537 2014-06-25 Glenn Morris <rgm@gnu.org>
6539 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
6540 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
6541 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
6542 files. They are not relevant to the original issue (bug#1004),
6543 and cause unnecessary recompilation (bug#2151).
6545 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6547 * play/landmark.el: Use lexical-binding and avoid `intangible'.
6548 (landmark--last-pos): New var.
6549 (landmark--intangible-chars): New const.
6550 (landmark--intangible): New function.
6551 (landmark-mode, landmark-move): Use it.
6552 (landmark-mode): Remove properties.
6553 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
6554 (landmark-cross-qtuple):
6555 Don't worry about `intangible' any more.
6556 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
6557 (landmark-init-display): Don't set `intangible' and `point-entered'.
6558 (square): Remove. Inline it instead.
6559 (landmark--distance): Rename from `distance'.
6560 (landmark-calc-distance-of-robot-from): Rename from
6561 calc-distance-of-robot-from.
6562 (landmark-calc-smell-internal): Rename from calc-smell-internal.
6564 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
6566 * files.el (dir-locals-find-file, file-relative-name):
6567 * info.el (Info-complete-menu-item):
6568 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
6569 to compare-strings to avoid out-of-range errors.
6570 * subr.el (string-prefix-p): Adjust to match strict range
6571 checking in compare-strings.
6573 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
6575 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
6576 for comment lines non-greedy and stopping at newlines to fix stack
6577 overflows with large files.
6579 2014-06-24 Eli Barzilay <eli@barzilay.org>
6581 * calculator.el (calculator-last-input): Drop 'ascii-character property
6584 2014-06-24 Leo Liu <sdl.web@gmail.com>
6586 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
6587 tab-stop-list to nil. (Bug#16381)
6589 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
6590 (indent-rigidly-left-to-tab-stop)
6591 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
6592 (move-to-tab-stop): Change callers.
6594 2014-06-24 Eli Zaretskii <eliz@gnu.org>
6596 * skeleton.el (skeleton-insert): Yet another fix of the doc string
6597 wrt behavior of \n as the first/last element of a skeleton.
6599 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
6601 * net/tramp-adb.el (tramp-adb-handle-process-file):
6602 * net/tramp-sh.el (tramp-sh-handle-process-file):
6603 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
6604 the output buffer when DISPLAY is non-nil. (Bug#17815)
6606 2014-06-24 Glenn Morris <rgm@gnu.org>
6608 * play/landmark.el (landmark-move-down, landmark-move-up):
6609 Fix 2007-10-20 change - preserve horizontal position.
6611 2014-06-23 Sam Steingold <sds@gnu.org>
6613 * simple.el (kill-append): Remove undo boundary depending on ...
6614 (kill-append-merge-undo): New user option.
6616 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6618 * simple.el (handle-shift-selection, exchange-point-and-mark)
6619 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
6620 (transient-mark-mode): Use&set the global value.
6621 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
6622 * emulation/edt.el (edt-emulation-off): Save&restore the global
6623 transient-mark-mode setting.
6624 * obsolete/pc-select.el (pc-selection-mode): Use the
6625 transient-mark-mode function.
6627 2014-06-23 Eli Zaretskii <eliz@gnu.org>
6629 * international/fontset.el (script-representative-chars):
6630 Add representative characters for scripts added in Unicode 7.0.
6631 (otf-script-alist): Synchronize with the latest registry of OTF
6634 * international/characters.el (char-script-table): Update for
6635 scripts added and codepoint ranges changed in Unicode 7.0.
6637 2014-06-23 Eli Barzilay <eli@barzilay.org>
6639 * calculator.el (calculator-standard-displayer): Fix bug in use of
6640 `calculator-groupize-number'.
6641 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
6642 `eval' code, so it works in v24.3.1 too.
6643 (calculator-last-input): Comment to clarify purpose.
6645 2014-06-22 Mario Lang <mlang@delysid.org>
6647 * textmodes/rst.el (rst-comment-region): From from -> from.
6649 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
6651 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
6653 * electric.el (electric-layout-post-self-insert-function):
6654 * emacs-lisp/ert.el (ert--insert-infos):
6655 * obsolete/vi.el (vi-set-mark):
6656 * term.el (term-handle-scroll):
6657 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
6658 * wid-edit.el (widget-editable-list-value-create):
6659 Prefer point-marker to copy-marker of point.
6661 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
6663 Fix completion retrieval parsing (bug#17209).
6664 * progmodes/python.el (python-mode):
6665 (python-util-strip-string): New function.
6666 (python-shell-completion-get-completions): Use it.
6668 2014-06-21 Eli Zaretskii <eliz@gnu.org>
6670 * skeleton.el (skeleton-insert): Fix last change.
6672 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
6674 Enhancements for outline integration (bug#17796).
6675 * progmodes/python.el (python-mode): Properly set
6676 outline-heading-end-regexp so that comments after colons for
6677 defuns are supported.
6679 2014-06-21 Eli Zaretskii <eliz@gnu.org>
6681 * skeleton.el (skeleton-insert): Doc fix.
6683 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6685 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
6686 (smie-config-guess): Use smie-config-local so the rules are obeyed
6689 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
6690 since it's already done inside the loop (bug#17819).
6692 2014-06-21 Martin Rudalics <rudalics@gmx.at>
6694 * mouse.el (mouse-drag-line): Re-remove code initially removed
6695 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
6698 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6700 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
6701 align with the surrounding parent (bug#17721).
6703 2014-06-21 Eli Zaretskii <eliz@gnu.org>
6705 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
6707 (texinfo-insert-block, texinfo-insert-@end)
6708 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
6709 local setting of skeleton-end-newline by adding an explicit \n to
6710 the skeletons where appropriate. (Bug#17801)
6712 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6714 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
6715 (smie-indent--hanging-p): Use it.
6716 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
6718 2014-06-21 Leo Liu <sdl.web@gmail.com>
6720 * simple.el (read-quoted-char): Don't let help chars pop up help
6723 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6725 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
6728 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
6729 Drop unknown events instead of burping.
6731 2014-06-21 Eli Zaretskii <eliz@gnu.org>
6733 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
6734 and later. (Bug#17790)
6736 2014-06-21 Juri Linkov <juri@jurta.org>
6738 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
6739 to `soft'. (Bug#17554)
6741 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
6746 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
6748 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
6749 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
6751 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
6753 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
6754 `unread-command-events'.
6756 2014-06-19 William Xu <william.xwl@gmail.com>
6758 * progmodes/hideif.el (hif-string-to-number): Don't return float for
6759 hex integer constants (bug#17807).
6761 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6763 * international/mule-util.el (truncate-string-ellipsis): New var.
6764 (truncate-string-to-width): Use it.
6766 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
6768 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
6769 (lisp-string-in-doc-position-p): New function, extracted from
6770 lisp-font-lock-syntactic-face-function.
6771 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
6773 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
6775 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
6777 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6779 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
6780 (bubbles--game-over): Don't add `intangible' properties since they
6783 2014-06-18 Juri Linkov <juri@jurta.org>
6785 * vc/ediff-init.el (ediff-current-diff-Ancestor)
6786 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
6787 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
6788 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
6789 Add `min-colors 88' version with removed black/white foregrounds.
6792 2014-06-18 Juri Linkov <juri@jurta.org>
6794 * vc/diff-mode.el (diff-changed): Empty face definition to use
6795 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
6796 (diff-context): Use darker color on light background and
6797 lighter color on dark background.
6799 2014-06-18 Juri Linkov <juri@jurta.org>
6801 * vc/diff-mode.el (diff-refine-changed): Rename from
6802 `diff-refine-change' for consistency with `diff-changed'.
6803 (diff-refine-change): Add obsolete face alias. (Bug#10181)
6805 * vc/smerge-mode.el (smerge-refined-changed): Rename from
6806 `smerge-refined-change'.
6807 (smerge-refined-change): Add obsolete face alias.
6809 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * rect.el (rectangle-preview): New custom.
6812 (rectangle): New group.
6813 (rectangle--pos-cols): Add `window' argument.
6814 (rectangle--string-preview-state, rectangle--string-preview-window):
6816 (rectangle--string-flush-preview, rectangle--string-erase-preview)
6817 (rectangle--space-to, rectangle--string-preview): New functions.
6818 (string-rectangle): Use them.
6819 (rectangle--inhibit-region-highlight): New var.
6820 (rectangle--highlight-for-redisplay): Obey it. Make sure
6821 `apply-on-region' uses the point-crutches of the right window.
6822 Use :align-to rather than multiple spaces.
6824 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
6826 * ruler-mode.el (ruler-mode-window-col)
6827 (ruler-mode-mouse-set-left-margin)
6828 (ruler-mode-mouse-set-right-margin): Fix calculation of column
6829 from mouse position (Bug#17768).
6831 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
6833 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
6834 without varname or rhs causes crash.
6835 (dun-ftp): Fix bug where blank ftp password is allowed, making it
6836 impossible to win endgame.
6837 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
6839 (dun-help): Bump version number; update contact info.
6841 2014-06-15 Eli Barzilay <eli@barzilay.org>
6843 * calculator.el (calculator-prompt, calculator-remove-zeros)
6844 (calculator-mode-hook, calculator-operators, calculator-stack)
6845 (calculator-mode): Tweak docstring.
6846 (calculator-user-operators): Tweak docstring, fix a bug in the last
6848 (calculator-displayer): `std' case has an optional boolean.
6849 (calculator-displayers): Use the new boolean to group in decimal mode.
6850 (calculator-mode-map, calculator, calculator-message)
6851 (calculator-op-arity, calculator-add-operators)
6852 (calculator-string-to-number, calculator-displayer-prev)
6853 (calculator-displayer-next, calculator-remove-zeros)
6854 (calculator-eng-display, calculator-number-to-string)
6855 (calculator-update-display, calculator-last-input)
6856 (calculator-clear-fragile, calculator-digit, calculator-decimal)
6857 (calculator-exp, calculator-saved-move, calculator-clear)
6858 (calculator-copy, calculator-put-value, calculator-help)
6859 (calculator-expt, calculator-truncate): Minor code improvements.
6860 (calculator-need-3-lines): New function pulling out code from
6862 (calculator-get-display): Rename from `calculator-get-prompt', and
6864 (calculator-push-curnum): Rename from `calculator-curnum-value', and
6865 extended for all uses of it. All callers changed.
6866 (calculator-groupize-number): New utility for splitting a number into
6868 (calculator-standard-displayer): Improve code, new optional argument to
6869 use comma-split groups, make second argument optional too to use with
6870 'left/'right inputs. All callers changed.
6871 (calculator-reduce-stack-once): New utility, doing the meat of what
6872 `calculator-reduce-stack' used to do, much improved (mostly using
6873 `pcase' for conciseness and clarity).
6874 (calculator-reduce-stack): Now doing just the reduction loop using
6875 `calculator-reduce-stack-once'.
6876 (calculator-funcall): Improve code, make it work in v24.3.1 too.
6877 (calculator-last-input): Improve code, remove some old cruft.
6878 (calculator-quit): Kill `calculator-buffer' in electric mode too.
6879 (calculator-integer-p): Remove.
6880 (calculator-fact): Improve code, make it work on non-integer values
6881 too (using truncated numbers).
6883 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
6885 Sync with Tramp 2.2.10.
6887 * net/tramp.el (tramp-methods): Tweak docstring.
6888 (tramp-handle-file-accessible-directory-p): Check for
6889 `file-readable-p' instead of `file-executable-p'.
6890 (tramp-check-cached-permissions):
6891 Use `tramp-compat-file-attributes'.
6892 (tramp-call-process): Add new argument VEC. Adapt callees in all
6895 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
6896 (tramp-adb-maybe-open-connection): Don't set
6897 `tramp-current-*' variables.
6899 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
6900 file properties of temporary buffers.
6902 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
6904 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
6905 (tramp-gvfs-handle-delete-file): Flush file
6906 properties, not directory properties.
6907 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
6908 reading "unix::mode".
6909 (tramp-gvfs-handle-file-name-all-completions):
6910 Use "-h" option for "gvfs-ls".
6911 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
6912 (tramp-gvfs-send-command): Simplify traces.
6914 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
6915 (vc-git-program, vc-hg-program): Declare.
6916 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
6917 (tramp-methods) <nc>: Add new method.
6918 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
6919 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
6921 (tramp-default-user-alist): Add "nc".
6922 (top): Remove completion function for "sftp". Add completion
6923 functions for "nc" and "psftp".
6924 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
6925 Implement support for "nc" method.
6926 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
6927 (tramp-remote-coding-commands, tramp-call-local-coding-command):
6929 (tramp-sh-handle-write-region): Tweak error message.
6930 (tramp-sh-handle-vc-registered): Remove backends when the remote
6931 binary does not exist.
6932 (tramp-find-inline-encoding): Do not raise an error.
6933 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
6934 the "nc" case. Quote result also locally.
6936 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6937 (tramp-smb-handle-set-file-acl): Use `start-process'.
6938 (tramp-smb-handle-insert-directory): Use progress reporter.
6939 (tramp-smb-handle-rename-file): Flush also file properties of
6942 * net/trampver.el: Update release number.
6944 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6946 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
6948 (ses-localvars): Remove ses--local-printer-list, unused.
6949 (ses--metaprogramming): New macro. Use it to defvar variables.
6950 (ses-set-localvars): Simplify.
6951 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
6952 property-list into an alist.
6953 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6954 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
6955 Remove; use defstruct accessors/setters instead.
6956 (ses-cell-formula-aset, ses-cell-printer-aset)
6957 (ses-cell-references-aset): Remove, use setf instead.
6958 (ses--alist-get): New function.
6959 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
6960 Use an alist instead of a plist and don't do move-to-front since the
6961 list is always short.
6962 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
6963 (ses-cell-property-set-fun, ses-cell-property-set)
6964 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
6965 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
6966 (ses--letref): New macro.
6967 (ses-cell-property-pop): Rewrite.
6968 (ses--cell): Rename from ses-cell and make it into a function.
6969 Make `formula' fallback on `value' if nil.
6970 (ses--local-printer): Rename from ses-local-printer and make it into
6972 (ses-set-cell): Turn it into a macro so finding the accessor from the
6973 field name is done at compile time.
6974 (ses-repair-cell-reference-all): Test presence of `sym' rather than
6975 `ref' before adding `sym' to :ses-repair-reference.
6976 (ses-calculate-cell): Use ses--letref rather than
6977 ses-cell-property-get-handle.
6978 (ses-write-cells): Use a single prin1-to-string.
6979 (ses-setter-with-undo): New function.
6980 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
6981 (ses-unset-with-undo): Remove.
6982 (ses-load): Prefer apply' over `eval'.
6983 (ses-read-printer, ses-set-column-width): Use standard "(default
6986 2014-06-15 Glenn Morris <rgm@gnu.org>
6988 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
6990 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
6991 Replace delete-duplicates and mapcan by cl- versions throughout.
6992 And cl-macroexpand-all by macroexpand-all.
6993 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
6995 2014-06-15 Eli Zaretskii <eliz@gnu.org>
6997 * subr.el (posn-col-row): Doc fix. (Bug#17768)
6999 2014-06-15 Juri Linkov <juri@jurta.org>
7001 * bindings.el: Put `ascii-character' property on keypad keys
7002 mapped to characters. (Bug#17759)
7004 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7006 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
7007 bumping forward into a closing paren (bug#17761).
7009 * term/xterm.el (xterm--version-handler): Work around for OSX
7010 Terminal.app (bug#17607).
7012 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
7014 * play/dunnet.el (dun-describe-room, dun-mode):
7015 If a lamp is in the room, you won't be eaten by a grue.
7017 2014-06-13 Glenn Morris <rgm@gnu.org>
7019 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
7020 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
7021 (compile-always): GNU make automatically passes
7022 command-line arguments to sub-makes.
7024 * calendar/calendar.el (calendar-generate-window):
7025 Remove pointless call to font-lock-fontify-buffer.
7027 2014-06-13 Matthias Meulien <orontee@gmail.com>
7029 * simple.el (completion-list-mode-map): Navigate with tab and backtab
7032 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7034 * simple.el (set-mark-command): Simplify a bit.
7036 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7038 * help.el (help--key-binding-keymap): New function.
7039 (help--binding-locus): New function.
7040 (describe-key): Mention the keymap in which the binding was
7043 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7045 * hippie-exp.el (he--all-buffers): New function.
7046 (try-expand-line-all-buffers, try-expand-list-all-buffers)
7047 (try-expand-dabbrev-all-buffers): Use it.
7049 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
7051 * hippie-exp.el (try-expand-line-all-buffers)
7052 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
7053 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
7054 original buffer, in case they're buffer-local.
7056 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
7058 * ses.el (ses-initial-global-parameters-re): New defconst, a
7059 specific regexp is needed now that ses.el can handle both
7060 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
7062 (ses-localvars): Add local variables needed for local printer handling.
7063 (ses-set-localvars): Handle hashmap initialisation.
7064 (ses-paramlines-plist): Add param-line for number of local printers.
7065 (ses-paramfmt-plist): New defconst, needed for code factorization
7066 between functions `ses-set-parameter' and
7067 `ses-file-format-extend-paramter-list'
7068 (ses-make-local-printer-info): New defsubst.
7069 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7070 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
7071 (ses-cell-printer-aset): New defmacro.
7072 (ses-local-printer-compile): New defun.
7073 (ses-local-printer): New defmacro.
7074 (ses-printer-validate, ses-call-printer): Add support for local
7076 (ses-file-format-extend-paramter-list): New defun.
7077 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
7079 (ses-load): Add support for local printer functions.
7080 (ses-read-printer): Update docstring and add support for local printer
7082 (ses-refresh-local-printer, ses-define-local-printer): New defun.
7083 (ses-safe-printer): Add support for local printer functions.
7085 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
7087 * ffap.el (ffap-lax-url): New var (bug#17723).
7088 (ffap-url-at-point): Use it.
7089 (ffap-file-at-point): Avoid returning just "/".
7091 2014-06-12 Matthias Meulien <orontee@gmail.com>
7093 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
7094 (python-mode-map): Bind it.
7096 * progmodes/python.el (class skeleton): Don't erase last char of class
7099 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
7101 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
7103 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
7105 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
7108 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7110 * international/mule-cmds.el: Use lexical-binding.
7111 (ucs-names): Simplify.
7113 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
7115 * progmodes/python.el (run-python): Use read-shell-command.
7117 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7119 * rect.el: Make it possible to move bounds past EOL or into TABs.
7120 (operate-on-rectangle): Use apply-on-rectangle.
7121 (rectangle--mark-crutches): New var.
7122 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
7123 (rectangle--crutches, rectangle--reset-crutches): New functions.
7124 (apply-on-rectangle): Obey crutches. Avoid setq.
7125 Fix missing final iteration if end is at EOB&BOL.
7126 (rectangle-mark-mode-map): Add remap bindings for
7127 exchange-point-and-mark and char/line movements.
7128 (rectangle--*-char): New function.
7129 (rectangle-exchange-point-and-mark, rectangle-right-char)
7130 (rectangle-left-char, rectangle-forward-char)
7131 (rectangle-backward-char, rectangle-next-line)
7132 (rectangle-previous-line): New commands.
7133 (rectangle--place-cursor): New function.
7134 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
7136 2014-06-08 Glenn Morris <rgm@gnu.org>
7138 * startup.el (initial-buffer-choice): Doc fix.
7139 Reset :version (adding an option does not merit a :version bump).
7141 * bookmark.el (bookmark-load):
7142 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
7144 2014-06-08 Juri Linkov <juri@jurta.org>
7146 * desktop.el: Activate auto-saving on window configuration changes.
7147 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
7148 `desktop-auto-save-set-timer' to/from
7149 `window-configuration-change-hook'.
7150 (desktop-auto-save-set-timer): Change REPEAT arg of
7151 `run-with-idle-timer' from t to nil.
7152 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
7154 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
7156 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
7157 vc-hg-command (bug#17570).
7159 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7161 * international/mule-cmds.el (ucs-names): Add special entry for BEL
7164 2014-06-08 Glenn Morris <rgm@gnu.org>
7166 * startup.el (window-setup-hook): Doc fix.
7168 * emacs-lisp/package.el (package-check-signature)
7169 (package-unsigned-archives): Doc fixes.
7171 2014-06-08 Martin Rudalics <rudalics@gmx.at>
7173 * window.el (display-buffer-use-some-window): Don't make window
7174 used smaller than it was before (Bug#17671).
7176 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7178 * menu-bar.el (menu-bar-open): Fix last change: use the PC
7179 'redisplay' instead of '(sit-for 0)'.
7181 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
7183 * net/tramp.el (tramp-ssh-controlmaster-options):
7184 Improve search regexp. (Bug#17653)
7186 2014-06-08 Glenn Morris <rgm@gnu.org>
7188 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
7190 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7192 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
7194 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
7196 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
7199 * vc/vc-hg.el (vc-hg-log-graph): New var.
7200 (vc-hg-print-log): Use it.
7201 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
7202 graph output (bug#17515).
7204 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7206 * mouse.el (mouse-posn-property): Ignore buffer position info when the
7207 even happened elsewhere.
7209 2014-06-06 Mario Lang <mlang@delysid.org>
7211 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
7212 `recenter' if `current-buffer' is equal to `window-buffer'.
7214 2014-06-05 Leo Liu <sdl.web@gmail.com>
7216 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
7218 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
7220 * textmodes/tildify.el (tildify-foreach-region-outside-env):
7221 New function which calls a callback on portions of the buffer that are
7222 outside of ignored environments.
7223 (tildify-build-regexp): Remove function since it is now
7224 incorporated in `tildify-foreach-region-outside-env' where it is
7225 optimized and simplified by the use of `mapconcat'.
7226 (tildify-tildify): Return number of substitutions made so that…
7227 (tildify-count): …can be removed.
7228 (tildify-find-env): Accept a new PAIRS argument which was
7229 previously looked up in `tildify-ignored-environments-alist' each
7230 time the function was called. With this change, the lookup is
7231 performed only once in `tildify-foreach-region-outside-env'.
7232 (tildify-region): Greatly simplify the function since now most of
7233 the work is done by `tildify-foreach-region-outside-env'.
7234 (tildify-mode-alist): Simplify slightly by avoiding if and setq
7235 and instead using or.
7237 * textmodes/tildify.el (tildify-ignored-environments-alist):
7238 Optimize environments regexes
7240 Each time beginning of an environment to ignore is found,
7241 `tildify-find-env' needs to identify regexp for the ending
7242 of the environment. This is done by trying all the opening
7243 regexes on matched text in a loop, so to speed that up, this
7244 loop should have fewer things to match, which can be done by
7245 using alternatives in the opening regexes.
7247 Coincidentally, this should make matching of the opening
7248 regexp faster as well thanks to the use of `regexp-opt' and
7249 having common prefix pulled from many regexes.
7251 * textmodes/tildify.el (tildify-string-alist)
7252 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
7253 of supported modes since `xml-mode' is no longer a thing but just
7254 an alias to the former. Also include comments and insides of tags
7255 in `tildify-ignored-environments-alist' for XML modes. Finally,
7256 since XML does not define “ ”[1], use a numeric reference for
7257 a no-break space (namely “ ”)
7259 [1] XML specification defines only a handful of predefined entities.
7260 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
7261 and includes only <, >, &, ' and " (meaning <,
7262 >, &, ' and " respectively). This is in contrast to HTML and even
7263 XHTML which defined a whole bunch of entities including “ ”.
7265 * textmodes/tildify.el (tildify-pattern-alist)
7266 (tildify-string-alist, tildify-ignored-environments-alist):
7267 Improve defcustom's types by adding more tags explaining what each
7268 value means and replace “sexp” used in
7269 `tildify-ignored-environments-alist' with a full type declaration.
7271 * textmodes/tildify.el (tildify-find-env): Fix matched group
7272 indexes in end-regex building
7274 When looking for a start of an ignore-environment, the regex is built
7275 by concatenating regexes of all the environments configured in
7276 `tildify-ignored-environments-alist'. So for example, the following
7277 list could be used to match TeX's \verb and \verb* commands:
7279 (("\\\\verb\\(.\\)" . (1))
7280 ("\\\\verb\\*\\(.\\)" . (1)))
7282 This would result in the following regex being used to find the start
7283 of any of the variants of the \verb command:
7285 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
7287 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
7288 won't match anything, and thus (match-string 1) will be nil, which
7289 will cause building of the end-matching regex to fail.
7291 Fix this by using capture groups from the time when the opening
7292 regexes are matched individually.
7294 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
7295 in `tildify-find-env'
7297 The `tildify-ignored-environments-alist' allows the end-regex to
7298 be provided not as a static string but mix of strings and indexes
7299 of groups matched the begin-regex. For example, the “\verb!…!”
7300 TeX-command (where “!” is an arbitrary character) is handled
7303 ("\\\\verb\\*?\\(.\\)" . (1))
7305 In the same way, the following should be supported as well:
7307 ("open-\\(.\\)" . ("end-" 1))
7309 However the tildify-find-env function fails at
7312 (if (stringp (setq aux (car expression)))
7313 expression ; BUG: expression is a list
7314 (regexp-quote (match-string aux))))
7316 where the string part is handled incorrectly.
7318 The most trivial fix would be to replace `expression' in the
7319 true-part of the if-statement with `aux', but instead, this commit
7320 optimizes `tildify-find-env' by changing it to use `mapconcat'
7321 rather than open-coded while-loop.
7323 2014-06-05 Mario Lang <mlang@delysid.org>
7325 * woman.el (woman-mapcan): Remove.
7326 (woman-parse-colon-path): Use cl-mapcan instead.
7328 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7330 * register.el: Add link to Emacs manual in Commentary.
7332 2014-06-02 Sam Steingold <sds@gnu.org>
7334 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
7335 (popup-menu): ...here.
7336 (menu-bar-open): Use it to avoid an error when `lookup-key'
7339 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
7341 * net/tramp.el (tramp-call-process): Add traces.
7342 (tramp-handle-unhandled-file-name-directory): Return "/".
7344 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
7346 Sync with upstream verilog-mode revision 3cd8144.
7347 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
7348 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
7349 (verilog-type-font-keywords): Add nor.
7350 (verilog-batch-execute-func): Force reading of Local Variables.
7351 Fix printing "no changes to be saved" with verilog-batch.
7352 (verilog-auto-arg-ports): Doc fix.
7353 Add verilog-auto-arg-format to support newlines in AUTOARG.
7354 (verilog-auto-arg): Doc fix.
7356 2014-06-02 Glenn Morris <rgm@gnu.org>
7358 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
7359 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
7360 * emulation/ws-mode.el: Move to obsolete/.
7361 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
7363 2014-06-02 Eli Zaretskii <eliz@gnu.org>
7365 * simple.el (keyboard-quit): Force update of mode lines, to remove
7366 the "Def" indicator, if we were defining a macro. (Bug#17615)
7368 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * minibuffer.el (minibuffer-force-complete-and-exit):
7371 Obey minibuffer-default (bug#17545).
7373 * progmodes/js.el (js-indent-line): Don't mix columns and chars
7376 * subr.el (set-transient-map): Don't wait for some "nested"
7377 transient-map to finish if we're only supposed to be active for
7378 the next command (bug#17642).
7380 2014-06-02 Leo Liu <sdl.web@gmail.com>
7382 * emacs-lisp/gv.el (window-buffer, window-display-table)
7383 (window-dedicated-p, window-hscroll, window-point, window-start):
7384 Fix gv-expander. (Bug#17630)
7386 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
7391 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
7392 for the single comma, since ", " is *very* common in normal French text
7395 2014-06-02 Glenn Morris <rgm@gnu.org>
7397 * emacs-lisp/package.el (package-check-signature)
7398 (package-unsigned-archives): Fix :version.
7400 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7402 * subr.el (sit-for): Don't run input-methods (bug#15614).
7404 2014-06-02 Glenn Morris <rgm@gnu.org>
7406 * cus-start.el: Fix some :version numbers.
7408 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7410 * simple.el (deactivate-mark): Set mark-active to nil even if
7411 deactivation is done via setting transient-mark-mode to nil,
7412 since one is buffer-local and the other is global.
7414 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
7415 there can't be more than 2 arguments (bug#17584).
7417 2014-06-02 Glenn Morris <rgm@gnu.org>
7419 * simple.el (filter-buffer-substring-functions)
7420 (filter-buffer-substring-function, buffer-substring-filters)
7421 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
7423 * minibuffer.el (completion-in-region-functions, completion-in-region)
7424 (completion--in-region): Doc fixes.
7426 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
7427 (expand-abbrev, abbrev--default-expand): Doc fixes.
7429 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
7431 Include sources used to create macuvs.h.
7432 * international/README: Refer to the Unicode Terms of Use rather
7433 than copying it bodily here, as that simplifies maintenance.
7435 2014-06-01 Glenn Morris <rgm@gnu.org>
7437 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
7439 2014-05-31 Glenn Morris <rgm@gnu.org>
7441 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
7443 2014-05-30 Glenn Morris <rgm@gnu.org>
7445 * loadup.el: Treat `command-line-args' more flexibly.
7447 2014-05-30 Alan Mackenzie <acm@muc.de>
7449 Guard (looking-at "\\s!") from XEmacs.
7450 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
7452 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
7454 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
7455 The argument COUNT is now optional, to be more backward-compatible.
7456 Doc fix. (Bug#17560)
7458 2014-05-29 Reuben Thomas <rrt@sc3d.org>
7460 * whitespace.el (whitespace-report-region):
7461 Simplify documentation.
7462 (whitespace-report-region): Allow report-if-bogus to take the
7463 value `never', for non-interactive use.
7464 (whitespace-report): Refer to whitespace-report-region's
7467 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7469 * whitespace.el: Use font-lock-flush. Minimize refontifications.
7470 Side benefit: it works without jit-lock.
7471 (whitespace-point--used): New buffer-local var.
7472 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
7473 (whitespace-color-off): Use font-lock-flush.
7474 (whitespace-point--used, whitespace-point--flush-used): New functions.
7475 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
7476 (whitespace-empty-at-eob-regexp): Use them.
7477 (whitespace-post-command-hook): Rewrite.
7479 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
7480 (font-lock-fontify-buffer): Mark interactive-only.
7481 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
7483 (font-lock-specified-p): Remove redundant boundp check.
7484 (font-lock-flush-function, font-lock-ensure-function): New vars.
7485 (font-lock-turn-on-thing-lock): Set them.
7486 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
7487 (font-lock-after-change-function): Make `old-len' optional.
7488 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
7489 Call font-lock-flush, just in case.
7490 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
7492 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
7493 (vera-mode-map, vera-mode-menu): Remove bindings to it.
7494 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
7495 and with-syntax-table.
7496 * textmodes/conf-mode.el (conf-quote-normal):
7497 * progmodes/sh-script.el (sh-set-shell):
7498 * progmodes/prog-mode.el (prettify-symbols-mode):
7499 * progmodes/f90.el (f90-font-lock-n):
7500 * progmodes/cwarn.el (cwarn-mode):
7501 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
7502 * progmodes/compile.el (compilation-setup, compilation--unsetup):
7503 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
7504 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
7505 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
7506 font-lock-fontify-buffer-function and
7507 font-lock-unfontify-buffer-function.
7508 (rmail-unfontify-buffer-function, rmail-fontify-message):
7509 Use with-silent-modifications.
7510 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
7511 and font-lock-ensure.
7512 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
7514 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
7516 * emacs-lisp/package.el (package-generate-autoloads):
7517 Inhibit backup files.
7519 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7521 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
7524 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
7526 * textmodes/tildify.el (tildify-buffer, tildify-region):
7527 Add dont-ask option.
7529 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7531 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
7532 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
7534 * subr.el (internal--funcall-interactively): New.
7535 (internal--call-interactively): Remove.
7536 (called-interactively-p): Detect funcall-interactively instead of
7538 * simple.el (repeat-complex-command): Use funcall-interactively.
7539 (repeat-complex-command--called-interactively-skip): Remove.
7541 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * register.el (register-read-with-preview): Don't burp on
7544 frame switches (e.g. due to the frame we just popped).
7546 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
7547 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
7549 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
7551 * cus-face.el (custom-face-attributes): Add :distant-foreground.
7553 2014-05-26 Martin Rudalics <rudalics@gmx.at>
7555 * window.el (window--dump-frame): Remove interactive specification.
7557 2014-05-26 Glenn Morris <rgm@gnu.org>
7559 * hippie-exp.el (he-line-search-regexp):
7560 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
7562 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
7564 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
7565 to avoid errors when trying to create or visit a file foo.todo
7566 located outside to todo-directory, and to allow having such files
7567 without them being tied to Todo mode (bug#17482).
7568 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
7569 (todo-archive-done-item, todo-find-filtered-items-file)
7570 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
7571 (todo-category-completions, todo-read-category): When visiting a
7572 Todo file, make sure we're in the right mode and the buffer local
7574 (todo-make-categories-list, todo-reset-nondiary-marker)
7575 (todo-reset-done-string, todo-reset-comment-string):
7576 After processing all Todo files, kill the buffers of those files that
7577 weren't being visited before the processing.
7578 (todo-display-as-todo-file, todo-add-to-buffer-list)
7579 (todo-visit-files-commands): Comment out.
7580 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
7581 (auto-mode-alist): Remove add-to-list calls making Todo file
7582 extensions unrestrictedly tied to Todo modes.
7584 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7586 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
7587 (advice-function-member-p): Tell it to check both names and functions
7589 (advice--add-function): Adjust call accordingly.
7591 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
7593 * calendar/todo-mode.el: Miscellaneous bug fixes.
7594 (todo-delete-file): When deleting an archive but not its todo
7595 file, make sure to update the todo file's category sexp.
7596 (todo-move-category): Keep the moved category's name unless the
7597 file moved to already has a category with that name. If the
7598 numerically last category of the source file was moved, make the
7599 first category current to avoid selecting a nonexisting category.
7600 (todo-merge-category): Fix implementation to make merging to a
7601 category in another file work as documented. Eliminate now
7602 insufficient and unnecessary renaming of archive category, correct
7603 document string accordingly, and clarify it. If the numerically
7604 last category of the source file was merged, make the first
7605 category current to avoid selecting a nonexisting category.
7606 (todo-archive-done-item): When there are marked items and point
7607 happens to be on an unmarked item, ignore the latter. Don't leave
7608 point below last item after archiving marked items.
7609 (todo-unarchive-items): Fix logic to ensure unarchiving an item
7610 from an archive with only one category deletes the archive only
7611 when the category is empty after unarchiving. Make sure the todo
7612 file's category sexp is updated.
7613 (todo-read-file-name): Allow an existing file name even when it is
7614 not required (todo-move-category needs this to work as documented).
7615 (todo-add-file): Call todo-validate-name to reject the name of an
7616 existing todo file (needed due to fix in todo-read-file-name).
7617 (todo-reset-nondiary-marker): Also reset in filtered items files.
7618 (todo-reset-done-string, todo-reset-comment-string): Also reset in
7619 regexp filtered items files.
7620 (todo-reset-highlight-item): Also reset in filtered items files.
7621 Fix incorrect variable reference in document string.
7623 2014-05-26 Glenn Morris <rgm@gnu.org>
7625 * window.el (window--dump-frame): Avoid error in --without-x builds.
7627 2014-05-26 Glenn Morris <rgm@gnu.org>
7629 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
7631 2014-05-26 Eli Zaretskii <eliz@gnu.org>
7633 * frame.el (set-frame-font): Doc fix.
7635 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
7637 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
7639 * emacs-lisp/package.el (package--download-one-archive):
7640 Use `write-region' instead of `save-buffer' to avoid running various
7642 (describe-package-1): Same. Insert newline at the end of the
7643 buffer if appropriate.
7645 2014-05-26 Juri Linkov <juri@jurta.org>
7647 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
7648 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
7649 Add more modifiers: meta, control, shift, hyper, super, alt.
7652 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
7653 to allow changing its value with `set-variable'.
7655 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7657 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
7659 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
7661 (scheme-mode-variables): Set syntax-propertize-function instead of
7662 font-lock-syntactic-face-function.
7663 (scheme-font-lock-syntactic-face-function): Delete.
7665 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
7667 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
7670 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
7672 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
7673 for a temporary file name.
7675 2014-05-26 Eli Zaretskii <eliz@gnu.org>
7677 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
7679 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
7681 * net/dbus.el (dbus-init-bus, dbus-call-method)
7682 (dbus-call-method-asynchronously, dbus-send-signal)
7683 (dbus-method-return-internal, dbus-method-error-internal):
7684 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
7686 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7688 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
7689 methods which do not have a doc string. (Bug#17490)
7691 2014-05-25 Tassilo Horn <tsdh@gnu.org>
7693 * textmodes/reftex-ref.el (reftex-format-special): Make it work
7694 also for AMS Math's \eqref macro.
7696 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
7698 Arrange to never byte-compile the generated -pkg.el file.
7700 * emacs-lisp/package.el (package-generate-description-file):
7701 Output first-line comment to set buffer-local var `no-byte-compile'.
7702 Suggested by Dmitry Gutov:
7703 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
7705 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
7707 Fix bug: Properly quote args to generated -pkg.el `define-package'.
7709 * emacs-lisp/package.el (package-generate-description-file):
7710 Inline `package--alist-to-plist'; rewrite to selectively
7711 quote alist values that are not self-quoting.
7712 (package--alist-to-plist): Delete func.
7714 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
7716 * term/xterm.el (xterm-function-map): Add mapping for shifted
7719 2014-05-24 Daniel Colascione <dancol@dancol.org>
7721 * progmodes/subword.el (subword-find-word-boundary): Move point to
7722 correct spot before search. (Bug#17580)
7724 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
7727 2014-05-24 Leo Liu <sdl.web@gmail.com>
7729 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
7731 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * minibuffer.el (completion--sreverse): Remove.
7734 (completion--common-suffix): Use `reverse' instead.
7735 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
7737 2014-05-22 Glenn Morris <rgm@gnu.org>
7739 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
7741 2014-05-21 Daniel Colascione <dancol@dancol.org>
7743 * files.el (interpreter-mode-alist): Add mksh.
7745 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
7747 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
7748 mksh. Improve custom spec; allow regular expressions.
7749 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
7750 (sh-after-hack-local-variables): New function.
7751 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
7752 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
7754 (sh-canonicalize-shell): Rewrite to support regexes.
7756 2014-05-21 Leo Liu <sdl.web@gmail.com>
7758 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
7760 2014-05-19 Leo Liu <sdl.web@gmail.com>
7762 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
7764 2014-05-18 Glenn Morris <rgm@gnu.org>
7767 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
7769 2014-05-14 Sam Steingold <sds@gnu.org>
7771 * progmodes/python.el (python-shell-get-or-create-process):
7772 Do not bind `current-prefix-arg' so that C-c C-z does not talk
7773 back unless requested.
7775 2014-05-14 Glenn Morris <rgm@gnu.org>
7777 * subr.el (with-file-modes): New macro.
7778 * printing.el (pr-save-file-modes): Make obsolete.
7779 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
7780 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7781 Add with-file-modes.
7782 * doc-view.el (doc-view-make-safe-dir):
7783 * epg.el (epg--start):
7784 * files.el (locate-user-emacs-file, make-temp-file)
7785 (backup-buffer-copy, move-file-to-trash):
7786 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
7787 * eshell/esh-util.el (eshell-with-private-file-modes)
7788 (eshell-make-private-directory):
7789 * net/browse-url.el (browse-url-mosaic):
7790 * obsolete/mailpost.el (post-mail-send-it):
7791 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
7792 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
7793 Use with-file-modes.
7795 * vc/emerge.el (emerge-make-temp-file): Simplify.
7797 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
7798 Stefan Monnier <monnier@iro.umontreal.ca>
7800 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
7803 2014-05-14 Glenn Morris <rgm@gnu.org>
7805 * vc/emerge.el (emerge-temp-file-prefix):
7806 Make pointless option obsolete.
7807 (emerge-temp-file-mode): Make non-functional option obsolete.
7809 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
7811 * net/browse-url.el (browse-url):
7812 Use `unhandled-file-name-directory' when setting `default-directory',
7813 in order to circumvent stalled remote connections. (Bug#17425)
7815 2014-05-14 Glenn Morris <rgm@gnu.org>
7817 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
7818 Optimize on Emacs, which has the relevant functions for ages.
7820 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7822 * simple.el (undo-make-selective-list): Obey undo-no-redo.
7824 2014-05-12 Sam Steingold <sds@gnu.org>
7826 * calendar/time-date.el (seconds-to-string): New function to
7827 pretty print time delay in seconds.
7829 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7831 * mpc.el (mpc-format): Trim Date to the year.
7832 (mpc-songs-hashcons): Shorten the Date field.
7834 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
7835 into autoloading just because of a silly indirection.
7837 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
7839 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
7841 2014-05-12 Glenn Morris <rgm@gnu.org>
7843 * emacs-lisp/find-gc.el: Move to ../admin.
7845 * printing.el (pr-version):
7846 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
7848 * net/browse-url.el (browse-url-mosaic):
7849 Create /tmp/Mosaic.PID as a private file.
7851 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7853 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
7854 (advice--member-p): If name is given, only compare the name.
7855 (advice--remove-function): Don't stop at the first match.
7856 (advice--normalize-place): New function.
7857 (add-function, remove-function): Use it.
7858 (advice--add-function): Pass the name, if any, to
7859 advice--remove-function.
7861 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
7863 * electric.el (electric-indent-post-self-insert-function): Don't use
7864 `pos' after modifying the buffer (bug#17449).
7866 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
7868 * calendar/todo-mode.el (todo-insert-item-from-calendar):
7869 Correct argument list to conform to todo-insert-item--basic.
7871 2014-05-12 Glenn Morris <rgm@gnu.org>
7873 * files.el (cd-absolute): Test if directory is accessible
7874 rather than executable. (Bug#17330)
7876 * progmodes/compile.el (recompile):
7877 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
7879 * net/browse-url.el (browse-url-mosaic):
7880 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
7881 This is CVE-2014-3423.
7883 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7885 * mouse.el: Use the normal toplevel loop while dragging.
7886 (mouse-set-point): Handle multi-clicks.
7887 (mouse-set-region): Handle multi-clicks for drags.
7888 (mouse-drag-region): Update call accordingly.
7889 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
7890 Use the normal event loop instead of a local while/read-event loop.
7891 (global-map): Remove redundant bindings for double/triple-mouse-1.
7892 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
7893 Generate synthetic down events when the protocol only sends up events.
7894 (xterm-mouse-last): Remove.
7895 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
7896 terminal parameter instead.
7897 (xterm-mouse--set-click-count): New function.
7898 (xterm-mouse-event): Detect/generate double/triple clicks.
7899 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
7901 * info.el (Info-quoted): New face.
7902 (Info-mode-font-lock-keywords): New var.
7903 (Info-mode): Use it.
7905 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
7906 are a hindrance for C-x C-e.
7908 2014-05-11 Leo Liu <sdl.web@gmail.com>
7910 * net/rcirc.el (rcirc-sentinel): Fix last change.
7912 2014-05-08 Sam Steingold <sds@gnu.org>
7914 * net/rcirc.el (rcirc-reconnect-delay): New user option.
7915 (rcirc-sentinel): Auto-reconnect to the server if
7916 `rcirc-reconnect-delay' is non-0 (but not more often than its
7917 value in case the host is off-line).
7919 2014-05-09 Eli Zaretskii <eliz@gnu.org>
7921 * progmodes/grep.el (lgrep): Fix a typo in last commit.
7923 2014-05-09 Glenn Morris <rgm@gnu.org>
7925 * files.el (file-expand-wildcards):
7926 * man.el (Man-support-local-filenames):
7927 * printing.el (pr-i-directory, pr-interface-directory):
7928 * progmodes/grep.el (lgrep, rgrep):
7929 * textmodes/ispell.el (ispell-call-process)
7930 (ispell-call-process-region, ispell-start-process)
7931 (ispell-init-process): Use file-accessible-directory-p.
7933 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7935 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
7936 (xterm-mouse--read-event-sequence-1000): Return nil if something
7938 (xterm-mouse-event): Propagate it.
7939 (xterm-mouse-translate-1): Handle it.
7941 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
7943 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
7944 four slots of the parameter list are filled, make sure to pass it
7945 to the argument list of todo-insert-item--basic.
7947 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7949 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
7950 Add optional `seen' argument to detect and break infinite loops.
7952 2014-05-08 Eli Zaretskii <eliz@gnu.org>
7954 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
7955 (trace-unsafe, trace-use-tree): Make parentheses style be
7956 according to Emacs style.
7958 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
7960 * net/tramp-sh.el (tramp-remote-process-environment):
7961 Remove HISTFILE and HISTSIZE; it's too late to set them here.
7963 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
7964 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
7965 extra "PSx=..." commands.
7966 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
7969 (tramp-uudecode): Replace the hard-coded temporary file name by a
7971 (tramp-remote-coding-commands): Enhance docstring.
7972 (tramp-find-inline-encoding): Replace "%t" by a temporary file
7974 This is CVE-2014-3424.
7976 2014-05-08 Glenn Morris <rgm@gnu.org>
7978 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
7979 (find-gc-source-files): Update some names.
7980 (trace-call-tree): Simplify and update.
7981 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
7982 This is CVE-2014-3422.
7984 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7986 * minibuffer.el (completion--try-word-completion): Revert fix for
7987 Bug#15980 (bug#17375).
7989 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
7990 Always store button numbers in the same way in xterm-mouse-last;
7991 Don't burp is xterm-mouse-last is not set as expected.
7992 Never return negative indices.
7994 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
7996 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7997 Backtrack one char if the global/char-literal var matcher hits
7998 inside a string. The next char could be the beginning of an
7999 expression expansion.
8001 2014-05-08 Glenn Morris <rgm@gnu.org>
8003 * help-fns.el (describe-function-1): Test for an autoload before a
8004 macro, since `macrop' works on autoloads. (Bug#17410)
8006 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8008 * electric.el (electric-indent-functions-without-reindent): Add yaml.
8010 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
8011 Make sure the new point we return is within the new string (bug#17239).
8013 2014-05-05 Daniel Colascione <dancol@dancol.org>
8015 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8016 Port `gnu' pattern to rx.
8018 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
8020 Remove unneeded prompt when closing a buffer with active
8021 emacsclient ("Buffer ... still has clients"), #16548.
8022 * server.el (server-start): Remove the only call to:
8023 (server-kill-buffer-query-function): Remove.
8025 2014-05-04 Leo Liu <sdl.web@gmail.com>
8027 * calendar/diary-lib.el (calendar-chinese-month-name-array):
8028 Defvar to pacify compiler.
8030 2014-05-04 Eli Zaretskii <eliz@gnu.org>
8032 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
8034 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8036 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8037 Use nil rather than `default' for the "default" appearance (bug#17388).
8038 * vc/ediff-util.el (ediff-inferior-compare-regions)
8039 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
8040 a misleading `default' value when it's really a boolean.
8041 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
8042 overlay is not visible.
8044 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8046 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
8047 (todo-menu): Uncomment and update.
8049 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8051 * calendar/todo-mode.el: Reimplement item editing to have the same
8052 basic user interface as item insertion, and make small UI and
8053 larger internal improvements to the latter.
8054 (todo-insert-item): Add reference to the Todo mode user manual to
8055 the documentation string.
8056 (todo-insert-item--basic): Rename from todo-basic-insert-item and
8057 adjust all callers. Change signature to combine diary and
8058 nonmarking arguments. Incorporate functionality of deleted item
8059 copying command and add error checking. Remove detailed
8060 descriptions of the arguments from the documentation string, since
8061 this is treated in the Todo mode user manual.
8062 (todo-copy-item, todo-edit-multiline-item)
8063 (todo-edit-done-item-comment, todo-edit-item-header)
8064 (todo-edit-item-time, todo-edit-item-date-from-calendar)
8065 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
8066 (todo-edit-item-date-year, todo-edit-item-date-month)
8067 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
8069 (todo-edit-item): Reimplement as wrapper command for
8070 todo-edit-item--next-key and make it distinguish done and not done
8072 (todo-edit-item--text): New function, replacing old command
8073 todo-edit-item and incorporating deleted commands
8074 todo-edit-multiline-item and todo-edit-done-item-comment.
8075 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
8076 Use only numeric value of prefix argument. Remove detailed
8077 descriptions of the arguments from the documentation string, since
8078 this is treated in the Todo mode user manual.
8079 (todo-edit-item--diary-inclusion): New function, replacing old
8080 command todo-edit-item-diary-inclusion and incorporating and fixing
8081 functionality of deleted command todo-edit-item-diary-nonmarking,
8082 making sure to remove todo-nondiary-marker when adding
8083 diary-nonmarking-symbol.
8084 (todo-edit-category-diary-inclusion): Make sure to delete
8085 diary-nonmarking-symbol when adding todo-nondiary-marker.
8086 (todo-edit-category-diary-nonmarking): Fix indentation.
8087 (todo-insert-item--parameters): Group diary and nonmarking
8088 parameters together.
8089 (todo-insert-item--apply-args): Adjust to signature of
8090 todo-insert-item--basic and incorporate copy parameter.
8091 Make small code improvements.
8092 (todo-insert-item--next-param): Improve prompt and adjust it to
8093 new parameter grouping. Remove obsolete code.
8094 (todo-edit-item--param-key-alist)
8095 (todo-edit-item--date-param-key-alist)
8096 (todo-edit-done-item--param-key-alist): New defconsts.
8097 (todo-edit-item--prompt): New variable.
8098 (todo-edit-item--next-key): New function.
8099 (todo-key-bindings-t): Bind "e" to todo-edit-item.
8100 Remove bindings of deleted commands.
8102 2014-05-04 Leo Liu <sdl.web@gmail.com>
8104 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
8106 2014-05-04 Glenn Morris <rgm@gnu.org>
8108 * allout-widgets.el (allout-widgets-tally)
8109 (allout-decorate-item-guides):
8110 * menu-bar.el (menu-bar-positive-p):
8111 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8112 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
8113 * progmodes/js.el (js--inside-param-list-p)
8114 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
8115 * progmodes/prolog.el (region-exists-p):
8116 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
8117 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
8118 Doc fixes (replace `iff').
8120 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8122 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
8124 2014-05-04 Leo Liu <sdl.web@gmail.com>
8126 Support Chinese diary entries in calendar and diary. (Bug#17393)
8127 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
8128 (calendar-chinese-from-absolute-for-diary)
8129 (calendar-chinese-to-absolute-for-diary)
8130 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
8131 (diary-chinese-list-entries): New functions to list and mark
8132 Chinese diary entries in the calendar window.
8133 (diary-chinese-anniversary)
8134 (diary-chinese-insert-anniversary-entry)
8135 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
8136 (diary-chinese-insert-yearly-entry): New commands to insert
8137 Chinese diary entries.
8139 * calendar/diary-lib.el (diary-font-lock-keywords):
8140 Support font-locking Chinese dates.
8142 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
8143 inserting Chinese diary entries.
8145 * calendar/calendar.el (diary-chinese-entry-symbol):
8146 New customizable variable.
8147 (calendar-mode-map): Add bindings for inserting Chinese diary
8150 2014-05-03 Juri Linkov <juri@jurta.org>
8152 * dired.el (dired-check-switches, dired-switches-recursive-p):
8153 New functions. (Bug#17218)
8154 (dired-switches-escape-p, dired-move-to-end-of-filename):
8155 Use `dired-check-switches'.
8156 (dired-insert-old-subdirs, dired-build-subdir-alist)
8157 (dired-sort-R-check): Use `dired-switches-recursive-p'.
8159 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
8161 * simple.el (undo-make-selective-list): New algorithm fixes
8162 incorrectness of position adjustments when undoing in region.
8164 (undo-elt-crosses-region): Make obsolete.
8165 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
8166 New functions to adjust positions using undo-deltas.
8168 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8170 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
8171 the last consecutive closing paren (bug#17345).
8173 2014-04-30 Reuben Thomas <rrt@sc3d.org>
8175 * dired.el (dired-mode): make terminology for eXpunge command
8176 consistent. (Bug#17276)
8178 2014-04-30 Eli Zaretskii <eliz@gnu.org>
8180 * dired.el (dired-initial-position-hook, dired-initial-position):
8183 2014-04-30 Glenn Morris <rgm@gnu.org>
8185 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
8187 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
8189 * faces.el (face-spec-recalc): Apply X resources only after the
8190 defface spec has been applied. Thus, X resources are no longer
8191 overriden by the defface spec which also fixes issues on win32 where
8192 the toolbar coloring was wrong because it is set through X resources
8193 and was (wrongfully) overriden. (Bug#16694)
8195 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
8197 * textmodes/rst.el (electric-pair-pairs): Declare.
8198 (rst-mode): Set it (bug#17131).
8200 2014-04-30 Juri Linkov <juri@jurta.org>
8202 * desktop.el (desktop-value-to-string): Let-bind `print-length'
8203 and `print-level' to nil. (Bug#17351)
8205 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8207 * battery.el (battery-update): Handle the case where battery
8208 status is "N/A" (bug#17319).
8210 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8212 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
8213 to syntax-propertize.
8214 (ps-mode-auto-indent): Mark as obsolete.
8215 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
8216 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
8217 word regexp operators.
8218 (ps-mode-map): Move initialization into declaration. Remove binding
8219 for TAB, RET, >, ], and }.
8220 (ps-mode-syntax-table): Move initialization into declaration.
8221 Don't give word syntax to non-word chars.
8222 (ps-run-mode-map): Move initialization into declaration.
8223 (ps-mode-menu-main): Remove auto-indent entry.
8224 (ps-mode-smie-rules): New function.
8225 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
8226 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
8227 (ps-mode--string-syntax-table): New const.
8228 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
8230 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
8231 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
8233 2014-04-27 Daniel Colascione <dancol@dancol.org>
8235 * term/xterm.el (xterm-paste): Use large finite timeout when
8236 reading event to avoid putting keys in this-command-keys.
8238 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8240 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
8241 (perl-syntax-propertize-function): Use it. Extend handling of
8242 here-docs to the unquoted case.
8244 2014-04-25 Eli Zaretskii <eliz@gnu.org>
8246 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
8247 Use equal-including-properties to compare help-echo strings (bug#17331).
8249 2014-04-25 Leo Liu <sdl.web@gmail.com>
8251 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8252 Fix syntax for @. (Bug#17325)
8254 2014-04-25 Daniel Colascione <dancol@dancol.org>
8256 * emacs-lisp/cl.el (gv): Require gv early to break eager
8257 macro-expansion cycles.
8259 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8261 * simple.el (region-active-p): Check there's a mark (bug#17324).
8263 * simple.el (completion-list-mode-map): Use choose-completion for the
8264 mouse binding as well (bug#17302).
8265 (completion-list-mode, completion-setup-function): Adjust docstring and
8266 echo area message accordingly.
8267 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
8268 calling convention of choose-completion.
8269 * comint.el (comint-dynamic-list-completions):
8270 * term.el (term-dynamic-list-completions): Accept choose-completion.
8272 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
8273 &, |, +, - and * can't be a division (bug#17317).
8275 * term/xterm.el (xterm--version-handler): Don't use modern xterm
8276 features on gnome-terminal (bug#16988).
8278 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
8280 Improve Scheme font-locking for (define ((foo ...) ...) ...).
8282 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
8283 the declared object, ignore zero or more parens, not zero or one.
8285 2014-04-24 Leo Liu <sdl.web@gmail.com>
8287 * progmodes/xscheme.el (xscheme-expressions-ring)
8288 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
8289 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
8290 (xscheme-allow-output-p, xscheme-prompt)
8291 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
8293 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
8294 Comment out unused functions.
8296 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8298 * info.el: Use lexical-binding and cl-lib.
8299 Use defvar-local and setq-local instead of make-local-variable.
8300 (Info-apropos-matches): Avoid add-to-list.
8301 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
8303 2014-04-24 Daniel Colascione <dancol@dancol.org>
8305 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
8307 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8309 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
8311 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
8313 * dired.el (dired-insert-set-properties): Do not consider
8314 subdirectory headings and empty lines to be information that
8315 `dired-hide-details-mode' should hide. (Bug#17228)
8317 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8319 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8320 Remove test messages.
8321 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
8324 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8326 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
8327 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
8329 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
8331 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8333 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8334 Set "IFS=" when using read builtin, in order to preserve spaces in
8335 the file name. Add test messages for hunting a bug on hydra.
8336 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
8338 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8340 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
8341 Don't prettify a word within a symbol.
8343 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8345 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
8348 2014-04-22 Daniel Colascione <dancol@dancol.org>
8350 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
8351 use defun to define `function-put'.
8353 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8355 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
8356 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
8357 (lisp-mode-variables): Set font-lock-extra-managed-props.
8359 * emacs-lisp/byte-run.el (function-put): New function.
8360 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
8361 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
8362 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
8365 2014-04-22 Daniel Colascione <dancol@dancol.org>
8367 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
8368 Add `full-p' parameter; when nil, call `macroexpand' instead of
8371 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
8374 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8375 Use lambda function values, not quoted lambdas.
8376 (byte-compile-recurse-toplevel): Remove extraneous &optional.
8378 * emacs-lisp/cl-macs.el
8379 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
8380 (cl-struct-slot-value): Conditionally use aref or nth so that the
8381 compiler produces optimal code.
8383 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8385 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
8386 (inline): Don't inline cl--set-elt.
8387 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
8388 Define as inlinable instead.
8389 (cl-struct-set-slot-value): Remove.
8391 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
8392 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
8395 2014-04-21 Daniel Colascione <dancol@dancol.org>
8397 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
8398 last two parameters after all.
8399 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
8400 (cl--compiler-macro-assoc,cl-struct-slot-value)
8401 (cl-struct-set-slot-value): Stop using them.
8403 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8405 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
8406 entry in image-mode-winprops-alist.
8408 2014-04-21 Daniel Colascione <dancol@dancol.org>
8410 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
8411 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
8412 (byte-compile-toplevel-file-form): Use it.
8414 * emacs-lisp/cl-macs.el:
8415 (cl--loop-let): Properly destructure `while' clauses.
8417 2014-04-20 Daniel Colascione <dancol@dancol.org>
8419 * vc/vc.el (vc-root-dir): New public autoloaded function for
8420 generically finding the current VC root.
8421 * vc/vc-hooks.el (vc-not-supported): New error.
8422 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
8424 2014-04-20 Daniel Colascione <dancol@dancol.org>
8426 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
8428 (cl--const-expr-val): cl--const-expr-val should macroexpand its
8429 argument in case we're inside a symbol-macrolet.
8430 (cl--do-arglist, cl--compiler-macro-typep)
8431 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
8432 environment to `cl--const-expr-val'.
8433 (cl-struct-sequence-type,cl-struct-slot-info)
8434 (cl-struct-slot-offset, cl-struct-slot-value)
8435 (cl-struct-set-slot-value): New functions.
8437 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
8440 assignments such as "case=hello" (bug#17297).
8442 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
8444 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
8446 (tramp-file-name-handler, tramp-completion-file-name-handler):
8447 Revert patch from 2014-04-10, it isn't necessary anymore.
8448 (tramp-autoload-file-name-handler)
8449 (tramp-register-autoload-file-name-handlers): New defuns.
8450 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
8451 (tramp-register-file-name-handlers): Remove also
8452 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
8453 Do not autoload its invocation, but eval it after loading of 'tramp.
8455 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
8457 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
8459 2014-04-17 Daniel Colascione <dancol@dancol.org>
8461 Add support for bracketed paste mode; add infrastructure for
8462 managing terminal mode enabling and disabling automatically.
8465 (xterm-mouse-mode): Simplify.
8466 (xterm-mouse-tracking-enable-sequence)
8467 (xterm-mouse-tracking-disable-sequence): New constants.
8468 (turn-on-xterm-mouse-tracking-on-terminal)
8469 (turn-off-xterm-mouse-tracking-on-terminal):
8470 Use tty-mode-set-strings and tty-mode-reset-strings terminal
8471 parameters instead of random hooks.
8472 (turn-on-xterm-mouse-tracking)
8473 (turn-off-xterm-mouse-tracking): Delete.
8475 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
8476 (xterm-paste-ending-sequence): New constant.
8477 (xterm-paste): New command used for bracketed paste support.
8479 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
8480 (terminal-init-xterm-bracketed-paste-mode): New function.
8481 (terminal-init-xterm): Call it.
8482 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
8483 and tty-mode-reset-strings instead of random hooks.
8484 (xterm-turn-on-modify-other-keys)
8485 (xterm-turn-off-modify-other-keys)
8486 (xterm-remove-modify-other-keys): Delete obsolete functions.
8488 * term/screen.el: Rewrite to just use the xterm code.
8489 Add copyright notice. Mention tmux.
8491 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
8493 * image-mode.el (image-mode-window-put): Also update the property of
8494 the "default window".
8495 * doc-view.el (doc-view-new-window-function): If no window
8496 exists, move to the last known page.
8498 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8500 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
8501 here-documents (bug#17262).
8503 2014-04-16 Eli Zaretskii <eliz@gnu.org>
8505 * term/pc-win.el (x-list-fonts, x-get-selection-value):
8506 Provide doc strings, as required by snarf-documentation.
8508 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8510 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
8511 arg of overlays-at. Use `invisible-p'.
8513 * obsolete/lucid.el (extent-at):
8514 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
8516 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
8518 2014-04-16 João Távora <joaotavora@gmail.com>
8520 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
8523 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8525 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8526 Use mapc to loop over a vector. (Bug#17257).
8528 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
8530 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
8531 patch, there are new problems with file names containing spaces.
8532 Get rid of backticks. (Bug#17238)
8534 2014-04-16 João Távora <joaotavora@gmail.com>
8536 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
8539 2014-04-16 Eli Zaretskii <eliz@gnu.org>
8541 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
8542 (blink-cursor-mode): Mention customization variables and the
8543 effect of 'blink-cursor-blinks'.
8545 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
8547 * simple.el (undo): Prevent insertion of identity mapping into
8548 undo-equiv-table so as undo-only does not inf loop in the presence
8549 of consecutive nils in undo list.
8551 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
8553 * faces.el (make-face): Deprecate optional argument as it is no
8554 longer needed/used since the conditional X resources handling
8555 has been pushed down to make-face-x-resource-internal itself.
8556 (make-empty-face): Don't pass optional argument to make-face.
8558 2014-04-16 Karl Fogel <kfogel@red-bean.com>
8560 * savehist.el (savehist-save): Remove workaround for a read-passwd
8561 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
8562 noticing that the shim was still present.
8564 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8566 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
8568 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
8570 * faces.el (face-set-after-frame-default): Remove unused local variable.
8572 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * progmodes/grep.el: Use lexical-binding.
8575 (grep-expand-template): Pass explicit lexical env to `eval'.
8576 (zrgrep): Let-bind grep-find-template explicitly.
8578 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
8579 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
8581 2014-04-12 Eli Zaretskii <eliz@gnu.org>
8583 * international/characters.el <standard-case-table>: Add entries
8584 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
8585 Set category of Coptic characters be 'g' (Greek).
8587 2014-04-12 Leo Liu <sdl.web@gmail.com>
8589 * progmodes/octave.el (completion-table-with-cache):
8590 Define if not available.
8591 (octave-goto-function-definition, octave-sync-function-file-names)
8592 (octave-find-definition-default-filename):
8593 Backquote upattern for compatibility.
8595 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
8597 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
8598 name twice due to backticks. (Bug#17238)
8600 2014-04-12 Glenn Morris <rgm@gnu.org>
8602 * term/w32-win.el (x-win-suspend-error):
8603 * term/x-win.el (x-win-suspend-error): Sync docs.
8605 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
8607 * faces.el (make-face): Remove deprecated optional argument.
8608 The conditional application of X resources is handled directly by
8609 make-face-x-resource-internal since Emacs 24.4.
8610 (make-empty-face): Don't pass optional argument to make-face.
8612 2014-04-11 Glenn Morris <rgm@gnu.org>
8614 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
8616 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8618 Ediff's overlay priorities cause more trouble than they solve.
8619 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
8620 (ediff-highest-priority): Remove function (bug#17234).
8621 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
8622 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
8623 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
8626 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
8628 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
8629 entry; use symbol boundaries to avoid mis-matches.
8631 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
8633 * net/tramp.el (tramp-file-name-handler)
8634 (tramp-completion-file-name-handler): Avoid recursive loading.
8636 * net/tramp-sh.el (tramp-make-copy-program-file-name):
8637 Quote result also locally.
8639 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
8642 Remove left-over code.
8644 * newcomment.el (comment-indent-new-line): Sink code where it's used.
8645 Reuse the previous comment's indentation unconditionally if it's on its
8648 2014-04-09 Daniel Colascione <dancol@dancol.org>
8650 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
8651 `no-syntax-crossing' arguments. Forward to `up-list'.
8652 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
8653 Implement logic for escaping from strings. Use narrowing to deal
8656 2014-04-09 Leo Liu <sdl.web@gmail.com>
8658 * net/rcirc.el (rcirc-connection-info): New variable.
8659 (rcirc-connect): Use it to store connection info.
8660 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
8662 (rcirc-cmd-reconnect): New command. (Bug#17045)
8663 (rcirc-mode, set-rcirc-encode-coding-system)
8664 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
8666 2014-04-09 Daniel Colascione <dancol@dancol.org>
8668 * emacs-lisp/cl-indent.el: Add comment claiming
8669 facility is also good for elisp.
8670 (lisp-indent-find-method): New function.
8671 (common-lisp-indent-function): Recognize cl-loop.
8672 (common-lisp-indent-function-1): Recognize cl constructs; use
8673 `lisp-indent-find-method' instead of `get' directly.
8674 (if): Use else-body style for elisp.
8676 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
8678 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8679 Module methods. (Bug#17216)
8681 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
8683 * help.el (describe-bindings): Fix buffer handling (bug#17210).
8684 (describe-bindings-internal): Mark obsolete.
8686 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
8688 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
8689 buffer-file-name, and buffer-file-truename any more.
8691 2014-04-08 Leo Liu <sdl.web@gmail.com>
8693 Use lexical-binding and require cl-lib.
8694 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
8695 (rcirc-handler-generic, rcirc-fill-paragraph)
8696 (rcirc-format-response-string, rcirc-target-buffer)
8697 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
8698 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
8699 (rcirc-ctcp-sender-PING, rcirc-browse-url)
8700 (rcirc-markup-timestamp, rcirc-markup-attributes)
8701 (rcirc-markup-my-nick, rcirc-markup-urls)
8702 (rcirc-markup-bright-nicks, rcirc-markup-fill)
8703 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
8704 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
8705 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
8706 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
8707 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
8708 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
8709 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
8710 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
8711 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
8712 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
8715 2014-04-07 João Távora <joaotavora@gmail.com>
8717 * elec-pair.el (electric-pair--syntax-ppss):
8718 When inside comments parse from comment beginning.
8719 (electric-pair--balance-info): Fix typo in comment.
8720 (electric-pair--in-unterminated-string-p): Delete.
8721 (electric-pair--unbalanced-strings-p): New function.
8722 (electric-pair-string-bound-function): New var.
8723 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
8724 according to `electric-pair--in-unterminated-string-p'
8726 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
8727 Inhibit quote pairing if point-max is inside an unterminated string.
8728 (electric-pair--looking-at-unterminated-string-p): Delete.
8729 (electric-pair--in-unterminated-string-p): New function.
8731 2014-04-07 Glenn Morris <rgm@gnu.org>
8733 * shell.el (shell-directory-tracker):
8734 Go back to just ignoring failures. (Bug#17159)
8736 2014-04-07 João Távora <joaotavora@gmail.com>
8738 Fix `electric-pair-delete-adjacent-pairs' in modes binding
8739 backspace. (Bug#16981)
8740 * elec-pair.el (electric-pair-backward-delete-char): Delete.
8741 (electric-pair-backward-delete-char-untabify): Delete.
8742 (electric-pair-mode-map): Bind backspace to a menu item filtering
8743 a new `electric-pair-delete-pair' command.
8744 (electric-pair-delete-pair): New command.
8746 * progmodes/python.el (python-electric-pair-string-delimiter):
8747 Fix triple-quoting electricity. (Bug#17192)
8749 * elec-pair.el (electric-pair-post-self-insert-function):
8750 Don't skip whitespace when `electric-pair-text-pairs' and
8751 `electric-pair-pairs' were used. syntax to
8752 electric-pair--skip-whitespace. (Bug#17183)
8754 2014-04-07 Eli Zaretskii <eliz@gnu.org>
8756 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
8759 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
8761 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
8762 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
8764 2014-04-07 Glenn Morris <rgm@gnu.org>
8766 * help.el (view-lossage): Doc tweak.
8768 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
8770 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
8771 only when inhibit-x-resources is nil, and do that earlier in the
8772 function. Doc fix. (Bug#16694)
8773 (face-spec-choose): Accept additional optional argument, whose
8774 value is returned if no matching attributes are found.
8775 (face-spec-recalc): Use the new optional argument when calling
8776 face-spec-choose. (Bug#16378)
8777 (make-face-x-resource-internal): Do nothing when
8778 inhibit-x-resources is non-nil. Don't touch the default face if
8779 reversed video is given--as was done in previous versions of Emacs.
8780 (face-set-after-frame-default): Don't call
8781 make-face-x-resource-internal here. (Bug#16434)
8783 2014-04-07 Tassilo Horn <tsdh@gnu.org>
8785 * doc-view.el (doc-view-bookmark-jump):
8786 Use `bookmark-after-jump-hook' to jump to the right page after the
8787 buffer is shown in a window. (bug#16090)
8789 2014-04-07 Eli Zaretskii <eliz@gnu.org>
8791 * international/characters.el (mirroring): Fix last change:
8792 instead of loading uni-mirrored.el explicitly, do that implicitly
8793 by creating the 'mirroring' uniprop table. This avoids announcing
8794 the loading of uni-mirrored.el.
8796 2014-04-07 Glenn Morris <rgm@gnu.org>
8798 * files.el (buffer-stale--default-function)
8799 (buffer-stale-function, revert-buffer--default):
8800 * autorevert.el (auto-revert-buffers): Doc tweaks.
8802 2014-04-07 Eli Zaretskii <eliz@gnu.org>
8804 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
8806 2014-04-07 Glenn Morris <rgm@gnu.org>
8808 * files.el (make-backup-file-name-function)
8809 (make-backup-file-name, make-backup-file-name--default-function)
8810 (make-backup-file-name-1, find-backup-file-name)
8811 (revert-buffer-function, revert-buffer-insert-file-contents-function)
8812 (buffer-stale--default-function, buffer-stale-function)
8813 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
8814 (revert-buffer, revert-buffer--default)
8815 (revert-buffer-insert-file-contents--default-function):
8816 Doc fixes related to defaults no longer being nil.
8817 (make-backup-file-name-function): Bump :version.
8818 Restore nil as a valid but deprecated custom type.
8820 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
8822 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8823 Handle $' used as a variable (bug#17174).
8825 * progmodes/perl-mode.el (perl-indent-new-calculate):
8826 Handle forward-sexp failure (bug#16985).
8827 (perl-syntax-propertize-function): Add "foreach" and "for" statement
8828 modifiers introducing expressions (bug#17116).
8830 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
8834 2014-04-05 Leo Liu <sdl.web@gmail.com>
8836 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8837 Add define-compilation-mode.
8839 2014-04-04 João Távora <joaotavora@gmail.com>
8841 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
8842 parse from comment beginning.
8843 (electric-pair--balance-info): Fix typo in comment.
8844 (electric-pair--in-unterminated-string-p): Delete.
8845 (electric-pair--unbalanced-strings-p): New function.
8846 (electric-pair-string-bound-function): New var.
8847 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
8848 according to `electric-pair--in-unterminated-string-p'.
8850 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8852 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
8853 Move declaration before first use.
8854 (reftex-move-to-next-arg): Silence compiler warning.
8856 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
8858 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
8859 Use `window-total-width' instead of `window-width'.
8861 2014-04-03 Daniel Colascione <dancol@dancol.org>
8863 * subr.el (set-transient-map): Remove rms's workaround entirely;
8864 use new `suspicious-object' subr to mark our lambda for closer
8867 2014-04-02 Richard Stallman <rms@gnu.org>
8869 * subr.el (set-transient-map): Comment out previous change.
8871 2014-04-02 Glenn Morris <rgm@gnu.org>
8873 * menu-bar.el (menu-bar-file-menu):
8874 * vc/ediff.el (ediff-current-file):
8875 Update for revert-buffer-function no longer being nil by default.
8877 * simple.el (command-execute): Respect nil disabled-command-function.
8879 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8881 * simple.el (command-execute): Do not execute the command when it
8882 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
8884 2014-04-02 Juri Linkov <juri@jurta.org>
8886 * dired-aux.el (dired-compress-file): Don't use string-match-p
8887 because its match data is used afterwards.
8889 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
8891 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
8894 2014-04-02 João Távora <joaotavora@gmail.com>
8896 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
8897 Inhibit quote pairing if point-max is inside an unterminated string.
8898 (electric-pair--looking-at-unterminated-string-p):
8900 (electric-pair--in-unterminated-string-p): New function.
8902 2014-04-01 Daniel Colascione <dancol@dancol.org>
8904 * minibuffer.el (minibuffer-complete): Prevent assertion failure
8905 when trying to complete the prompt.
8907 2014-03-31 Leo Liu <sdl.web@gmail.com>
8909 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8910 Refactor out eldoc-documentation-function-default.
8911 (eldoc-documentation-function-default): New function.
8912 (eldoc-documentation-function): Change value.
8914 2014-03-31 Glenn Morris <rgm@gnu.org>
8916 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
8918 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
8919 (vhdl-compose-components-package, vhdl-compose-configuration):
8920 Abbreviate default-directory (missing from some previous upstream sync).
8922 2014-03-31 Reto Zimmermann <reto@gnu.org>
8924 Sync with upstream vhdl mode v3.35.2.
8925 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8926 (top-level): No longer require assoc.
8927 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
8928 New functions. Use throughout to replace aget etc.
8929 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
8930 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
8931 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
8932 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
8933 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
8934 except `vhdl-compiler'.
8935 (vhdl-error-regexp-add-emacs): Remove all other compilers,
8938 2014-03-31 Glenn Morris <rgm@gnu.org>
8940 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
8941 Revert 2014-03-26 merge goof; go back to using defalias.
8943 2014-03-30 Daniel Colascione <dancol@dancol.org>
8945 * comint.el (comint-send-input):
8946 Deactivate completion-in-region-mode before we send comint input.
8949 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
8952 2014-03-29 Glenn Morris <rgm@gnu.org>
8954 * textmodes/reftex.el: Manage most autoloads automatically.
8955 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
8956 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
8957 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
8958 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
8959 * textmodes/reftex-toc.el: Set generated-autoload-file,
8960 and add autoload cookies for reftex.el.
8961 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
8963 2014-03-28 Glenn Morris <rgm@gnu.org>
8965 * cus-start.el (report-emacs-bug-address): Set custom properties.
8966 * mail/emacsbug.el (report-emacs-bug-address):
8967 Variable is now defined in emacs.c.
8969 * mail/emacsbug.el (report-emacs-bug):
8970 Include system-configuration-features.
8972 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
8974 * simple.el (cycle-spacing): Never delete spaces on first run by
8975 default, but do so in a new 'fast mode and if there are already
8976 N spaces (the previous behavior).
8977 Compare N with its value in previous invocation so that changing
8978 prefix argument restarts `cycle-spacing' sequence.
8979 The idea is that with this change, binding M-SPC to
8980 `cycle-spacing' should not introduce any changes in behavior of
8981 the binding so long as users do not type M-SPC twice in a raw with
8982 the same prefix argument or lack thereof.
8984 2014-03-28 Glenn Morris <rgm@gnu.org>
8986 * faces.el (term-file-aliases): New variable.
8987 (tty-run-terminal-initialization): Respect term-file-aliases.
8988 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
8989 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
8990 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
8992 2014-03-27 Glenn Morris <rgm@gnu.org>
8994 * startup.el (inhibit-startup-hooks): Doc tweak.
8995 (normal-top-level): Simplify running of hooks.
8996 For window-setup-hook, respect inhibit-startup-hooks.
8997 (command-line-1): Don't set window-setup-hook to nil.
8999 Allow selective autoloading from obsolete/ directory.
9000 * Makefile.in (obsolete-autoloads): New rule.
9001 (autoloads): Run obsolete-autoloads.
9002 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
9003 * simple.el (iswitchb-mode): Remove hand-written autoloads.
9005 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
9007 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9008 Highlight special globals with font-lock-builtin-face. (Bug#17057)
9010 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9011 Don't propertize `?' or `!' as symbol constituent when after
9014 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
9016 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
9017 which is no longer needed and causes trouble in GTK builds (bug#17046).
9019 * emacs-lisp/package-x.el (package--archive-contents-from-url):
9020 Use url-insert-file-contents; package-handle-response no longer exists.
9022 2014-03-26 Daniel Colascione <dancol@dancol.org>
9024 * simple.el (process-menu-mode-map): New variable.
9025 (process-menu-delete-process): New command.
9027 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9029 * emacs-lisp/package.el: Fix bug#16733 (again).
9030 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
9031 (url-http-target-url): Remove unused declarations.
9032 (package-handle-response): Remove.
9033 (package--with-work-buffer): Use url-insert-file-contents and simplify.
9034 (package--download-one-archive): Use current-buffer instead of
9035 dynamic binding of `buffer'.
9036 (describe-package-1): Do not decode readme-string.
9038 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
9040 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
9042 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
9043 from 2014-03-07, it decreases performance unnecessarily. Let-bind
9044 `remote-file-name-inhibit-cache' to nil in the second pass.
9045 (tramp-find-executable): Do not call "which" on SunOS.
9046 (tramp-send-command-and-check): Fix docstring.
9047 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
9048 check whether source directory has set the sticky bit.
9050 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
9052 * simple.el (primitive-undo): Only process marker adjustments
9053 validated against their corresponding (TEXT . POS). Issue warning
9054 for lone marker adjustments in undo history. (Bug#16818)
9055 (undo-make-selective-list): Add marker adjustments to selective
9056 undo list based on whether their corresponding (TEXT . POS) is in
9057 the region. Remove variable adjusted-markers, which was unused
9058 and only non nil during undo-make-selective-list.
9059 (undo-elt-in-region): Return nil when passed a marker adjustment
9060 and explain in function doc.
9062 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9064 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
9066 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9068 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
9069 Match special global variables without curlies, too.
9070 (ruby-font-lock-keywords): Simplify the matcher for special global
9071 variables. Don't require a non-word character after the variable.
9074 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9076 * simple.el (redisplay-highlight-region-function): Increase priority of
9077 overlay to make sure boundaries are visible (bug#15899).
9079 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9081 * frameset.el (frameset--initial-params): Fix typo in parameter name.
9082 (frameset-restore): Compare display strings with equal.
9084 * frame.el (make-frame): Don't quote display name in error message,
9085 it is already a string.
9087 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9089 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
9092 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9094 * emacs-lisp/package.el (package--add-to-archive-contents):
9095 Include already installed and built-in packages in
9096 `package-archive-contents'.
9097 (package-install): Don't include already installed packages in the
9098 options during interactive invocation. (Bug#16762)
9099 (package-show-package-list): If the buffer is already displayed in
9100 another window, switch to that window.
9102 2014-03-26 Reto Zimmermann <reto@gnu.org>
9104 Sync with upstream vhdl mode v3.35.1.
9105 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9106 (vhdl-compiler-alist): Doc fix.
9107 (vhdl-goto-line): Remove.
9108 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
9109 (vhdl-mode) <paragraph-start>: Fix value.
9110 (vhdl-fix-statement-region): Not `for' in wait-statement.
9111 (vhdl-beautify-region): Also (un)tabify.
9112 (vhdl-get-visible-signals):
9113 Scan declarative part of generate statements.
9114 (vhdl-template-record): Fix indentation for record type declaration.
9115 (vhdl-expand-abbrev, vhdl-expand-paren):
9116 Revert to using fset again rather than defalias.
9117 (vhdl-scan-directory-contents): Tweak.
9118 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
9119 (vhdl-compose-components-package):
9120 Replace vhdl-goto-line with forward-line.
9121 (top-level): Tweak speedbar frame selection.
9122 (vhdl-generate-makefile-1): Support for compilers with no
9123 unit-to-file name mapping (create directory with dummy files).
9125 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
9127 Sync with upstream verilog-mode revision 702457d.
9128 * progmodes/verilog-mode.el (verilog-mode-version): Update.
9129 (create-lockfiles): Declare.
9130 (verilog-read-decls): Fix module header imports, bug709.
9131 Reported by Victor Lau.
9132 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
9133 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9134 interface-only modules, bug721. Reported by Dean Hoyt.
9136 2014-03-26 Glenn Morris <rgm@gnu.org>
9138 * obsolete/gulp.el: Move here from emacs-lisp/.
9140 * files.el (lock-buffer, unlock-buffer, file-locked-p):
9141 Remove fallback aliases, since they are always defined now.
9143 2014-03-24 Daniel Colascione <dancol@dancol.org>
9145 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
9146 instead of cl-loop search function.
9148 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9150 * calendar/parse-time.el (parse-time-iso8601-regexp)
9151 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
9154 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9156 * net/dns.el (network-interface-list): Define for XEmacs.
9158 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
9160 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
9161 the network interfaces changed.
9162 (dns-query): Use it to flush the data.
9164 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
9166 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
9168 2014-03-23 Daniel Colascione <dancol@dancol.org>
9170 Change subword-mode to use `find-word-boundary-function-table' and
9171 replace `capitalized-words-mode'. Also, convert to lexical binding.
9172 * progmodes/cap-words.el: Delete now-obsolete file.
9173 * progmodes/subword.el: Reimplement using
9174 `find-word-boundary-function-table'.
9175 (subword-mode-map): Hollow out.
9176 (capitalized-words-mode): Define as obsolete alias for
9178 (subword-mode, superword-mode): Tweak documentation to reflect new
9179 implementation; call `subword-setup-buffer'.
9180 (subword-forward, subword-capitalize): Add underscore to indicate
9182 (subword-find-word-boundary-function-table): New constant.
9183 (subword-empty-char-table): New constant.
9184 (subword-setup-buffer): New function.
9185 (subword-find-word-boundary): New function.
9187 2014-03-23 Daniel Colascione <dancol@dancol.org>
9189 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
9190 list to look for keyword arguments instead of `memq', fixing
9191 (Bug#3647) --- unfortunately, only for freshly-compiled code.
9192 Please make bootstrap.
9194 2014-03-22 Glenn Morris <rgm@gnu.org>
9196 * dired.el (dired-read-regexp): Make obsolete.
9197 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
9198 (dired-flag-files-regexp):
9199 * dired-aux.el (dired-mark-read-regexp):
9200 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
9202 * startup.el (fancy-startup-text):
9203 * help.el (describe-gnu-project): Visit online info about GNU project.
9205 * help-fns.el (help-fns--interactive-only): New function.
9206 (help-fns-describe-function-functions): Add the above function.
9207 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
9208 (next-line, previous-line): Remove hand-written interactive-only
9209 information from doc strings, it is auto-generated now.
9210 * bookmark.el (bookmark-write):
9211 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
9212 (epa-mail-import-keys): Mark interactive-only,
9213 and remove hand-written interactive-only information from doc strings.
9214 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
9215 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
9216 * files.el (not-modified):
9217 * simple.el (mark-whole-buffer): Mark interactive-only.
9219 * emacs-lisp/byte-run.el (defun-declarations-alist):
9220 Add interactive-only. Doc tweak.
9221 (macro-declarations-alist): Doc tweak.
9222 * subr.el (declare): Doc tweak (add xref to manual).
9223 * comint.el (comint-run):
9224 * files.el (insert-file-literally, insert-file):
9225 * replace.el (replace-string, replace-regexp):
9226 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9227 (delete-forward-char, goto-line, insert-buffer, next-line)
9228 (previous-line): Set interactive-only via declare.
9230 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
9232 * emacs-lisp/package.el (package-desc): Use the contents of the
9233 quoted form, not its cdr. (Bug#16873)
9235 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
9237 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
9238 benefit of doc.c; change parameter profile to match the X function.
9240 2014-03-22 Leo Liu <sdl.web@gmail.com>
9242 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
9243 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
9245 2014-03-21 Richard Stallman <rms@gnu.org>
9247 * battery.el (battery-linux-sysfs): Search for each field
9248 from the beginning of the buffer.
9250 * subr.el (set-transient-map): Clear out function and value
9251 of the temporary symbol when we're done with it.
9253 * mail/rmailsum.el (rmail-summary-delete-forward):
9254 Optimize case of reaching end and handling count.
9255 (rmail-summary-mark-deleted): Optimize when N is current msg.
9256 Don't create new summary line.
9257 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
9258 (rmail-summary-undelete-many): Rewrite for speed.
9259 (rmail-summary-msg-number): New function.
9261 * mail/rmail.el (rmail-delete-message): Update summary.
9262 (rmail-undelete-previous-message): Handle repeat count arg.
9263 (rmail-delete-backward, rmail-delete-forward): Likewise.
9265 2014-03-21 Daniel Colascione <dancol@dancol.org>
9267 * mail/emacsbug.el (report-emacs-bug): Include memory usage
9268 information in bug reports.
9270 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
9272 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
9273 and `tramp-copy-env'.
9275 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
9276 (tramp-maybe-open-connection): Handle `tramp-login-env'.
9278 2014-03-21 Glenn Morris <rgm@gnu.org>
9280 * electric.el (electric-indent-post-self-insert-function): Add doc.
9282 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
9284 * emacs-lisp/package.el (package-compute-transaction):
9285 Use `version-list-<=' to compare the requirement version against
9286 the version of package already to be installed. Update the error
9287 message. (Bug#16826)
9289 * progmodes/ruby-mode.el (ruby-smie-rules):
9290 Add indentation rule for ` @ '. (Bug#17050)
9292 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9294 * align.el (align-regexp): Remove superfluous backslash.
9296 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
9297 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
9298 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
9299 Fix docstring typos.
9300 (ffap-next): Use C-u in docstring.
9301 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
9302 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
9303 Remove superfluous backslashes.
9304 (ffap-string-at-point): Reflow docstring.
9306 * server.el (server-host): Reflow docstring.
9307 (server-unload-function): Fix docstring typo.
9308 (server-eval-at): Remove superfluous backslash.
9310 * skeleton.el (skeleton-insert): Remove superfluous backslash.
9311 (skeleton-insert): Doc fix.
9312 (skeleton-insert): Reflow docstring.
9314 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
9315 (tty-color-approximate, tty-color-by-index, tty-color-values)
9316 (tty-color-desc): Remove superfluous backslashes.
9318 2014-03-21 Glenn Morris <rgm@gnu.org>
9320 * cus-start.el (history-length): Bump :version.
9322 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9323 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9324 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9325 Don't set `make-backup-files'.
9327 * info.el (info--prettify-description): New function,
9328 to give info-finder descriptions consistent case, punctuation.
9329 (Info-finder-find-node): Use it. Sort packages.
9330 Refer to "description" rather than "commentary".
9332 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9334 * frameset.el (frameset--print-register): New function.
9335 (frameset-to-register): Use it.
9337 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
9339 * progmodes/hideif.el (hif-string-to-number): New function.
9340 (hif-tokenize): Use it to understand non-decimal floats.
9342 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
9344 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
9346 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9348 * electric.el (electric-newline-and-maybe-indent): New command.
9349 Bind it globally to C-j.
9350 (electric-indent-mode): Don't mess with the global map any more.
9351 Don't drop the post-self-insert-hook is some buffer is still using it
9354 * bindings.el (global-map): Remove C-j binding.
9356 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
9357 the docstring of functions advised before dumping (bug#16993).
9359 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
9361 * ps-print.el (ps-generate-postscript-with-faces):
9362 Explicitly deactivate the mark (bug#16866).
9363 * simple.el (deactivate-mark): Update region highlight.
9365 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
9367 * emacs-lisp/package.el (describe-package-1):
9368 Decode commentary (bug#16733).
9370 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
9372 * custom.el (defcustom): Doc fix: recommend avoiding destructive
9373 modification of the value argument of :set (bug#16755).
9375 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9377 * simple.el (newline-and-indent): Do autofill (bug#17031).
9379 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
9381 * newcomment.el (comment-normalize-vars): Only add escaping check
9382 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
9383 (comment-beginning): Use `narrow-to-region' instead of moving back
9385 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
9386 (comment-start-skip): Update the docstring.
9388 2014-03-18 Richard Stallman <rms@gnu.org>
9390 * dired.el (dired-display-file): Force use of other window.
9392 2014-03-18 Daniel Colascione <dancol@dancol.org>
9394 * startup.el (tty-handle-args): Remove debug message from 2007.
9396 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9398 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
9399 (advice--make-interactive-form): Use it to avoid (auto)loading function.
9400 (advice--make-1, advice-add, advice-remove):
9401 Remove braindead :advice-pending hack.
9403 2014-03-17 Glenn Morris <rgm@gnu.org>
9405 * calendar/calendar.el (calendar-generate-month): Apply weekend
9406 face to the right days; fixes 2013-08-06 change. (Bug#17028)
9408 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
9410 * net/tramp.el (tramp-action-out-of-band): Read pending output.
9411 (tramp-call-process): Trace also DESTINATION.
9413 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9414 Quote file names when they are local. Remove superfluous trace.
9416 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
9418 * newcomment.el (comment-beginning): If `comment-start-skip'
9419 doesn't match, move back one char and try again. (Bug#16971)
9421 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9422 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
9423 Set `comment-start-skip' to a simpler value that doesn't try to
9424 check if the semicolon is escaped (this is handled by
9425 `syntax-ppss' now). (Bug#16971)
9427 * progmodes/scheme.el (scheme-mode-variables): Same.
9429 2014-03-16 Martin Rudalics <rudalics@gmx.at>
9431 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
9432 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
9433 current (Bug#16816, Bug#17007).
9434 (with-current-buffer-window): New macro doing the same as
9435 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
9436 * help.el (help-print-return-message): Warn in doc-string to not
9437 use this in `with-help-window'.
9438 (describe-bindings-internal): Call `describe-buffer-bindings'
9439 from within help buffer. See Juanma's scenario in (Bug#16816).
9440 (with-help-window): Update doc-string.
9441 * dired.el (dired-mark-pop-up):
9442 * files.el (save-buffers-kill-emacs):
9443 * register.el (register-preview): Use `with-current-buffer-window'
9444 instead of `with-temp-buffer-window'.
9446 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
9448 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
9449 Implement inserting into current buffer, documented in their docstrings.
9450 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
9451 (rst-section-tree-point, rst-forward-section, rst-indent)
9452 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
9453 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
9454 (rst-font-lock-handle-adornment-pre-match-form)
9455 (rst-repeat-last-character): Reflow docstrings.
9456 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
9457 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
9458 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
9459 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
9460 Fix docstring typos.
9461 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
9462 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
9463 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
9465 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
9467 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
9468 for compatibility with other ports.
9469 (ns-initialize-window-system): Use it. It is set in term/common-win.el
9470 from the -xrm command line argument, but in the Nextstep port its value
9471 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
9473 * progmodes/python.el (defconst, python-syntax-count-quotes)
9474 (python-indent-region, python-indent-shift-right)
9475 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
9476 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
9477 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
9478 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
9479 (inferior-python-mode, python-shell-make-comint, run-python-internal)
9480 (python-shell-buffer-substring, python-shell-send-buffer)
9481 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
9482 (python-completion-complete-at-point, python-fill-docstring-style)
9483 (python-eldoc-function, python-imenu-format-item-label)
9484 (python-imenu-format-parent-item-label)
9485 (python-imenu-format-parent-item-jump-label)
9486 (python-imenu--build-tree, python-imenu-create-index)
9487 (python-imenu-create-flat-index): Fix docstring typos.
9488 (python-indent-context, python-shell-prompt-regexp, run-python):
9489 Remove superfluous backslashes.
9490 (python-indent-line, python-nav-beginning-of-defun)
9491 (python-shell-get-buffer, python-shell-get-process)
9492 (python-info-current-defun, python-info-current-line-comment-p)
9493 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
9494 (python-indent-post-self-insert-function, python-shell-send-file)
9495 (python-shell-completion-get-completions)
9496 (python-shell-completion-complete-or-indent)
9497 (python-eldoc--get-doc-at-point): Reflow docstrings.
9499 2014-03-14 Glenn Morris <rgm@gnu.org>
9501 * emacs-lisp/package.el (package-menu-mode-map):
9502 Replace use of obsolete function alias. Tweak menu item text.
9504 * info.el (Info-finder-find-node):
9505 Ignore the `emacs' metapackage. (Bug#10813)
9507 * finder.el (finder-list-matches): Include unversioned packages
9508 in the result of a keyword search.
9510 * finder.el (finder--builtins-descriptions): New constant.
9511 (finder-compile-keywords): Use finder--builtins-descriptions.
9513 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
9515 * simple.el (blink-matching-paren): Describe the new value,
9516 `jump', enabling the old behavior.
9517 (blink-matching-open): Use that value. (Bug#17008)
9519 2014-03-14 Glenn Morris <rgm@gnu.org>
9521 * finder.el (finder-no-scan-regexp): Add leim-list.
9522 (finder-compile-keywords):
9523 Don't skip files with same basename. (Bug#14010)
9524 * Makefile.in (setwins_finder): New, excluding leim.
9525 (finder-data): Use setwins_finder.
9527 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
9528 (help-function-arglist, help-make-usage): Move from here...
9529 * help.el (help-split-fundoc, help-add-fundoc-usage)
9530 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
9531 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
9533 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
9535 * net/socks.el (socks, socks-override-functions)
9536 (socks-find-services-entry):
9537 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
9538 (hif-find-ifdef-block):
9539 * progmodes/modula2.el (m2-indent): Fix docstring typos.
9541 * net/tls.el (tls-program): Reflow docstring.
9543 * progmodes/pascal.el (pascal-mode-abbrev-table)
9544 (pascal-imenu-generic-expression, pascal-auto-endcomments)
9545 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
9546 (pascal-outline-mode): Fix docstring typos.
9547 (pascal-mode): Let define-derived-mode document mode hook.
9548 (pascal-uncomment-area): Reflow.
9549 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
9551 * progmodes/opascal.el (opascal-compound-block-indent)
9552 (opascal-case-label-indent): Fix docstring typos.
9553 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
9555 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
9557 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9558 Fontify multiple adjacent negation chars. (Bug#17004)
9560 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
9562 * emacs-lisp/package.el (package--prepare-dependencies):
9563 Accept requirements without explicit version (bug#14941).
9565 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
9567 * register.el (register-separator, copy-to-register): Doc fixes.
9568 (register-preview-default): Remove unnecessary call to concat.
9570 * frameset.el (frameset-restore): When checking for a visible frame,
9571 use the action map instead of calling visible-frame-list.
9573 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
9575 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
9577 2014-03-12 Martin Rudalics <rudalics@gmx.at>
9579 * window.el (fit-frame-to-buffer): Get maximum width from
9580 display's width instead of height.
9582 2014-03-12 Glenn Morris <rgm@gnu.org>
9584 * desktop.el (desktop-restore-frames)
9585 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
9586 (desktop-restore-reuses-frames): Doc tweaks.
9588 * electric.el (electric-indent-mode): Doc fix.
9590 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
9592 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
9593 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
9594 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
9595 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
9596 (cvs-dired-use-hook): Fix docstring typos.
9597 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
9600 * vc/pcvs-defs.el (cvs-auto-remove-handled)
9601 (cvs-auto-remove-directories, cvs-default-ignore-marks)
9602 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
9603 (cvs-execute-single-dir): Fix docstring typos.
9605 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
9606 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
9608 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
9610 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
9611 Fix docstring typos.
9613 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
9615 * frameset.el (frameset--jump-to-register): Add autoload; it could be
9616 called from jump-to-register after unloading the frameset package.
9618 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
9620 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
9621 (bug#16975). Deactivate the mark before setting it to nil.
9622 (activate-mark): Do nothing if region is already active.
9624 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
9626 * frameset.el (frameset--target-display): Remove definition; declare.
9627 (frameset-save, frameset-restore): Let-bind frameset--target-display.
9629 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
9631 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
9632 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
9633 when the advice is pending.
9634 (advice-remove): Remove this marker when not needed any more.
9636 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
9638 * frameset.el: Separate options for reusing frames and cleaning up.
9639 (frameset--reuse-list): Remove definition; declare.
9640 (frameset--action-map): Declare.
9641 (frameset--find-frame-if): Doc fix.
9642 (frameset--restore-frame): Cache frame action.
9643 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
9644 how to clean up the frame list after restoring. Remove cleaning
9645 options from REUSE-FRAMES. Change all keyword values to symbols.
9646 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
9648 * desktop.el (desktop-restore-forces-onscreen)
9649 (desktop-restore-reuses-frames): Use non-keyword values.
9650 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
9652 2014-03-10 Glenn Morris <rgm@gnu.org>
9654 * files.el (find-file): Doc fix: update info node name.
9656 * emacs-lisp/advice.el (ad-add-advice, defadvice):
9657 Doc fix: remove references to deleted info nodes.
9659 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
9661 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
9662 Do not add nil to the environment, when there's no remote `locale'.
9663 (tramp-find-inline-encoding): Check, that the remote host has
9664 installed perl, before sending scripts.
9666 2014-03-10 Leo Liu <sdl.web@gmail.com>
9668 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
9669 Clear eldoc-last-message. (Bug#16920)
9671 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9673 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
9676 2014-03-09 Juri Linkov <juri@jurta.org>
9678 * ansi-color.el (ansi-color-names-vector): Copy default colors
9679 from `xterm-standard-colors' that look well on the default white
9680 background (and also on the black background) to avoid illegible
9681 color combinations like yellow-on-white and white-on-white.
9682 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
9684 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
9686 * frameset.el (frameset-restore): When no frame is visible, do not
9687 generate a list of frames, just make visible the selected one.
9689 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
9691 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
9692 it only contains the repository root. (Bug#16897)
9694 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
9696 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
9697 only when `remote-file-name-inhibit-cache' is nil.
9698 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
9700 2014-03-06 Martin Rudalics <rudalics@gmx.at>
9702 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
9704 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
9705 fit-frame-to-buffer variable. Fix doc-string.
9706 (fit-window-to-buffer): Set ONLY argument in call of
9707 fit-frame-to-buffer. Fix doc-string.
9709 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
9711 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
9712 (tramp-action-password): Clear password cache if needed.
9713 (tramp-read-passwd): Do not clear password cache.
9715 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
9716 cache unless it is the first password request.
9718 2014-03-06 Glenn Morris <rgm@gnu.org>
9720 * simple.el (newline): Doc tweak.
9722 * emacs-lisp/shadow.el (load-path-shadows-find):
9723 Ignore dir-locals. (Bug#12357)
9725 2014-03-05 Glenn Morris <rgm@gnu.org>
9727 * files.el (interpreter-mode-alist):
9728 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
9730 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
9732 * frameset.el (frameset--initial-params): Filter out null entries.
9734 2014-03-05 Martin Rudalics <rudalics@gmx.at>
9736 * window.el (window-min-height, window-min-width):
9737 Rewrite doc-strings.
9738 (window-body-size): Add PIXELWISE argument to make it consistent
9741 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
9743 * finder.el (finder-mode-map, finder-mode-syntax-table):
9744 Revert part of 2014-02-28 change.
9746 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
9748 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
9749 (eww-setup-buffer): Clear next/prev/etc more reliably.
9750 (eww-textarea-map): [tab] doesn't work on tty.
9751 Reported by Mario Lang.
9753 * net/shr.el (shr-map): Ditto.
9755 2014-03-04 Glenn Morris <rgm@gnu.org>
9757 * minibuffer.el (completion-hilit-commonality):
9758 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
9760 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
9762 * hilit-chg.el (hilit-chg-unload-function): New function.
9763 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
9764 (hilit-chg-map-changes): Prefer cardinal number to digit.
9765 (hilit-chg-display-changes): Reflow docstring.
9766 (highlight-changes-rotate-faces): Remove superfluous backslash.
9768 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
9770 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
9771 `tramp-send-command-and-check'.
9773 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
9775 * hexl.el (hexl-address-region, hexl-ascii-region)
9776 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
9777 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
9778 (hexl-forward-word, hexl-previous-line, hexl-next-line):
9779 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
9780 (hexl-mode): Doc fix.
9781 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
9782 (hexl-mode-ruler): Fix typos in docstrings.
9784 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
9785 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
9786 Remove superfluous backslashes.
9787 (strokes-last-stroke, strokes-global-map, strokes-mode):
9789 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
9790 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
9791 (strokes-distance-squared, strokes-global-set-stroke)
9792 (strokes-global-set-stroke-string): Doc fixes.
9793 (strokes-help): Fix typos; reflow docstring.
9795 2014-03-04 Martin Rudalics <rudalics@gmx.at>
9797 * window.el (window-in-direction): Fix doc-string.
9799 2014-03-04 Glenn Morris <rgm@gnu.org>
9801 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
9802 Explicit error if no grammar.
9803 (smie-config-save): Doc fix. Fix quote typo.
9805 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
9808 electric-indent-mode-hook if we obey electric-indent-mode.
9809 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
9810 decide whether we obey electric-indent-mode.
9811 (c-change-set-fl-decl-start, c-extend-after-change-region):
9813 (c-electric-indent-mode-hook): Assume we do want to obey
9814 electric-indent-mode.
9816 * electric.el (electric-indent-mode-has-been-called): Remove.
9817 (electric-indent-mode): Fix accordingly.
9819 * files.el (hack-local-variables): Mention file name in warning.
9821 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
9823 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
9825 * bindings.el: Add comment describing why C-d binds to `delete-char'.
9826 * simple.el (delete-forward-char): Mark as interactive-only.
9828 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
9830 * icomplete.el (icomplete-completions):
9831 Follow-up to 2014-03-01 change.
9833 * icomplete.el: Miscellaneous doc fixes.
9834 Use Icomplete everywhere instead of icomplete for consistency.
9835 (icomplete-max-delay-chars): Fix typo.
9836 (icomplete-mode): Use \[].
9837 (icomplete-tidy, icomplete-exhibit): Reflow.
9838 (icomplete-minibuffer-setup-hook, icomplete-completions):
9839 Remove superfluous backlashes.
9841 * ido.el: Miscellaneous doc fixes.
9842 Use Ido everywhere instead of ido or `ido' for consistency.
9843 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
9844 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
9845 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
9846 (ido-separator): Extract obsolescence info from docstring and declare
9847 with make-obsolete-variable.
9848 (ido-minibuffer-setup-hook): Simplify example.
9849 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
9850 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
9851 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
9852 (ido-everywhere): Reflow docstring.
9853 (ido-toggle-vc): Doc fix.
9854 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
9855 of long list of keybindings.
9857 2014-03-03 Glenn Morris <rgm@gnu.org>
9859 * frame.el (display-pixel-height, display-pixel-width)
9860 (display-mm-dimensions-alist, display-mm-height)
9861 (display-mm-width): Doc tweaks.
9863 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
9865 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
9866 case of undo in region.
9868 2014-03-02 Martin Rudalics <rudalics@gmx.at>
9870 * window.el (fit-window-to-buffer): Fix argument in window-size
9871 call when window is horizontally combined.
9873 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
9875 * icomplete.el (icomplete-completions): Use string-width.
9876 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9878 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
9880 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9881 Highlight regexp options. (Bug#16914)
9883 2014-03-01 Martin Rudalics <rudalics@gmx.at>
9885 * window.el (window--max-delta-1): Round down when calculating
9886 how many lines/columns we can get from a window.
9888 2014-03-01 Glenn Morris <rgm@gnu.org>
9890 * isearch.el (search-invisible): Doc fix.
9892 * minibuffer.el (completion-hilit-commonality):
9893 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
9894 * comint.el (comint-dynamic-list-completions): Doc fix.
9895 * comint.el (comint-dynamic-list-completions):
9896 * filecache.el (file-cache-minibuffer-complete):
9897 * tempo.el (tempo-display-completions):
9898 * eshell/em-hist.el (eshell-list-history):
9899 Replace use of obsolete argument of display-completion-list.
9901 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
9903 * icomplete.el (icomplete-completions):
9904 Revert back to using "..." when ?… cannot be displayed.
9906 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
9908 * finder.el (finder-unload-function): New function.
9910 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
9912 * dframe.el (dframe-detach):
9913 * find-dired.el (find-dired, find-name-dired):
9914 * finder.el (finder-mode-map, finder-mode-syntax-table)
9915 (finder-headmark, finder-select, finder-mouse-select):
9916 Fix docstring typos.
9918 2014-02-28 Martin Rudalics <rudalics@gmx.at>
9920 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
9921 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
9922 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9923 Fix doc-string based on a suggestion by Nicolas Richard
9924 <theonewiththeevillook@yahoo.fr>.
9925 * help.el (with-help-window): Fix doc-string.
9927 2014-02-28 Ivan Kanis <ivan@kanis.fr>
9929 * net/shr.el (shr-image-animate): New option.
9930 (shr-put-image): Respect shr-image-animate.
9932 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
9934 * net/tramp-adb.el (tramp-adb-parse-device-names):
9935 Use `accept-process-output'.
9936 (tramp-adb-handle-file-truename): Cache the localname only.
9937 (tramp-adb-handle-make-directory)
9938 (tramp-adb-handle-delete-directory): Flush file properties correctly.
9939 (tramp-adb-handle-set-file-modes): Do not raise an error when file
9940 modes cannot be changed.
9942 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
9943 file properties of symlinks.
9945 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
9947 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
9948 required/optional fields to match development biblatex. (Bug#16781)
9950 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
9952 * saveplace.el (toggle-save-place):
9953 Fix argument handling. (Bug#16673)
9955 2014-02-28 Glenn Morris <rgm@gnu.org>
9957 * minibuffer.el (completions-first-difference)
9958 (completions-common-part, completion-hilit-commonality): Doc fixes.
9960 2014-02-28 Karl Berry <karl@gnu.org>
9962 * info.el (Info-mode-map): Add H for describe-mode,
9963 to synchronize with standalone Info.
9965 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
9967 * progmodes/sql.el (sql-interactive-mode):
9968 Avoid setting global comint-input-ring-separator. (Bug#16814)
9970 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
9972 * net/dbus.el (dbus--init-bus): Declare function.
9973 (dbus-path-local, dbus-interface-local): New defconst.
9974 (dbus-init-bus): Use them.
9975 (dbus-return-values-table): Extend doc.
9976 (dbus-handle-bus-disconnect): Extend error message.
9978 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
9980 * subr.el (y-or-n-p): Fix double space issue in message.
9982 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
9984 * net/tramp.el (tramp-call-process): Improve trace message.
9985 (tramp-handle-insert-file-contents): Trace error case.
9987 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9988 <insert-directory>: Use `tramp-handle-insert-directory'.
9989 (tramp-adb-handle-insert-directory): Remove function.
9990 (tramp-adb-send-command-and-check): New defun, replacing
9991 `tramp-adb-command-exit-status'. Change all callees.
9992 (tramp-adb-handle-file-attributes)
9993 (tramp-adb-handle-directory-files-and-attributes): Use it.
9994 (tramp-adb-ls-output-name-less-p):
9995 Use `directory-listing-before-filename-regexp'.
9996 (tramp-adb-handle-delete-directory): Flush also file properties of
9997 the truename of directory.
9998 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
9999 (tramp-adb-handle-file-local-copy): Make the local copy readable.
10000 (tramp-adb-handle-write-region): Implement APPEND.
10001 (tramp-adb-handle-rename-file): Make it more robust. Flush file
10002 properties correctly.
10003 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
10004 variables. Check for connected devices only when needed.
10006 2014-02-27 Glenn Morris <rgm@gnu.org>
10008 * minibuffer.el (completion-table-dynamic)
10009 (completion-table-with-cache): Doc fixes.
10011 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
10012 (completing-read-multiple): Doc fixes.
10014 2014-02-27 Daniel Colascione <dancol@dancol.org>
10016 * minibuffer.el (completion--nth-completion): Fix indentation.
10018 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
10019 explicit tramp path is empty.
10021 2014-02-27 Glenn Morris <rgm@gnu.org>
10023 * emacs-lisp/crm.el (completing-read-multiple):
10024 Empower help-enable-auto-load.
10026 2014-02-26 Glenn Morris <rgm@gnu.org>
10028 * startup.el (command-line): Don't init the tty in daemon mode.
10030 Avoid calling tty-setup-hook twice, eg if a term file
10031 explicitly calls tty-run-terminal-initialization. (Bug#16859)
10032 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
10033 (tty-create-frame-with-faces): Use it.
10034 * startup.el (command-line): Pass run-hook argument
10035 to tty-run-terminal-initialization.
10037 * dired.el (dired-restore-desktop-buffer): Demote errors;
10038 eg in case a glob match fails. (Bug#16884)
10040 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
10042 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
10043 error from `read-from-string'. (Bug#16850)
10045 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
10046 result of `completing-read' in the interactive form. (Bug#16854)
10048 2014-02-25 Glenn Morris <rgm@gnu.org>
10050 * image.el (image-animate, image-animate-timeout):
10051 Stop animating images in dead buffers. (Bug#16878)
10053 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
10055 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
10057 * startup.el (term-setup-hook): Doc fix. Make obsolete.
10058 * term/sun.el (sun-raw-prefix-hooks):
10059 Use tty-setup-hook instead of term-setup-hook.
10060 (terminal-init-sun): Construct message from bytecomp plist.
10061 * term/wyse50.el (enable-arrow-keys): Doc fix.
10063 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10065 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
10066 Fix docstring typos.
10068 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
10070 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
10072 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10074 * minibuffer.el (completion--try-word-completion):
10075 Fix error when completing M-x commands (bug#16808).
10077 2014-02-24 Leo Liu <sdl.web@gmail.com>
10079 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
10081 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10083 * apropos.el (apropos-print): Avoid formatting error when
10084 apropos-do-all and apropos-compact-layout are both t.
10086 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10088 * apropos.el (apropos-property, apropos-all-words-regexp)
10089 (apropos-true-hit, apropos-variable, apropos-print):
10090 Fix docstring typos, and remove obsolete comment.
10092 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
10094 * net/tramp-sh.el (tramp-sh-handle-file-truename):
10095 Preserve trailing "/". (Bug#16851)
10097 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
10099 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
10100 after `=>' (bug#16811).
10101 (ruby-smie-rules): Handle the inconsistent second element of the
10102 list returned by `smie-indent--parent'.
10103 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
10106 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10108 * elec-pair.el (electric-pair-text-syntax-table)
10109 (electric-pair-syntax-info, electric-pair--syntax-ppss)
10110 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
10111 (electric-pair--looking-at-unterminated-string-p): Doc fix.
10112 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
10114 2014-02-22 Glenn Morris <rgm@gnu.org>
10116 * imenu.el (imenu--generic-function): Doc fix.
10118 * register.el (frame-configuration-to-register): Make obsolete.
10120 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
10122 * desktop.el (desktop-save-buffer-p): Do not fail when
10123 desktop-files-not-to-save is nil. Return t for true result
10126 2014-02-22 Daniel Colascione <dancol@dancol.org>
10128 * net/secrets.el (secrets-create-item, secrets-search-items):
10129 Check that attribute values are strings, avoiding the construction
10130 of invalid dbus messages.
10132 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10134 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
10135 defun-declarations-alist.
10137 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
10139 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
10142 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10144 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
10145 (whitespace-newline, whitespace-trailing, whitespace-line)
10146 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
10147 (whitespace-space-after-tab): Fix typo in docstrings.
10149 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
10151 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
10153 * electric.el (electric-indent-functions-without-reindent):
10154 Add `yaml-indent-line'.
10156 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10158 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
10159 It has done nothing for years; should be removed after the release.
10161 * simple.el (choose-completion): Fix docstring typo.
10162 (read-quoted-char-radix): Remove unneeded * in docstring.
10163 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
10164 Don't escape parentheses unnecessarily in docstrings.
10166 2014-02-21 Martin Rudalics <rudalics@gmx.at>
10168 Fix handling of window-min-height/-width (Bug#16738).
10169 * window.el (window--dump-window, window--dump-frame):
10171 (window--min-size-1): Account for window dividers.
10172 When window-resize-pixelwise is nil, delay rounding till after the
10173 sum of the window components has been calculated.
10174 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
10175 nil make sure at least one text line and two text columns remain
10177 (window-resize): Signal an error when window-resize-apply fails.
10178 (window--resize-child-windows): Fix calculation of by how many
10179 pixels a window can still be shrunk via window-new-normal.
10180 (adjust-window-trailing-edge): Call window--resizable with
10181 correct TRAIL argument.
10183 (with-temp-buffer-window): Don't evaluate BODY within
10184 with-current-buffer (Bug#16816).
10186 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
10188 * net/tramp.el (tramp-check-cached-permissions):
10189 Call `file-attributes' with `suffix' being a symbol but a string.
10191 2014-02-21 Daniel Colascione <dancol@dancol.org>
10193 * net/dbus.el (dbus-init-bus-1): Declare new subr.
10194 (dbus-init-bus): New function: call into dbus-init-bus-1
10195 and installs a handler for the disconnect signal.
10196 (dbus-call-method): Rewrite to look for result in cons.
10197 (dbus-call-method-handler): Store result in cons.
10198 (dbus-check-event): Recognize events with nil sender as valid.
10199 (dbus-handle-bus-disconnect): New function. React to bus
10200 disconnection signal by synthesizing dbus error for each
10201 pending synchronous or asynchronous call.
10202 (dbus-notice-synchronous-call-errors): New function.
10203 (dbus-handle-event): Raise errors directly only when `dbus-debug'
10204 is true, not all the time.
10206 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10208 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
10209 Remove obsolescence declarations, these variables do not exist anymore.
10211 * savehist.el (savehist-save-minibuffer-history)
10212 (savehist-additional-variables, savehist-file, savehist-mode-hook)
10213 (savehist-save-hook, savehist-coding-system, savehist-loaded)
10214 (savehist-load, savehist-install, savehist-autosave): Fix typos;
10215 mostly, refer to "Savehist mode" when talking about the mode,
10216 and not the function.
10218 * saveplace.el (save-place): Remove redundant info in docstring.
10219 (save-place-forget-unreadable-files, toggle-save-place)
10220 (save-place-forget-unreadable-files, save-place-dired-hook):
10221 Fix typos and remove unneeded backslashes.
10223 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
10225 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
10226 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
10228 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10229 <insert-directory>: Use `tramp-handle-insert-directory'.
10230 (tramp-gvfs-handle-insert-directory): Remove function.
10232 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10233 Call `tramp-handle-insert-directory'.
10235 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
10237 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
10238 before the start of buffer/region (bug#16799).
10240 2014-02-20 Glenn Morris <rgm@gnu.org>
10242 * isearch.el (search-invisible): Doc fix.
10244 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
10246 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
10249 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10251 * frameset.el (frameset-restore): Delay removing an old frame's
10252 duplicate id until the new frame has been correctly created.
10254 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
10256 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
10257 (tramp-check-cached-permissions): Call `file-attributes' if the
10260 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10261 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10263 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10264 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10265 (tramp-gvfs-maybe-open-connection): Set always connection
10266 properties, even if target is mounted already.
10268 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
10269 Set tramp-autoload cookie.
10270 (tramp-get-remote-touch): New defun.
10271 (tramp-sh-handle-set-file-times): Use it.
10272 (tramp-sh-handle-directory-files-and-attributes):
10273 Use `tramp-handle-directory-files-and-attributes' if neither stat
10274 nor perl are available on the remote host.
10276 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
10277 "/". Write long listing only when "l" belongs to the switches.
10279 * net/trampver.el: Update release number.
10281 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10283 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
10285 2014-02-19 Martin Rudalics <rudalics@gmx.at>
10287 * window.el (window-state-put): Allow WINDOW to refer to an
10288 internal window (Bug#16793).
10290 2014-02-19 Glenn Morris <rgm@gnu.org>
10292 * textmodes/remember.el: Move provide statement to end.
10293 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
10294 (remember-notes): Doc fixes.
10296 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10298 * delsel.el (delete-char): Restore incorrectly erased property
10301 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
10303 * frameset.el (frameset--restore-frame): When a frame is being reused
10304 and its root window is not alive, delete all the frame's windows before
10305 restoring the window state. This works around the issue in bug#16793.
10307 2014-02-18 Glenn Morris <rgm@gnu.org>
10309 * textmodes/remember.el (remember-data-directory)
10310 (remember-directory-file-name-format, remember-store-in-files)
10311 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
10312 (remember-notes-save-and-bury-buffer)
10313 (remember-notes--kill-buffer-query): Doc fixes.
10315 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
10317 2014-02-17 Alan Mackenzie <acm@muc.de>
10319 Connect electric-indent-mode up with CC Mode. Bug #15478.
10320 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
10321 to electric-indent-{,local-}-mode.
10322 (c-basic-common-init): Set electric-indent-inhibit.
10323 Initialise c-electric-flag from electric-indent-mode.
10324 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
10325 New hook functions which propagate electric-indent-mode to CC mode.
10327 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
10328 hit, toggle electric-indent-local-mode.
10330 * electric.el (electric-indent-mode-has-been-called):
10333 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
10335 * frameset.el (frameset-cfg-id): New function.
10336 (frameset--reuse-frame, frameset-restore): Use it.
10337 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
10339 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
10341 * ido.el (ido-file-internal): Remove unused var `d'.
10342 Use \` for to match BoS. Fit within 80n columns.
10344 2014-02-17 Daniel Colascione <dancol@dancol.org>
10346 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
10347 dbus-call-method check for completion using a busy-wait loop with
10350 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
10352 Sync with Tramp 2.2.9.
10354 * net/trampver.el: Update release number.
10356 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
10358 * ido.el (ido-file-internal): Don't add the name of an existing
10359 directory twice. (Bug#16747)
10361 2014-02-16 Glenn Morris <rgm@gnu.org>
10363 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
10364 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
10366 2014-02-15 Michael R. Mauger <michael@mauger.com>
10368 * progmodes/sql.el: Version 3.4
10369 (sql-oracle-options): New default value ("-L").
10370 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
10371 (sql-placeholders-filter): Correct placeholder pattern.
10372 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
10373 (sql-login-delay): New variable.
10374 (sql-product-interactive): Use it.
10376 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
10378 * frameset.el (frameset--jump-to-register): Check that buffer is live
10381 2014-02-15 Glenn Morris <rgm@gnu.org>
10383 * info.el (info-initialize): Revert 2014-01-10 change.
10385 2014-02-14 Glenn Morris <rgm@gnu.org>
10387 * replace.el (map-query-replace-regexp)
10388 (read-regexp-defaults-function, read-regexp): Doc fixes.
10390 * dired.el (dired-read-regexp):
10391 * faces.el (list-faces-display):
10392 * misearch.el (multi-isearch-read-matching-buffers)
10393 (multi-isearch-read-matching-files):
10394 * play/cookie1.el (cookie-apropos):
10395 * progmodes/grep.el (grep-read-regexp): Doc fixes.
10397 * textmodes/remember.el (remember): Use frameset-to-register
10398 rather than frame-configuration-to-register.
10400 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
10402 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
10403 incorrect keybinding.
10405 2014-02-13 Daniel Colascione <dancol@dancol.org>
10407 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
10408 when adding overlays so that line numbers from compiler match line
10411 2014-02-13 Glenn Morris <rgm@gnu.org>
10413 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
10415 * jit-lock.el (jit-lock-mode): Doc fix.
10417 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
10419 * apropos.el (apropos-read-pattern): When the user passes an empty
10420 string, give a more helpful error message than "Wrong type
10421 argument: stringp, nil".
10423 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
10425 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
10427 2014-02-13 Glenn Morris <rgm@gnu.org>
10429 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
10431 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10433 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
10434 shift-select commands.
10436 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
10438 * progmodes/js.el (js-indent-line): Don't widen.
10439 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
10441 2014-02-12 Glenn Morris <rgm@gnu.org>
10443 * icomplete.el (icomplete): Add info-link to defgroup.
10444 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
10445 (icomplete-minibuffer-map, icomplete-mode)
10446 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
10448 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
10449 (package-menu-filter): Rename from package-menu-filter-interactive.
10452 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
10454 * frameset.el (frameset--jump-to-register): Select the required
10455 window and buffer before restoring position (bug#16696).
10457 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
10459 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
10461 2014-02-10 Glenn Morris <rgm@gnu.org>
10463 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
10465 2014-02-10 Eli Zaretskii <eliz@gnu.org>
10467 * w32-common-fns.el (x-get-selection): Doc fix.
10468 * select.el (x-get-selection): Doc fix. (Bug#15109)
10470 * face-remap.el (face-remap-add-relative)
10471 (face-remap-remove-relative, face-remap-reset-base)
10472 (face-remap-set-base): Call force-mode-line-update to redisplay
10473 the current buffer due to potential change in faces. (Bug#16709)
10475 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
10477 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
10478 script more robustly.
10480 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10482 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
10484 * simple.el (choose-completion): Doc fix (bug#14160).
10486 * subr.el (event-start): Say what a nil EVENT value means.
10488 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
10491 * progmodes/grep.el (find-program): Doc fix (bug#14289).
10493 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
10495 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
10497 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
10498 predicate function (bug#15455).
10500 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
10502 * ielm.el (inferior-emacs-lisp-mode): Instead of
10503 `comment-use-global-state', set `comment-use-syntax'.
10505 2014-02-10 Glenn Morris <rgm@gnu.org>
10507 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
10509 2014-02-09 Alan Mackenzie <acm@muc.de>
10511 Fix c-invalidate-state-cache on narrowed buffers.
10512 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
10513 Widen when setting and clearing the CPP delimiter properties.
10515 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
10517 * help.el (describe-bindings): Doc fix (bug#9888).
10519 * files.el (save-buffer): Use ARG as the parameter name for
10520 consistency (bug#10346).
10521 (save-buffer): Clarify the 0 argument (bug#10346).
10523 * cus-edit.el (customize-apropos): Fix error string.
10524 (custom-buffer-create): Doc fix (bug#11122).
10525 (custom-sort-items): Doc fix (bug#11121).
10527 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
10529 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
10530 (icomplete-simple-completing-p): Mention the previous variable.
10532 * font-lock.el (font-lock-value-in-major-mode): Clarify the
10533 meaning of the parameter (bug#12282).
10535 * files.el (find-file-noselect): Clarify prompt when changing
10536 readedness (bug#13261).
10537 (locate-file): Suffixes aren't returned, so don't say that they
10539 (backup-inhibited): Doc clarification (bug#12525).
10541 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
10542 before we actually start to delete things (bug#16331).
10544 * subr.el (event-start): Doc fix (bug#14228).
10545 (event-end): Ditto.
10547 2014-02-09 Glenn Morris <rgm@gnu.org>
10549 * emacs-lisp/warnings.el (lwarn):
10550 Empower help-enable-auto-load. (Bug#15940)
10552 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10554 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
10557 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
10559 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10560 Insert output at end of buffer. (Bug#16120)
10562 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
10564 * simple.el (choose-completion-string-functions): Document new
10565 calling convention (bug#14153).
10566 (execute-extended-command): Clarify doc string (bug#13373).
10568 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
10570 * find-dired.el (find-name-dired): Doc fix (bug#14290).
10571 (find-grep-dired): Doc fix (bug#14288).
10573 2014-02-08 Juri Linkov <juri@jurta.org>
10575 * isearch.el (isearch-quote-char): Check character validity
10576 like in `quoted-insert' (bug#16677).
10578 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
10580 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
10582 * isearch.el (isearch-hide-immediately): Doc clarification
10585 * simple.el (line-move): Document utility function used many
10586 places in the Emacs sources (bug#14843).
10588 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
10589 (dired-prev-marked-file): Doc fix (bug#14855).
10590 (dired-up-directory): Doc fix (bug#14848).
10592 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
10594 * files.el (file-relative-name): Doc fix (bug#15159).
10596 * fringe.el (fringe-styles): Doc fix (bug#15239).
10598 * isearch.el (isearch-filter-predicate): Documentation typo fix
10601 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
10603 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
10605 * replace.el (replace-match-maybe-edit): Doc clarification
10608 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
10610 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
10612 2014-02-08 Glenn Morris <rgm@gnu.org>
10614 * help-fns.el (describe-variable):
10615 Check {file,dir}-local-variables-alist, and buffer-file-name,
10616 in the correct buffer.
10618 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
10620 * help-fns.el (describe-variable): Fix the case where
10621 a value is directory-local with no dir-locals file. (Bug#16635)
10623 2014-02-08 Glenn Morris <rgm@gnu.org>
10625 * abbrev.el (edit-abbrevs-mode):
10626 Derive from fundamental-mode. (Bug#16682)
10628 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
10630 * simple.el (quoted-insert): Check character validity (bug#16677).
10632 2014-02-07 Juri Linkov <juri@jurta.org>
10634 * desktop.el (desktop-read): Claim the lock when the owner is not
10635 the current process. (Bug#16157)
10637 2014-02-07 Juri Linkov <juri@jurta.org>
10639 * desktop.el (desktop-buffers-not-to-save): Change default from nil
10640 to "\\` ". (Bug#16651)
10642 2014-02-07 Juri Linkov <juri@jurta.org>
10644 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
10645 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
10646 (desktop-auto-save-cancel-timer): New function with some code from
10647 `desktop-auto-save-set-timer'.
10648 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
10649 Instead of setting `desktop-save-mode' to nil, call
10650 `desktop-save-mode' with arg 0. (Bug#16630)
10652 2014-02-07 Glenn Morris <rgm@gnu.org>
10654 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
10655 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
10656 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
10658 * obsolete/iswitchb.el: Move to obsolete/.
10659 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
10660 since obsolete/ is not scanned for autoloads.
10661 * emacs-lisp/authors.el (authors-valid-file-names):
10664 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
10665 Disable now non-functional find-file-hook.
10667 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
10669 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
10670 instead of ";" in order to avoid additional prompts. Let heredoc
10671 scripts read from tty. (Bug#16582)
10672 (tramp-send-command): No special handling of heredocs, it isn't
10675 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
10677 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
10678 with a space (bug#16664). Limit the symbols considered to the ones
10679 that are bound or fbound (bug#16646).
10681 2014-02-06 Glenn Morris <rgm@gnu.org>
10683 * epa.el (epa-mail-aliases): Doc fix.
10685 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
10687 * emacs-lisp/lisp.el (lisp-completion-at-point):
10688 Use `completion-table-merge' instead of `completion-table-in-turn'
10691 * minibuffer.el (completion-table-merge): New function.
10693 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
10695 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
10696 (tramp-sh-handle-set-file-acl)
10697 (tramp-sh-handle-start-file-process)
10698 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
10699 (tramp-find-executable, tramp-send-command): Use it.
10701 2014-02-05 Glenn Morris <rgm@gnu.org>
10703 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
10705 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
10707 * progmodes/python.el (python-shell-send-string)
10708 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
10710 2014-02-04 Anders Lindgren <andlind@gmail.com>
10712 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
10713 the names (bug#16620).
10715 2014-02-03 Martin Rudalics <rudalics@gmx.at>
10717 * faces.el (window-divider): New default value. Rewrite doc-string.
10718 (window-divider-first-pixel, window-divider-last-pixel): New faces.
10720 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
10722 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
10723 `protected' and `public' can also be called without arguments.
10725 2014-02-03 Glenn Morris <rgm@gnu.org>
10727 * register.el (window-configuration-to-register)
10728 (frame-configuration-to-register): Unadvertise unused argument.
10729 * frameset.el (frameset-to-register): Remove unused argument.
10731 * frameset.el (frameset-to-register):
10732 * kmacro.el (kmacro-to-register):
10733 * register.el (increment-register):
10734 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
10735 (calc-append-to-register, calc-prepend-to-register):
10736 * play/gametree.el (gametree-layout-to-register)
10737 (gametree-apply-register-layout):
10738 * textmodes/picture.el (picture-clear-rectangle-to-register)
10739 (picture-yank-rectangle-from-register):
10740 * vc/emerge.el (emerge-combine-versions-register):
10741 Use register-read-with-preview to read registers.
10743 2014-02-03 João Távora <joaotavora@gmail.com>
10745 * elec-pair.el (electric-pair-backward-delete-char): Don't error
10746 when at beginning of (possibly narrowed) buffer.
10748 2014-02-02 Daniel Colascione <dancol@dancol.org>
10750 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
10751 Also try to display local help from just before point.
10753 2014-02-02 Alan Mackenzie <acm@muc.de>
10755 c-parse-state. Don't "append-lower-brace-pair" in certain
10756 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
10757 recognised as a comment.
10759 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
10760 as well as normal comment starter.
10761 (c-parse-state-get-strategy): Extra return possibility
10763 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
10764 return value list to indicate replacement of a brace-pair cons
10766 (c-parse-state-1): With 'back-and-forward, only call
10767 c-append-lower-brace-pair-to state-cache when cons-separated.
10769 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
10771 * term/ns-win.el (ns-suspend-error): New function.
10772 (ns-initialize-window-system): Add ns-suspend-error to
10773 suspend-hook (Bug#16612).
10775 2014-02-02 Daniel Colascione <dancol@dancol.org>
10777 * progmodes/cc-defs.el (c-find-assignment-for-mode):
10778 Make loading cc-mode silent.
10780 2014-02-02 Daniel Colascione <dancol@dancol.org>
10782 * comint.el (comint-prompt-read-only): Change doc to suggest
10785 2014-02-02 Glenn Morris <rgm@gnu.org>
10787 * register.el (register-read-with-preview, point-to-register)
10788 (window-configuration-to-register, frame-configuration-to-register)
10789 (jump-to-register, number-to-register, view-register, insert-register)
10790 (copy-to-register, append-to-register, prepend-to-register)
10791 (copy-rectangle-to-register): Doc fixes.
10793 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
10795 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
10796 * emacs-lisp/find-func.el (find-function-C-source): Idem.
10797 * emacs-lisp/nadvice.el (advice--cd*r): New function.
10798 * help-fns.el (describe-function-1): Use it.
10800 2014-02-02 Glenn Morris <rgm@gnu.org>
10802 * register.el (register-preview-default): New function,
10803 split from register-preview.
10804 (register-preview-function): Rename from register-preview-functions,
10805 make it not a hook.
10806 (register-preview): Use register-preview-function.
10807 (register-read-with-preview): Error on non-character event. (Bug#16595)
10809 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
10811 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
10812 `:' before binary operators (bug#16609). Don't check for `:'
10813 before `[' and `(', or their syntax status. A percent literal
10814 can't end with either.
10815 (ruby-font-lock-keywords): For built-ins that require arguments,
10816 check that they're followed by something that looks like argument
10819 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
10821 * subr.el (butlast): Document what an omitted N means (bug#13437).
10824 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
10826 * net/shr.el (shr-generic): Make into a defsubst to make the stack
10827 depth shallower (bug#16587).
10828 (shr-tag-svg): Respect `shr-inhibit-images'.
10829 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
10831 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
10833 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
10834 (ruby-smie-grammar): Make "." right-associative. Make its priority
10835 lower than the ternary and all binary operators.
10836 (ruby-smie-rules): Indent "(" relative to the first non-"."
10837 parent, or the first "." parent at indentation.
10838 Use `ruby-align-chained-calls' for indentation of "." tokens.
10841 2014-01-31 Juri Linkov <juri@jurta.org>
10843 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
10844 from `make-hash-table'.
10846 * textmodes/ispell.el (ispell-init-process): Change message format
10847 to be consistent with other messages.
10849 2014-01-31 Glenn Morris <rgm@gnu.org>
10851 * delsel.el (delete-selection-mode): Doc fix.
10853 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
10854 (trace-function-background): Doc fixes.
10856 * ido.el (ido-use-virtual-buffers): Doc fix.
10857 Reset :version, since the default value has not changed.
10859 * register.el (register-preview-delay, register-read-with-preview):
10862 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
10863 do not mess with mail-buffer position (fixes 2009-11-03 change).
10864 * progmodes/cc-mode.el (c-submit-bug-report):
10865 Check auto-fill-mode is bound. (Bug#16592)
10867 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
10869 * startup.el (fancy-splash-image-file): New function,
10870 split from fancy-splash-head.
10871 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
10872 so that we are both using the same image. (Bug#16574)
10874 2014-01-30 Glenn Morris <rgm@gnu.org>
10876 * simple.el (eval-expression): Doc fix.
10878 * hexl.el (hexl-mode-hook):
10879 * ielm.el (ielm-mode-hook):
10880 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
10881 (lisp-interaction-mode-hook):
10882 * progmodes/cfengine.el (cfengine3-documentation-function):
10883 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
10885 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
10887 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
10888 is a symbol (bug#16584).
10890 2014-01-30 Glenn Morris <rgm@gnu.org>
10892 * help.el (help-for-help-internal): Add "P" to text.
10894 2014-01-29 Glenn Morris <rgm@gnu.org>
10896 * simple.el (just-one-space, cycle-spacing): Doc fixes.
10898 2014-01-28 Martin Rudalics <rudalics@gmx.at>
10900 * window.el (fit-frame-to-buffer): Fix calculations for margins and
10901 height constraints.
10903 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
10905 * progmodes/hideif.el: Extend to full CPP expression syntax.
10906 (hif-token-alist): Add missing tokens.
10907 (hif-token-regexp): Add support for float/octal/hex immediates.
10908 (hif-string-literal-regexp): New const.
10909 (hif-tokenize): Recognize strings and float/octal/hex immediates.
10910 (hif-exprlist): New function.
10911 (hif-parse-if-exp): Use it.
10912 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
10913 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
10914 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
10915 (hif-logxor, hif-comma): New functions.
10917 2014-01-28 Glenn Morris <rgm@gnu.org>
10919 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
10921 * indent.el (tab-stop-list): Doc fix. Add :version.
10923 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
10924 (cvs-append-to-ignore): Add compatibility alias.
10926 2014-01-27 Glenn Morris <rgm@gnu.org>
10928 * dired.el (dired-hide-details-mode): Don't autoload it,
10929 since it cannot be used outside Dired buffers anyway.
10931 * emulation/cua-base.el (cua-mode): Doc fix.
10933 * dired.el (dired-hide-details-hide-symlink-targets)
10934 (dired-hide-details-hide-information-lines)
10935 (dired-hide-details-mode): Doc fixes.
10937 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
10938 * strokes.el (strokes-file): Doc fix. Bump :version.
10939 (strokes-help): Doc fix.
10940 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
10941 * emulation/viper.el (viper): Doc fix for custom group.
10942 (top-level): Remove oh-so-no-longer-relevant text about vip.
10943 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
10945 * ido.el (ido-save-directory-list-file):
10946 * saveplace.el (save-place-file):
10947 * calendar/timeclock.el (timeclock-file):
10948 * net/quickurl.el (quickurl-url-file):
10949 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10950 * progmodes/idlwave.el (idlwave-config-directory):
10951 * textmodes/remember.el (remember-data-file):
10954 2014-01-26 Glenn Morris <rgm@gnu.org>
10956 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
10957 Doc fix. Make obsolete.
10958 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
10960 * sort.el (delete-duplicate-lines): Doc fix.
10962 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10964 * progmodes/ada-mode.el (ada):
10965 * woman.el (woman): Link to info manual and Commentary section.
10967 * progmodes/flymake.el (flymake):
10968 * nxml/nxml-mode.el (nxml):
10969 * net/eww.el (eww):
10970 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
10971 * htmlfontify.el (htmlfontify):
10974 * ido.el (ido): Link to info manual.
10976 2014-01-25 Leo Liu <sdl.web@gmail.com>
10978 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
10980 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
10982 * net/shr.el (shr-tag-img): Prefer the title over the alt text
10985 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
10987 * net/eww.el (eww-download-callback):
10988 Fix reference to eww-download-directory.
10990 * emacs-lisp/bytecomp.el (byte-compile-file):
10991 Remove unused local variable `file-name'.
10993 2014-01-24 Glenn Morris <rgm@gnu.org>
10995 * woman.el (woman-default-faces, woman-monochrome-faces):
10996 Fix obsolescence specification.
10998 * subr.el (with-demoted-errors): Doc fix.
11000 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
11002 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
11003 (cl--macroexp-fboundp): New function.
11004 (cl--make-type-test): Use it.
11006 2014-01-23 Glenn Morris <rgm@gnu.org>
11008 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
11009 * simple.el (eval-expression): Doc fixes.
11011 2014-01-22 Glenn Morris <rgm@gnu.org>
11013 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
11015 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11017 * emacs-lisp/package.el: Write files silently.
11018 (package-autoload-ensure-default-file, package--write-file-no-coding)
11019 (package-generate-description-file, package--download-one-archive)
11020 (package-install-from-archive): Tell `write-region' to stay quiet.
11021 (package-menu-mode, package-menu--print-info): Omit the Archive column
11022 if there's only one archive.
11023 (package-all-keywords, package--has-keyword-p): Remove dead code.
11025 2014-01-22 Glenn Morris <rgm@gnu.org>
11027 * version.el (emacs-bzr-version-bzr): Fix typo.
11029 * version.el (emacs-repository-get-version):
11030 Check either .bzr or .git, but not both.
11031 Make the git case actually use the DIR argument, and return nil
11032 rather than the empty string.
11033 Avoid error if .git exists but the git executable is not found.
11035 2014-01-22 Martin Rudalics <rudalics@gmx.at>
11037 Fixes in window size functions around Bug#16430 and Bug#16470.
11038 * window.el (window-total-size, window-size): New argument ROUND.
11039 (window--min-delta-1, window-min-delta, window--max-delta-1):
11040 Be more conservative when calculating the numbers of lines or
11041 columns a window can shrink (Bug#16430).
11042 (fit-window-to-buffer): Simplify code.
11043 * term.el (term-window-width): Call window-body-width again.
11045 2014-01-22 Glenn Morris <rgm@gnu.org>
11047 * image.el (image-format-suffixes): Doc fix.
11049 * international/quail.el (quail-define-package): Doc fix.
11051 * emacs-lisp/authors.el (authors-valid-file-names)
11052 (authors-renamed-files-alist): Additions.
11054 * vc/vc-git.el (vc-git-print-log): Remove --follow;
11055 reverts 2014-01-09 change. (Bug#16422)
11057 * calc/calc-embed.el (thing-at-point-looking-at):
11058 * emacs-lisp/map-ynp.el (x-popup-dialog):
11059 * obsolete/lmenu.el (x-popup-dialog):
11060 * emacs-lisp/package.el (url-recreate-url):
11061 * mail/mailclient.el (clipboard-kill-ring-save):
11062 * subr.el (x-popup-dialog): Update declaration.
11063 * mail/rmail.el (rmail-mime-message-p):
11064 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
11066 2014-01-21 Daniel Colascione <dancol@dancol.org>
11068 * progmodes/sh-script.el (sh--inside-noncommand-expression):
11069 Correctly detect when we're inside an arithmetic expansion form
11070 containing nested parenthesis.
11071 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
11072 to detect cases where we shouldn't expand "<<" to a heredoc
11075 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
11077 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
11078 (eldoc--message-command-p): New function.
11079 (eldoc-display-message-p): Use it.
11080 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
11081 message is not automatically erased for us.
11082 (eldoc-print-current-symbol-info): Erase previous message, if any.
11084 2014-01-21 Tassilo Horn <tsdh@gnu.org>
11086 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
11087 specify it's an interactive function.
11089 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
11090 Fix regex used for scanning for citation keys which failed for
11091 citations with optional arguments.
11093 2014-01-21 Leo Liu <sdl.web@gmail.com>
11095 * simple.el (read--expression): Don't enable eldoc-mode.
11097 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
11099 * simple.el (move-beginning-of-line): Make sure we don't move forward
11102 2014-01-20 Juri Linkov <juri@jurta.org>
11104 * saveplace.el (toggle-save-place, save-place-to-alist)
11105 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
11106 'dired-mode) before checking for dired-directory. (Bug#16477)
11108 2014-01-20 Juri Linkov <juri@jurta.org>
11110 * indent.el (indent-line-to): Use backward-to-indentation
11111 instead of back-to-indentation. (Bug#16461)
11113 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
11115 Revert some of the CANNOT_DUMP fix (Bug#16494).
11116 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
11117 but fixing this can wait until after the next release.
11118 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
11120 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
11122 * eshell/esh-mode.el (eshell-password-prompt-regexp):
11123 Use `password-word-equivalents'.
11124 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
11125 to t. (Bug#5664, Bug#13124)
11127 2014-01-19 Alan Mackenzie <acm@muc.de>
11129 Bind open-paren-in-column-0-is-defun-start to nil at some entry
11131 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
11132 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
11133 * progmodes/cc-mode.el (c-before-change, c-after-change)
11134 (c-font-lock-fontify-region): Bind it here.
11136 2014-01-19 Martin Rudalics <rudalics@gmx.at>
11138 * term.el (term-window-width): Call window-text-width instead of
11139 window-width (Bug#16470).
11141 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
11143 * simple.el (password-word-equivalents): Remove duplicates.
11144 Sort, to make this easier next time.
11145 Downcase. Omit ": " after "jelszó".
11147 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
11149 * term/common-win.el (saved-region-selection): Defvar it.
11150 (x-select-text): Set saved-region-selection (Bug#16382).
11152 2014-01-18 Glenn Morris <rgm@gnu.org>
11154 * emacs-lisp/authors.el (authors-aliases)
11155 (authors-renamed-files-alist): Add some entries.
11157 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
11159 * net/tramp.el (tramp-password-prompt-regexp):
11160 Use `password-word-equivalents' if available.
11161 (tramp-action-password, tramp-process-one-action)
11162 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
11164 2014-01-17 Chong Yidong <cyd@gnu.org>
11166 * simple.el (password-word-equivalents): New defcustom.
11167 * comint.el (comint-password-prompt-regexp): Use it. Bump version
11169 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
11172 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
11174 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
11175 (ruby-align-to-stmt-keywords): Change the default value.
11176 Use `ruby-alignable-keywords' to generate the possible customization
11178 (ruby-smie-rules): Instead of using a hardcoded list of alignable
11179 keywords, check against the value of `ruby-alignable-keywords'
11180 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
11182 2014-01-17 Glenn Morris <rgm@gnu.org>
11184 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
11186 Make M-x authors return zero *Authors Errors* from current logs.
11187 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
11188 (authors-ignored-files): Add some entries, remove others.
11189 (authors-ambiguous-files, authors-valid-file-names):
11191 (authors-renamed-files-alist): Add, remove, and adjust entries.
11192 (authors-renamed-files-regexps): Add some entries.
11193 Remove some very broad ones. Make some entries `lax'.
11194 (authors-lax-changelogs): New constant.
11195 (authors-disambiguate-file-name): Treat top-level specially.
11196 (authors-lax-changelog-p): New function.
11197 (authors-canonical-file-name): Check file as written against
11198 authors-valid-file-names. Do not special-case etc/.
11199 Handle `lax' logs and authors-renamed-files-regexps elements.
11201 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
11203 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
11204 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
11207 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11209 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
11210 Assume we're already in the proper buffer.
11211 Inspired by Anders Lindgren <andlind@gmail.com>.
11212 (follow-post-command-hook): Call it from the right buffer.
11213 (follow-comint-scroll-to-bottom): Adjust call.
11214 (follow-all-followers): Use get-buffer-window-list.
11216 2014-01-15 Daniel Colascione <dancol@dancol.org>
11218 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
11219 `buffer-file-name' in interactive-form so that we don't leave
11220 pathless file names in `file-name-history'.
11222 2014-01-15 Juri Linkov <juri@jurta.org>
11224 * indent.el (indent-rigidly): Set deactivate-mark to nil
11225 in transient indentation mode. (Bug#16438)
11227 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
11229 * emacs-lisp/package.el (package-desc-keywords): New function
11231 (describe-package-1, package-all-keywords)
11232 (package--has-keyword-p): Use it.
11234 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11236 * simple.el (define-alternatives): When creating the
11237 COMMAND-alternatives variable, assign COMMAND as its definition
11238 name so that `describe-variable' can relocate it.
11240 2014-01-14 Matthew Leach <matthew@mattleach.net>
11242 * font-lock.el (font-lock-keywords): Fix typo in docstring
11245 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11247 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
11248 line instead of wrongly reset `add-coment' (bug#13577).
11250 2014-01-14 Daiki Ueno <ueno@gnu.org>
11252 * epa-file.el (epa-file-write-region): Encode the region according
11253 to `buffer-file-format'. Problem reported at:
11254 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
11256 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
11258 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
11259 so it applies in the right buffer (bug#16410).
11261 2014-01-13 Daniel Colascione <dancol@dancol.org>
11263 * textmodes/rst.el (rst-define-key): Provide deprecated
11264 keybindings through named functions instead of anonymous ones so
11265 that "??" doesn't appear in describe-mode output.
11267 2014-01-13 Bastien Guerry <bzg@gnu.org>
11269 * simple.el (define-alternatives): Call the selected command
11270 interactively. When setting `COMMAND--implementation' for the
11271 first time, tell the user how to chose another implementation.
11272 Enhance the docstring.
11274 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11276 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
11277 (log-edit--match-first-line): New function.
11278 (log-edit-font-lock-keywords): Use it.
11279 (log-edit-mode): Make jit-lock-defer-multiline work.
11281 2014-01-13 Bastien Guerry <bzg@gnu.org>
11283 * rect.el (rectangle-mark-mode): When the region is not active,
11284 display a message saying that the mark as been set and that
11285 rectangle mode is in use.
11286 (rectangle--highlight-for-redisplay): Only put an overlay with a
11287 visible vertical bar when (display-graphic-p) is non-nil.
11288 This partially fixes Bug#16403.
11290 2014-01-13 Juri Linkov <juri@jurta.org>
11292 * info.el (Info-find-file): Go to DIR before displaying the error
11293 about a nonexistent file if no previous Info file is visited.
11294 Use `user-error' instead of `error' for "Info file %s does not exist".
11295 (Info-find-node-2): In case of a nonexistent node in unwind forms
11296 go to the Top node if there is no previous node to revert to.
11299 2014-01-13 Martin Rudalics <rudalics@gmx.at>
11301 fit-frame/window-to-buffer code fixes including one for Bug#14096.
11302 * window.el (fit-frame-to-buffer): Fix doc-string.
11303 Respect window-min-height/-width. Fit pixelwise when
11304 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
11305 when avoiding that frame goes partially off-screen.
11306 (fit-window-to-buffer): Respect window-min-height/-width
11309 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11311 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
11312 after an empty line.
11314 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
11316 * net/shr.el (shr-render-region): Autoload.
11318 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
11320 * net/eww.el (eww-download-directory): Rename from
11321 `eww-download-path' (Bug#16419).
11323 2014-01-12 Leo Liu <sdl.web@gmail.com>
11325 * dired-x.el (dired-mode-map): Fix last change.
11327 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
11329 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
11332 * emacs-lisp/generic.el (generic--normalize-comments):
11333 Rename from generic--normalise-comments. All uses changed.
11334 * play/bubbles.el (bubbles--neighborhood-score)
11335 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
11336 (bubbles--neighborhood-available)
11337 (bubbles--update-neighborhood-score):
11338 Rename from names with 'neighbourhood'. All uses changed.
11340 2014-01-12 Leo Liu <sdl.web@gmail.com>
11342 Re-implement the feature of showing eldoc info after editing.
11343 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
11344 (eldoc-edit-message-commands): New function.
11345 (eldoc-print-after-edit): New variable.
11346 (eldoc-pre-command-refresh-echo-area): Emit message only by
11347 eldoc-message-commands.
11348 (eldoc-mode): Restrict eldoc-message-commands to editing commands
11349 if eldoc-print-after-edit is set. (Bug#16346)
11350 * simple.el (read--expression): Enable eldoc-mode.
11351 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
11353 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
11354 Eric S. Raymond <esr@thyrsus.com>
11356 * version.el (emacs-repository-get-version): Enhance so the
11357 function works correctly in either a Bazaar or Git repo.
11359 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
11361 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
11362 Goes with removal of the joke manpages from /etc.
11364 2014-01-10 Kenichi Handa <handa@gnu.org>
11366 * mail/rmail.el (rmail-get-coding-system):
11367 Check rmail-get-coding-function before "funcall"ing it.
11369 2014-01-10 Glenn Morris <rgm@gnu.org>
11371 * emacs-lisp/authors.el (authors-fixed-entries):
11372 Update for files that no longer exist.
11374 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
11376 * version.el (emacs-bzr-get-version): Restore compatibilty with
11379 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
11381 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
11384 2014-01-10 Eli Zaretskii <eliz@gnu.org>
11386 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
11388 2014-01-10 Chong Yidong <cyd@gnu.org>
11390 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
11392 2014-01-10 Anders Lindgren <andlind@gmail.com>
11394 * follow.el (follow-cache-command-list): Include right-char and
11397 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
11400 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
11401 * woman.el (woman-mark-horizontal-position):
11402 Rename from woman-mark-horizonal-position. Use changed.
11404 2014-01-10 Glenn Morris <rgm@gnu.org>
11406 * info.el (info-initialize): If running uninstalled, ensure our
11407 own info files are always found first, even if INFOPATH is set.
11409 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
11411 2014-01-09 David Engster <deng@randomsample.de>
11413 * emacs-lisp/eieio-custom.el:
11414 * emacs-lisp/eieio-opt.el: Set generated autoload file to
11415 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
11416 * emacs-lisp/eieio.el: Regenerate autoloads.
11418 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
11420 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
11421 following renames. (Bug#8756)
11423 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
11425 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
11427 (activate-mark): Add `no-tmm' argument.
11428 (set-mark, push-mark-command): Use it instead of running
11429 activate-mark-hook by hand.
11431 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
11433 In preparation for the move to git, sanitize out some
11434 Bazaar-specific names.
11436 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
11438 * version.el (emacs-bzr-version): Name changed to
11439 emacs-repository-version. Obsolete-variable alias made.
11440 * loadup.el: Follow through on this name change.
11441 * mail/emacsbug.el (report-emacs-bug): Factor out any
11442 assumption about the version control system in use.
11444 2014-01-08 David Engster <deng@randomsample.de>
11446 * help-fns.el (help-fns-describe-function-functions):
11447 New variable to call functions for augmenting help buffers.
11448 (describe-function-1): Remove explicit calls to
11449 `help-fns--compiler-macro', `help-fns--parent-mode' and
11450 `help-fns--obsolete'. Put them in above new variable instead, and
11451 call them through `run-hook-with-args'.
11452 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
11453 `eieio-describe-class'. Not meant for interactive use anymore,
11454 but to augment existing help buffers. Remove optional second
11455 argument. Create proper button for file location.
11456 Rewrite function to use `insert' instead of `princ' and `prin1' where
11458 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
11459 (eieio-method-def, eieio-class-def): Move further up.
11460 (describe-method, describe-generic, eieio-describe-method):
11462 (eieio-help-constructor, eieio-help-generic): Rename from
11463 `eieio-describe-constructor' and `eieio-describe-generic', resp.
11464 Rewrite to use `insert' in the current buffer and use proper help
11466 (eieio-help-find-method-definition)
11467 (eieio-help-find-class-definition): Also accept symbols as
11469 (eieio-help-mode-augmentation-maybee): Remove.
11470 (eieio-describe-class-sb): Use `describe-function'.
11471 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
11472 Add `eieio-help-generic' and `eieio-help-constructor'.
11474 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
11477 * language/china-util.el (hz-ascii-designation):
11478 Rename from hz-ascii-designnation.
11479 (hz-ascii-designation): Rename from hz-ascii-designnation.
11482 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
11484 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
11487 2014-01-08 Bastien Guerry <bzg@gnu.org>
11489 * emacs-lisp/package.el (package-delete):
11490 Correctly delete the package from package-alist.
11492 2014-01-08 Daiki Ueno <ueno@gnu.org>
11494 * emacs-lisp/package.el (url-recreate-url): Declare.
11495 (url-http-target-url): Declare.
11496 (package-handle-response): Include requested URL in the error message.
11497 (package--check-signature): Don't re-signal errors from
11498 package--with-work-buffer. Suggested by Stefan Monnier.
11500 2014-01-07 Bastien Guerry <bzg@gnu.org>
11502 * minibuffer.el (completion--try-word-completion): When both a
11503 hyphen and a space are possible candidates for the character
11504 following a word, display both candidates. (Bug#15980)
11506 2014-01-07 Martin Rudalics <rudalics@gmx.at>
11508 * window.el (balance-windows-2): While rounding don't give a
11509 window more than the remainder. Bug#16351, bug#16383.
11511 2014-01-07 Glenn Morris <rgm@gnu.org>
11513 * menu-bar.el (menu-bar-help-extra-packages): Remove.
11514 (menu-bar-help-menu): Use view-external-packages instead.
11516 2014-01-07 Bastien Guerry <bzg@gnu.org>
11518 * emacs-lisp/package.el (package-delete): Also delete the package
11519 name from `package-alist', not its description only.
11521 2014-01-07 Glenn Morris <rgm@gnu.org>
11523 * help.el (view-external-packages):
11524 * menu-bar.el (menu-bar-help-extra-packages):
11525 Visit efaq.info rather than etc/MORE.STUFF.
11527 2014-01-07 Juri Linkov <juri@jurta.org>
11529 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
11530 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
11532 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
11533 that shadows RET. (Bug#16342)
11535 2014-01-07 Chong Yidong <cyd@gnu.org>
11537 * isearch.el (isearch-yank-char, isearch-yank-word)
11538 (isearch-yank-line): Doc fix.
11540 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
11542 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
11543 * emacs-lisp/elint.el (elint-find-builtins):
11544 * emacs-lisp/eldoc.el (eldoc-symbol-function):
11545 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
11546 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
11547 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11548 * apropos.el (apropos-safe-documentation):
11549 * subr.el (symbol-file): Remove redundant fboundp.
11550 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
11552 2014-01-06 Bastien Guerry <bzg@gnu.org>
11554 * hl-line.el (global-hl-line-overlay): Make a local variable.
11555 (global-hl-line-overlays): New variable to store all overlays.
11556 (global-hl-line-mode): Don't delete overlays from the current
11557 buffer when `global-hl-line-sticky-flag' is non-nil.
11558 (global-hl-line-highlight): Add new overlays to
11559 `global-hl-line-overlays'.
11560 (global-hl-line-unhighlight-all): New function to delete all
11561 overlays when turning off `global-hl-line-mode'.
11562 This fixes Bug#16183.
11564 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
11566 * subr.el (set-transient-map): Fix nested case and docstring.
11568 2014-01-06 Tassilo Horn <tsdh@gnu.org>
11570 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
11573 2014-01-06 Daniel Colascione <dancol@dancol.org>
11575 Fix defun navigation in vc log view.
11577 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
11578 like `beginning-of-defun'.
11579 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
11580 log-view-end-of-defun to log-view-end-of-defun-1. Replace
11581 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
11582 (log-view-extract-comment): Call `log-view-current-entry' directly
11583 instead of relying on broken `log-view-beginning-of-defun' behavior.
11585 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
11588 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
11589 * emacs-lisp/debug.el (cancel-debug-on-entry):
11590 * epg.el (epg-error-to-string):
11591 * files.el (recover-file):
11592 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
11593 * mail/emacsbug.el (report-emacs-bug-hook):
11594 * mail/sendmail.el (mail-recover):
11595 * ses.el (ses-yank-resize):
11596 * term/ns-win.el (ns-print-buffer):
11597 Spelling fixes in diagnostics, mostly for "canceled" with one L.
11598 * epg.el (epg-key-capability-alist): Rename from misspelled version.
11600 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
11602 2014-01-06 Leo Liu <sdl.web@gmail.com>
11604 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
11605 to avoid shadowing global key. (Bug#16354)
11607 2014-01-06 Daniel Colascione <dancol@dancol.org>
11609 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
11612 2014-01-05 Martin Rudalics <rudalics@gmx.at>
11614 * window.el (balance-windows): Add mising t to fix Bug#16351.
11616 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11618 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
11620 (shr-insert): If we have a word that's longer than `shr-width',
11621 break after it anyway. Otherwise we'll do no breaking once we get
11624 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11626 * net/eww.el (eww): Support single/double quote for search.
11627 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
11628 (eww-history-quit): Delete and use quit-window.
11629 (eww-history-kill): Delete, because it doesn't work well and
11631 (eww-history-mode-map): Delete some keys and add easy-menu.
11633 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
11635 Fix misspelling of 'chinese' in rx (Bug#16237).
11636 * emacs-lisp/rx.el (rx-categories): Correct spelling of
11639 Change subword regexps back to vars (Bug#16296).
11640 * progmodes/subword.el (subword-forward-regexp)
11641 (subword-backward-regexp): Change these back to variables.
11643 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
11645 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
11646 syntax-begin-function (bug#16247).
11648 2014-01-03 Chong Yidong <cyd@gnu.org>
11650 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
11651 (advice--docstring): Delete variable.
11652 (advice--make-1): Leave the docstring empty.
11653 (advice-add): Use function-documentation for advised docstring.
11655 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
11656 Ignore function-documentation property when getting documentation.
11657 (ad-activate-advised-definition): Use function-documentation
11658 generate the docstring.
11659 (ad-make-advised-definition): Don't call
11660 ad-make-advised-definition-docstring.
11661 (ad-make-advised-definition-docstring, ad-advised-definition-p):
11664 * progmodes/sql.el (sql-help): Use function-documentation instead
11665 of dynamic-docstring-function property. No need to autoload now.
11666 (sql--help-docstring): New variable.
11667 (sql--make-help-docstring): Use it.
11669 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
11671 * ielm.el (ielm-tab): Retarget.
11672 (ielm-map): Use ielm-tab for tab.
11673 (ielm-complete-filename): Use comint-filename-completion.
11674 (ielm-complete-symbol): Remove.
11675 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
11676 remove ielm-tab from completion-at-point-functions (bug#16224).
11678 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
11679 Beware signals raised by predicates (bug#16201).
11681 2014-01-02 Richard Stallman <rms@gnu.org>
11683 * dired-aux.el (dired-do-print): Handle printer-name.
11685 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
11686 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
11687 (rmail-epa-decrypt): Turn off mime processing.
11689 * mail/rmail.el (rmail-make-in-reply-to-field):
11690 Add parens in message-id.
11692 * mail/rmail.el (rmail-get-coding-function): Variable.
11693 (rmail-get-coding-system): Use it.
11695 2013-12-31 Eli Zaretskii <eliz@gnu.org>
11697 * international/mule-conf.el: Unify the charset indian-is13194.
11698 (indian-is13194): Specify unify-map.
11700 2013-12-31 Leo Liu <sdl.web@gmail.com>
11702 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
11704 2013-12-30 Daniel Colascione <dancol@dancol.org>
11706 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
11707 of printing a useless when we resume from sleep.
11709 * progmodes/sh-script.el
11710 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
11711 in indentation code. (Bug#16233)
11713 2013-12-28 João Távora <joaotavora@gmail.com>
11715 * elec-pair.el (electric-pair-post-self-insert-function):
11716 Don't open extra newlines at beginning of buffer. (Bug#16272)
11718 2013-12-28 Eli Zaretskii <eliz@gnu.org>
11720 * frame.el (window-system-for-display): Don't allow to create a
11721 GUI frame from a -nw session on MS-Windows. (Bug#14739)
11723 2013-12-28 Glenn Morris <rgm@gnu.org>
11725 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
11728 * apropos.el (apropos-match-face):
11729 * calculator.el (calculator-displayer):
11730 * dabbrev.el (dabbrev-search-these-buffers-only):
11731 * face-remap.el (buffer-face-mode-face):
11732 * simple.el (yank-handled-properties):
11733 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
11734 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
11735 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
11736 (hashcash-double-spend-database):
11737 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
11738 (ruby-deep-indent-paren-style):
11739 * textmodes/flyspell.el (flyspell-auto-correct-binding):
11740 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
11741 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
11742 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
11743 Specify custom types.
11745 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
11746 * bookmark.el (bookmark-bmenu-use-header-line):
11747 * doc-view.el (doc-view-scale-internally):
11748 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
11749 * register.el (register-preview-delay):
11750 * net/shr.el (shr-bullet):
11751 * progmodes/cfengine.el (cfengine-cf-promises)
11752 (cfengine-parameters-indent):
11753 * progmodes/octave.el (inferior-octave-error-regexp-alist):
11754 * textmodes/reftex-vars.el (reftex-label-regexps):
11755 * vc/log-edit.el (log-edit-setup-add-author): Add version.
11757 * net/tls.el (tls-certtool-program): Fix default value.
11759 * desktop.el (desktop-restore-in-current-display):
11760 * newcomment.el (comment-empty-lines):
11761 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
11762 (idlwave-pad-keyword):
11763 * progmodes/tcl.el (tcl-tab-always-indent):
11764 * textmodes/reftex-vars.el (reftex-index-default-tag):
11765 * elec-pair.el (electric-pair-skip-whitespace):
11766 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
11768 * emacs-lisp/authors.el (authors-ignored-files)
11769 (authors-valid-file-names, authors-renamed-files-alist): Additions.
11771 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
11773 * shell.el (shell-dynamic-complete-command): Doc fix.
11774 (shell--command-completion-data): Shell completion now matches
11775 executable filenames from the current buffer's directory, on
11776 systems in which this behavior is the default (windows-nt, ms-dos).
11778 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11780 * net/shr.el (shr-insert): Don't infloop if the width is zero.
11782 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
11784 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
11787 * electric.el: Move all electric-pair-* to elec-pair.el.
11788 * elec-pair.el: New file, split from electric.el.
11790 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11792 * net/shr.el (shr-find-fill-point): Don't try to fill if the
11793 indentation level is larger than the width, because that will
11795 (shr-insert): Fill repeatedly long texts, so that Japanese is
11796 formatted correctly (bug#16263).
11797 (shr-find-fill-point): Off by one error in comparison with the
11800 2013-12-26 João Távora <joaotavora@gmail.com>
11802 * electric.el (electric-pair-mode): More flexible engine for skip-
11803 and inhibit predicates, new options for pairing-related functionality.
11804 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
11805 if that keeps or improves their balance in buffers.
11806 (electric-pair-delete-adjacent-pairs): Delete the pair when
11807 backspacing over adjacent matched delimiters.
11808 (electric-pair-open-extra-newline): Open extra newline when
11809 inserting newlines between adjacent matched delimiters.
11810 (electric--sort-post-self-insertion-hook):
11811 Sort post-self-insert-hook according to priority values when
11812 minor-modes are activated.
11813 * simple.el (newline-and-indent): Call newline with interactive
11815 (blink-paren-post-self-insert-function): Set priority to 100.
11816 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11817 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
11818 comments. Locally set electric-pair-skip-whitespace to 'chomp and
11819 electric-pair-open-newline-between-pairs to nil.
11821 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
11823 * progmodes/python.el: Use lexical-binding.
11824 (python-nav-beginning-of-defun): Stop searching ASAP.
11826 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
11828 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
11829 Fix interactive spec. Doc fix. (Bug#15754)
11831 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
11833 * emacs-lisp/byte-run.el (eval-when-compile):
11834 * progmodes/cc-defs.el (cc-eval-when-compile):
11835 Fix edebug spec (bug#16184).
11837 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11839 * net/shr.el (shr-visit-file): Remove debugging function.
11840 (shr-insert): Don't infloop if we can't find a good place to break
11841 the line (bug#16256).
11843 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
11845 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
11846 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
11847 python-nav-lisp-forward-sexp-safe.
11848 (python-nav--forward-sexp): New argument SAFE allows switching
11849 forward sexp movement behavior for parens.
11850 (python-nav-forward-sexp): Throw errors on unterminated parens
11852 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
11853 (python-nav-backward-sexp-safe): New functions.
11854 (python-shell-buffer-substring):
11855 Use `python-nav-forward-sexp-safe'.
11857 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11859 * net/shr.el (shr-find-fill-point): Don't break lines before a
11861 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
11862 (shr-find-fill-point): Remove the special checks for the quotation
11863 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
11865 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11867 * net/eww.el (eww-form-textarea): Use a different face for
11868 textareas than text input since they have different keymaps
11871 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
11873 * progmodes/python.el (python-nav-beginning-of-statement):
11874 Speed up (Bug#15295).
11876 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11878 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
11879 the window configuration.
11881 2013-12-24 Eli Zaretskii <eliz@gnu.org>
11883 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
11884 we run on MS-Windows or MS-DOS.
11886 2013-12-24 Martin Rudalics <rudalics@gmx.at>
11888 * window.el (balance-windows-area): Call window-size instead of
11889 window-height and window-width. Bug#16241.
11891 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11893 * net/eww.el (eww-bookmark-quit): Remove.
11894 (eww-bookmark-browse): Restore the window configuration when you
11895 choose a bookmark (bug#16144).
11897 2013-12-24 Daniel Colascione <dancol@dancol.org>
11899 * icomplete.el: Remove redundant :group arguments to `defcustom'
11901 (icomplete-show-matches-on-no-input): New customizable variable.
11902 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
11903 we have something to show.
11904 (icomplete-exhibit): Compute completions even if we have no user input.
11906 2013-12-23 Daniel Colascione <dancol@dancol.org>
11908 * icomplete.el: Move `provide' to end of file.
11910 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
11912 * net/gnutls.el (gnutls-verify-error): Add version tag.
11914 2013-12-23 Chong Yidong <cyd@gnu.org>
11916 * subr.el (set-transient-map): Rename from
11917 set-temporary-overlay-map. Doc fix.
11919 * face-remap.el (text-scale-adjust):
11920 * indent.el (indent-rigidly):
11921 * kmacro.el (kmacro-call-macro):
11922 * minibuffer.el (minibuffer-force-complete):
11923 * repeat.el (repeat):
11924 * simple.el (universal-argument--mode):
11925 * calendar/todo-mode.el (todo-insert-item--next-param):
11926 * progmodes/f90.el (f90-abbrev-start): Callers changed.
11928 * indent.el (indent-rigidly): Use substitute-command-keys.
11930 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11932 * net/eww.el (eww-tag-select): Add text-property to jump to next
11934 (eww): Add non-supported ftp error.
11936 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11938 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
11939 comments. Handle electric indent after typing `?' and `!'.
11941 2013-12-22 Chong Yidong <cyd@gnu.org>
11943 * faces.el (face-spec-recalc): If the theme specs are not
11944 applicable to a frame, fall back on the defface spec.
11945 This prevents themes from obliterating faces on low-color terminals.
11947 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11949 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
11950 after `{'. We need it after block openers, and it doesn't seem
11951 to hurt after hash openers.
11953 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11955 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
11956 extracted from `ruby-smie-rules'.
11957 (ruby--electric-indent-chars): New variable.
11958 (ruby--electric-indent-p): New function.
11959 (ruby-mode): Use `electric-indent-functions' instead of
11960 `electric-indent-chars'.
11962 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11964 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
11966 (ruby-smie-rules): Indent plus one level after `=>'.
11968 2013-12-21 Richard Stallman <rms@gnu.org>
11970 * simple.el (newline): Doc fix.
11972 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11974 * net/eww.el (eww-list-histories, eww-list-histories)
11975 (eww-history-browse, eww-history-quit, eww-history-kill)
11976 (eww-history-mode-map, eww-history-mode): New command and
11977 functions to list browser histories.
11978 (eww-form-text): Support text form with disabled
11979 and readonly attributes.
11980 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
11982 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11984 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
11985 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
11986 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
11987 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
11989 (eww-bookmark-mode-map): Add menu.
11990 (eww-render, eww-mode): Use `setq-local'.
11991 (eww-tool-bar-map): New variable.
11992 (eww-mode): Set `tool-bar-map'.
11993 (eww-view-source): Check for `html-mode' with `fboundp'.
11995 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11997 * net/shr.el (shr--extract-best-source): Don't bug out on audio
11998 elements with text inside. Also remove debugging.
12000 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
12002 * cus-start.el (all): Add ns-use-srgb-colorspace.
12004 2013-12-21 Chong Yidong <cyd@gnu.org>
12006 * custom.el (custom-theme-recalc-face): Do nothing if the face is
12007 undefined. Thus, theme settings for undefined faces do not take
12008 effect until the faces are defined with defface, the same as with
12011 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
12012 (face-spec-reset-face): Don't assign extra properties in temacs.
12013 (face-spec-recalc): Apply X resources too.
12015 2013-12-21 Chong Yidong <cyd@gnu.org>
12017 * faces.el (face-spec-set):
12018 * cus-face.el (custom-theme-set-faces, custom-set-faces):
12019 * custom.el (defface): Doc fixes (Bug#16203).
12021 * indent.el (indent-rigidly-map): Add docstring, and move commands
12022 into named functions.
12023 (indent-rigidly-left, indent-rigidly-right)
12024 (indent-rigidly-left-to-tab-stop)
12025 (indent-rigidly-right-to-tab-stop): New functions. Decide on
12026 indentation direction based on bidi direction, and accumulate
12027 sequential commands in a single undo boundary.
12028 (indent-rigidly--pop-undo): New utility function.
12030 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
12032 * faces.el (read-face-name): Require crm.el when using crm-separator.
12034 2013-12-20 Daniel Colascione <dancol@dancol.org>
12036 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
12037 so that we don't reflow comments into the shebang line.
12039 2013-12-20 Juri Linkov <juri@jurta.org>
12041 * saveplace.el (save-place-to-alist): Add `dired-filename' as
12042 a position when `dired-directory' is non-nil. Check integer
12043 positions with `integerp'.
12044 (toggle-save-place, save-places-to-alist): Add check for
12046 (save-place-find-file-hook): Check integer positions with
12048 (save-place-dired-hook): Use `dired-goto-file' when
12049 `dired-filename' is found in the assoc list. Check integer
12050 positions with `integerp'.
12051 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
12053 * dired.el (dired-initial-position-hook): Rename back from
12054 `dired-initial-point-hook'.
12055 (dired-initial-position): Rename `dired-initial-point-hook' to
12056 `dired-initial-position-hook'.
12057 (dired-file-name-at-point): Doc fix. (Bug#15329)
12059 2013-12-20 Juri Linkov <juri@jurta.org>
12061 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
12062 (read-regexp-suggestions): New function.
12063 (read-regexp): Use `read-regexp-defaults-function' to get default values.
12064 Use `read-regexp-suggestions'. Add non-empty default to history
12066 (occur-read-regexp-defaults-function): Remove function.
12067 (occur-read-primary-args): Use `regexp-history-last' instead of
12068 `occur-read-regexp-defaults-function'.
12070 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
12071 (hi-lock-line-face-buffer, hi-lock-face-buffer)
12072 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
12073 `hi-lock-read-regexp-defaults-function'. Doc fix.
12074 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
12075 with `find-tag-default-as-symbol-regexp'. Doc fix.
12076 (hi-lock-read-regexp-defaults): Remove function.
12077 (hi-lock-regexp-okay): Add check for null.
12079 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
12080 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
12082 * subr.el (find-tag-default-as-symbol-regexp): New function.
12083 (find-tag-default-as-regexp): Move symbol regexp formatting to
12084 `find-tag-default-as-symbol-regexp'.
12086 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
12088 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
12091 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12093 * calendar/todo-mode.el: New implementation of item insertion
12094 commands and key bindings.
12095 (todo-key-prompt): New face.
12096 (todo-insert-item): New command.
12097 (todo-insert-item--parameters): New defconst, replacing defvar
12098 todo-insertion-commands-args-genlist.
12099 (todo-insert-item--param-key-alist): New defconst, replacing
12100 defvar todo-insertion-commands-arg-key-list.
12101 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
12102 (todo-insert-item--argsleft, todo-insert-item--apply-args)
12103 (todo-insert-item--next-param): New functions.
12104 (todo-insert-item--args, todo-insert-item--argleft)
12105 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
12107 (todo-key-bindings-t): Change binding of "i" from
12108 todo-insertion-map to todo-insert-item.
12109 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
12110 (todo-insertion-command-name, todo-insertion-commands-names)
12111 (todo-define-insertion-command, todo-insertion-commands)
12112 (todo-insertion-key-bindings, todo-insertion-map): Remove.
12114 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12116 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
12117 (todo-toggle-item-highlighting): Use eval-and-compile instead of
12119 (todo-move-category): Allow choosing a non-existing todo file to
12120 move the category to, and create that file.
12121 (todo-default-priority): New user option.
12122 (todo-set-item-priority): Use it.
12123 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
12124 (desktop-restore-file-buffer): Declare.
12125 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
12126 (todo-modes-set-2): Locally set desktop-save-buffer to
12127 todo-desktop-save-buffer.
12128 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
12129 (auto-mode-alist): Add autoload cookie.
12131 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
12133 * emacs-lisp/subr-x.el: Renamed from helpers.el.
12134 helpers.el was a poor choice of name.
12135 (string-remove-prefix): New function.
12136 (string-remove-suffix): New function.
12138 2013-12-20 Martin Rudalics <rudalics@gmx.at>
12140 Fix assignment for new window total sizes.
12141 * window.el (window--pixel-to-size): Remove function.
12142 (window--pixel-to-total-1, window--pixel-to-total):
12143 Fix calculation of new total sizes.
12145 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
12147 * comint.el (comint-output-filter): Fix rear-nonsticky property
12148 placement (Bug#16010).
12150 2013-12-20 Chong Yidong <cyd@gnu.org>
12152 * faces.el (read-color): Minor fix for completion function.
12154 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
12156 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
12157 New option. (Bug#16182)
12158 (ruby-smie--indent-to-stmt-p): Use it.
12159 (ruby-smie-rules): Revert the logic in the handling of `when'.
12160 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
12161 (ruby-deep-arglist, ruby-deep-indent-paren)
12162 (ruby-deep-indent-paren-style): Update docstrings to note that the
12163 vars don't have any effect with SMIE.
12165 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
12167 * calc/calc.el (calc-enter, calc-pop): Use the variable
12168 `calc-context-sensitive-enter'.
12170 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12172 * net/shr.el (shr-insert): Protect against infloops in degenerate
12175 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12177 * progmodes/octave.el (octave): Add link to manual and octave
12179 (octave-mode-menu): Link to octave-mode manual.
12181 2013-12-20 Leo Liu <sdl.web@gmail.com>
12183 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
12184 insertion using skeleton-end-newline. (Bug#16138)
12186 2013-12-20 Juri Linkov <juri@jurta.org>
12188 * replace.el (occur-engine): Use `add-face-text-property'
12189 to add the face property to matches and titles. (Bug#14645)
12191 * hi-lock.el (hi-green): Use lighter color "light green" closer to
12192 the palette of other hi-lock colors.
12193 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
12195 2013-12-19 Juri Linkov <juri@jurta.org>
12197 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
12198 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
12199 (minibuffer-history-symbol): Move variable declaration closer to
12202 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
12205 2013-12-19 Juri Linkov <juri@jurta.org>
12207 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
12209 (log-edit-hook): Add it to :options. (Bug#16170)
12211 2013-12-19 Juri Linkov <juri@jurta.org>
12213 * simple.el (eval-expression-print-format): Don't check for
12214 command names and the last command. Always display additional
12215 formats of the integer result in the echo area, and insert them
12216 to the current buffer only with a zero prefix arg.
12217 Display character when char-displayable-p is non-nil.
12218 (eval-expression): With a zero prefix arg, set `print-length' and
12219 `print-level' to nil, and insert the integer values from
12220 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
12222 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
12223 `eval-last-sexp-arg-internal'. Doc fix.
12224 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
12225 `eval-last-sexp-print-value'. Doc fix.
12226 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
12227 Set `print-length' and `print-level' to nil when arg is zero.
12228 (eval-last-sexp): Doc fix.
12229 (eval-defun-2): Print the integer values from
12230 `eval-expression-print-format' at the end.
12232 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
12233 values from `eval-expression-print-format' at the end.
12235 * ielm.el (ielm-eval-input): Print the integer
12236 values from `eval-expression-print-format' at the end.
12238 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
12240 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
12241 2013-12-11T19:01:44Z!tzz@lifelogs.com.
12243 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
12245 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
12246 (hl-line-highlight, global-hl-line-highlight): Use it.
12247 (hl-line-overlay): Use defvar-local.
12249 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
12251 * term/ns-win.el: Require dnd.
12252 (global-map): Remove drag items.
12253 (ns-insert-text, ns-set-foreground-at-mouse)
12254 (ns-set-background-at-mouse):
12255 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
12256 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
12259 2013-12-19 Glenn Morris <rgm@gnu.org>
12261 * emacs-lisp/ert.el (ert-select-tests):
12262 Fix string/symbol mixup. (Bug#16121)
12264 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12266 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
12267 keywords to their parent.
12269 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12271 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
12272 first arg to be a string (fixed dead code), or an operator symbol.
12273 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
12275 (ruby-smie-rules): Remove parent token check in the `.' clause, it
12276 did nothing. Don't respond to `(:after ".")', it will be called
12277 with :before anyway. Remove the ` @ ' rule, it didn't seem to
12278 change anything. Only return indentation for binary operators
12279 when they are hanging. De-dent opening paren when its parent is
12280 `.', otherwise it looks bad when the dot is not at bol or eol
12283 2013-12-19 Juri Linkov <juri@jurta.org>
12285 * replace.el (query-replace-read-args): Split a non-negative arg
12286 and a negative arg into separate elements.
12287 (query-replace, query-replace-regexp, replace-string)
12288 (replace-regexp): Add arg `backward'. Doc fix.
12289 (replace-match-maybe-edit): When new arg `backward' is non-nil,
12290 move point to the beginning of the match.
12291 (replace-search, replace-highlight): Use new arg `backward'
12292 to set the value of `isearch-forward'.
12293 (perform-replace): Add arg `backward' and use it to perform
12294 replacement backward. (Bug#14979)
12296 * isearch.el (isearch-query-replace): Use a negative prefix arg
12297 to call `perform-replace' with a non-nil arg `backward'.
12299 2013-12-18 Juri Linkov <juri@jurta.org>
12301 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
12302 to the default list. Move `log-edit-show-files' to the end.
12303 Add more available functions to options.
12304 (log-edit): Move default specific settings to
12305 `log-edit-insert-message-template'. Don't move point.
12306 (log-edit-insert-message-template): New function.
12307 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
12310 2013-12-18 Juri Linkov <juri@jurta.org>
12312 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
12313 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
12315 2013-12-18 Leo Liu <sdl.web@gmail.com>
12317 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
12320 2013-12-18 Eli Zaretskii <eliz@gnu.org>
12322 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
12323 formats for displaying file sizes when the -s switch is given.
12324 Instead, compute a separate format for displaying the size in
12325 blocks, which is displayed in addition to the "regular" size.
12326 When -h is given in addition to -s, produce size in blocks in
12327 human-readable form as well. (Bug#16179)
12329 2013-12-18 Tassilo Horn <tsdh@gnu.org>
12331 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
12332 Reference tables with ~\ref{...} instead of only \ref{...}.
12334 2013-12-18 Chong Yidong <cyd@gnu.org>
12336 * cus-edit.el (custom-magic-alist): Fix "themed" description
12339 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
12340 is non-nil, do not create a new entry in the symbol's theme-value
12341 or theme-face property; update theme-settings only (Bug#14664).
12342 (custom-available-themes): Doc fix.
12344 * cus-theme.el (custom-new-theme-mode-map): Add bindings
12347 * replace.el (occur-engine): Avoid infloop (Bug#7593).
12349 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
12351 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
12354 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12356 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
12358 2013-12-18 Glenn Morris <rgm@gnu.org>
12360 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
12361 * cus-start.el (load-prefer-newer): New option.
12363 2013-12-18 Le Wang <l26wang@gmail.com>
12365 * comint.el (comint-previous-matching-input-from-input):
12366 Retain point (Bug#13404).
12368 2013-12-18 Chong Yidong <cyd@gnu.org>
12370 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
12372 2013-12-18 Glenn Morris <rgm@gnu.org>
12374 * mail/emacsbug.el (report-emacs-bug):
12375 Only mention enable-multibyte-characters if non-standard.
12377 2013-12-17 Juri Linkov <juri@jurta.org>
12379 * arc-mode.el (archive-extract-by-file): Check if directory exists
12380 before deletion to not show irrelevant errors if it doesn't exist.
12382 2013-12-17 Juri Linkov <juri@jurta.org>
12384 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
12387 * net/eww.el (browse-web): Add alias to `eww'.
12388 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
12389 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
12391 * net/browse-url.el (browse-url-browser-function): Move `eww'
12392 closer to similar functions.
12394 * startup.el (fancy-startup-screen, fancy-about-screen):
12395 Set browse-url-browser-function to eww-browse-url locally.
12398 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
12400 * window.el (window--pixel-to-total): Remove unused `mini' var.
12401 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
12402 (split-window): Remove unused `new' var.
12403 (window--display-buffer): Remove unused `frame' and `delta' vars.
12404 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
12405 and display-width'.
12407 2013-12-17 Martin Rudalics <rudalics@gmx.at>
12409 * dired.el (dired-mark-pop-up):
12410 * register.el (register-preview): Don't bind
12411 split-height-threshold here since it's now done in
12412 display-buffer-below-selected.
12414 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
12416 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
12417 xterm-rgb-convert-to-16bit.
12418 (rxvt-register-default-colors): Standardize with
12419 xterm-register-default-colors (Bug#14078).
12421 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
12423 * simple.el (kill-region): Pass mark first, then point, so that
12424 kill-append works right (Bug#12819).
12425 (copy-region-as-kill, kill-ring-save): Likewise.
12427 2013-12-17 Leo Liu <sdl.web@gmail.com>
12429 * net/rcirc.el (rcirc-add-face):
12430 * eshell/em-prompt.el (eshell-emit-prompt):
12431 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
12434 2013-12-17 Chong Yidong <cyd@gnu.org>
12436 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
12437 Suggested by Xue Fuqiao.
12439 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
12441 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
12443 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
12445 * net/shr.el (shr-insert-document): Remove unused var
12446 `shr-preliminary-table-render'.
12447 (shr-rescale-image): Remove unused arg `force'.
12448 (shr-put-image): Update calls accordingly.
12449 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
12451 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
12453 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
12454 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
12455 :close-all, to see which indentation method to use (Bug#16116).
12456 (smie-rules-function): Document the method :close-all.
12458 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12460 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
12462 * net/eww.el (eww-display-html): If we can't find the anchor we're
12463 looking for, then go to point-min.
12465 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
12467 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
12468 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
12469 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
12470 Expand dir too, in case it's relative.
12472 2013-12-16 Juri Linkov <juri@jurta.org>
12474 * desktop.el (desktop-auto-save-timeout): Change default to
12475 `auto-save-timeout'. Doc fix.
12476 (desktop-save): Skip the timestamp in desktop-saved-frameset
12477 when checking for auto-save changes.
12478 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
12479 `desktop-auto-save' is called repeatedly by the idle timer.
12480 (desktop-auto-save-set-timer): Replace `run-with-timer' with
12481 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
12484 2013-12-16 Juri Linkov <juri@jurta.org>
12486 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
12488 (isearch-pre-command-hook): Check `this-command' for symbolp.
12490 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
12494 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
12496 * progmodes/cfengine.el (cfengine3--current-word): Remove.
12497 (cfengine3--current-function): Bring in the current-function
12498 functionality from `cfengine3--current-word'.
12499 (cfengine3-completion-function): Bring in the
12500 bounds-of-current-word functionality from
12501 `cfengine3--current-word'.
12503 2013-12-16 Martin Rudalics <rudalics@gmx.at>
12505 * window.el (display-buffer-below-selected):
12506 Bind split-height-threshold to 0 as suggested by Juri Linkov.
12508 2013-12-16 Leo Liu <sdl.web@gmail.com>
12510 * progmodes/compile.el (compile-goto-error): Do not push-mark.
12511 Remove NOMSG arg and all uses changed.
12513 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
12515 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
12516 (cua--deactivate-rectangle): Don't deactivate the mark.
12517 (cua-set-rectangle-mark): Don't set mark-active since
12518 cua--activate-rectangle already does it for us.
12519 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
12520 non-rectangular region.
12522 * emulation/cua-base.el (cua-repeat-replace-region):
12523 Use with-current-buffer.
12525 * net/gnutls.el: Use cl-lib.
12526 (gnutls-negotiate): `mapcan' -> cl-mapcan.
12528 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
12530 * emacs-lisp/package.el (package-built-in-p): Support both
12531 built-in and the package.el converted package descriptions.
12532 (package-show-package-list): Allow keywords.
12533 (package-keyword-button-action): Use it instead of
12534 `finder-list-matches'.
12535 (package-menu-filter-interactive): Interactive filtering (by
12537 (package-menu--generate): Support keywords and change keymappings
12538 and headers when they are given.
12539 (package--has-keyword-p): Helper function.
12540 (package-menu--refresh): Use it.
12541 (package--mapc): Helper function.
12542 (package-all-keywords): Use it.
12543 (package-menu-mode-map): Set up menu items and keybindings to
12544 provide a filtering UI.
12546 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
12548 * net/gnutls.el (gnutls-verify-error): New defcustom to control
12549 the behavior when a certificate fails validation. Defaults to
12550 old behavior: never abort, just warn.
12551 (gnutls-negotiate): Use it.
12553 2013-12-14 Martin Rudalics <rudalics@gmx.at>
12555 * window.el (display-buffer-below-selected): Never split window
12556 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
12558 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
12560 * emacs-lisp/package.el (package--prepare-dependencies): New function.
12561 (package-buffer-info): Use it (bug#15108).
12563 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
12565 * icomplete.el (icomplete-completions): Make sure the prefix is already
12566 displayed elsewhere before hiding it (bug#16219).
12568 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
12570 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
12571 open-paren tokens when preceded by a open-paren, too.
12572 (ruby-smie-rules): Handle virtual indentation after open-paren
12573 tokens specially. If there is code between it and eol, return the
12574 column where is starts (Bug#16118).
12576 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
12578 * progmodes/cfengine.el: Fix `add-hook' doc.
12579 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
12580 (cfengine3--current-word): Fix parameters.
12581 (cfengine3-make-syntax-cache): Simplify further.
12582 (cfengine3-completion-function, cfengine3--current-function):
12583 Use `assq' for symbols.
12584 (cfengine3--current-function): Fix `cfengine3--current-word' call.
12586 2013-12-13 Glenn Morris <rgm@gnu.org>
12588 * loadup.el (load-path): Warn if site-load or site-init changes it.
12589 No more need to reset it when bootstrapping.
12591 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
12593 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
12594 locations for cf-promises.
12595 (cfengine-mode-syntax-functions-regex): New caching variable.
12596 (cfengine3-fallback-syntax): Fallback syntax for cases where
12597 cf-promises doesn't run.
12598 (cfengine3--current-word): Reimplement using
12599 `cfengine-mode-syntax-functions-regex'.
12600 (cfengine3-completion-function, cfengine3--current-function):
12601 Use `cfengine3-make-syntax-cache' directly.
12602 (cfengine3-clear-syntax-cache): New function.
12603 (cfengine3-make-syntax-cache): Simplify and create
12604 `cfengine-mode-syntax-functions-regex' on demand.
12605 (cfengine3-format-function-docstring): Don't call
12606 `cfengine3-make-syntax-cache' explicitly.
12608 2013-12-13 Martin Rudalics <rudalics@gmx.at>
12610 Fix windmove-find-other-window broken after pixelwise resizing
12612 * windmove.el (windmove-other-window-loc): Revert change from
12614 (windmove-find-other-window): Call window-in-direction.
12615 * window.el (window-in-direction): New arguments SIGN, WRAP and
12616 MINI to emulate original windmove-find-other-window behavior.
12618 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
12620 * simple.el (blink-matching--overlay): New variable.
12621 (blink-matching-open): Instead of moving point, highlight the
12622 matching paren with an overlay
12623 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
12625 * faces.el (paren-showing-faces, show-paren-match)
12626 (show-paren-mismatch): Move from paren.el.
12628 2013-12-13 Leo Liu <sdl.web@gmail.com>
12630 * indent.el (indent-region): Disable progress reporter in
12631 minibuffer. (Bug#16108)
12633 * bindings.el (visual-order-cursor-movement): Fix version.
12635 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12637 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
12638 Also match after beginning of line.
12639 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
12640 files. Thanks to Russell Sim. (Bug#15378)
12642 2013-12-13 Juri Linkov <juri@jurta.org>
12644 * simple.el <Keypad support>: Remove key bindings duplicated
12645 with bindings.el. (Bug#14397)
12647 2013-12-13 Juri Linkov <juri@jurta.org>
12649 * comint.el (comint-mode-map): Replace `delete-char' with
12650 `delete-forward-char'. (Bug#16109)
12652 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
12654 * progmodes/python.el (python-indent-calculate-indentation):
12655 Fix de-denters cornercase. (Bug#15731)
12657 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12659 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
12660 (advice--make): Pay attention to `depth'.
12661 (advice--make-1): Don't autoload commands eagerly.
12662 * emacs-lisp/elp.el (elp-instrument-function):
12663 * emacs-lisp/trace.el (trace-function-internal):
12664 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
12666 * iswitchb.el (iswitchb-mode): Don't belittle ido.
12668 2013-12-12 Eli Zaretskii <eliz@gnu.org>
12670 * term/w32-win.el (w32-handle-dropped-file):
12671 * startup.el (normal-top-level):
12672 * net/browse-url.el (browse-url-file-url):
12673 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
12674 decode file names using 'utf-8' rather than
12675 file-name-coding-system.
12677 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
12679 * progmodes/python.el (python-indent-context)
12680 (python-indent-calculate-indentation): Fix auto-identation
12681 behavior for comment blocks. (Bug#15916)
12683 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12685 * progmodes/python.el (python-indent-calculate-indentation):
12686 When determining indentation, don't treat "return", "pass", etc., as
12687 operators when they are just string constituents. (Bug#15812)
12689 2013-12-12 Juri Linkov <juri@jurta.org>
12691 * uniquify.el (uniquify-buffer-name-style): Change default to
12692 `post-forward-angle-brackets'.
12694 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
12695 `uniquify'. Change default to `post-forward-angle-brackets'.
12697 2013-12-11 Glenn Morris <rgm@gnu.org>
12699 * emacs-lisp/package.el (finder-list-matches):
12700 Autoload rather than falsely declaring.
12702 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
12704 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
12705 (eww-mode-map): Use them.
12707 2013-12-11 Martin Rudalics <rudalics@gmx.at>
12709 * window.el (display-buffer-in-side-window): Fix doc-string
12712 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
12714 * vc/vc-git.el: Silence byte-compiler warnings.
12715 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
12716 (log-edit-set-header): Declare.
12718 2013-12-11 Eli Zaretskii <eliz@gnu.org>
12720 * Makefile.in (custom-deps, finder-data): Run output file names
12721 through unmsys--file-name. (Bug#16099)
12723 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
12725 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
12726 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
12728 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
12729 instead of deleting the selection "by hand" (bug#16098).
12730 Rely on insert-for-yank to yank rectangles.
12731 (cua-highlight-region-shift-only): Mark obsolete.
12732 (cua-mode): Don't enable/disable transient-mark-mode,
12733 shift-select-mode (cua-mode works both with and without them), and
12734 pc-selection-mode (obsolete).
12735 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
12736 (cua--deactivate-rectangle): Deactivate it.
12738 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
12739 (delete-selection-helper): Make sure yank starts at the top of the
12741 (minibuffer-keyboard-quit): Use region-active-p.
12743 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
12745 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
12746 to `delete' (bug#16109).
12748 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12750 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
12751 info manual and show keybindings and set `:group' keyword.
12753 2013-12-11 Juri Linkov <juri@jurta.org>
12755 * delsel.el (delete-active-region): Let-bind `this-command'
12756 to prevent `kill-region' from changing its original value.
12757 (delete-selection-helper): Handle `overwrite-mode' for the type
12758 `kill' exactly the same way as for the type `t'.
12759 (insert-char, quoted-insert, reindent-then-newline-and-indent):
12760 Support more commands. (Bug#13312)
12762 2013-12-11 Juri Linkov <juri@jurta.org>
12764 * bindings.el: Map kp keys to non-kp keys systematically
12765 with basic modifiers control, meta and shift. (Bug#14397)
12767 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12769 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
12770 "Close browser" menu items. Fix wrong function of "List
12773 2013-12-11 Juri Linkov <juri@jurta.org>
12775 * misearch.el (multi-isearch-buffers): Set the value of
12776 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
12777 arg of isearch-forward to t.
12778 (multi-isearch-buffers-regexp): Set the value of
12779 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
12780 arg of isearch-forward-regexp to t.
12781 (multi-isearch-files): Set the value of
12782 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
12783 arg of isearch-forward to t.
12784 (multi-isearch-files-regexp): Set the value of
12785 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
12786 arg of isearch-forward-regexp to t. (Bug#16035)
12788 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
12789 arg of isearch-forward to t.
12790 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
12791 arg of isearch-forward-regexp to t.
12792 (dired-isearch-filter-filenames): Remove unnecessary check for
12793 `dired-isearch-filenames'.
12795 * comint.el (comint-history-isearch-backward):
12796 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
12797 (comint-history-isearch-backward-regexp):
12798 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
12800 2013-12-10 Eli Zaretskii <eliz@gnu.org>
12802 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
12803 unmsys--file-name. (Bug#16099)
12805 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
12807 * emacs-lisp/package.el (package-keyword-button-action):
12808 Remove finder.el require dependency.
12810 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
12812 * emacs-lisp/package.el: Require finder.el.
12813 (describe-package-1): Add keyword buttons.
12814 (package-make-button): New convenience function.
12815 (package-keyword-button-action): Keyword button action using
12816 `finder-list-matches'.
12818 2013-12-09 Eli Zaretskii <eliz@gnu.org>
12820 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
12823 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
12825 * autorevert.el (auto-revert-notify-add-watch): Do not handle
12828 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
12830 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
12831 after the end of a percent literal.
12833 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
12835 * progmodes/ruby-mode.el (ruby-forward-string): Document.
12836 Handle caret-delimited strings (Bug#16079).
12838 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
12840 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
12841 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
12842 `ruby-parse-partial' (Bug#16078).
12844 2013-12-09 Leo Liu <sdl.web@gmail.com>
12846 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
12848 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
12850 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
12851 (js-switch-indent-offset): New option.
12852 (js--proper-indentation): Use it. And handle the case when
12853 "default" is actually a key in an object literal.
12854 (js--same-line): New function.
12855 (js--multi-line-declaration-indentation): Use it.
12856 (js--indent-in-array-comp, js--array-comp-indentation):
12858 (js--proper-indentation): Use them, to handle array comprehension
12861 2013-12-08 Leo Liu <sdl.web@gmail.com>
12863 * progmodes/flymake.el (flymake-highlight-line): Re-write.
12864 (flymake-make-overlay): Remove arg MOUSE-FACE.
12865 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
12867 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12869 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
12871 (redisplay-highlight-region-function): Use it.
12873 * emulation/cua-base.el (cua--explicit-region-start)
12874 (cua--last-region-shifted): Remove.
12875 (cua--deactivate): Use deactivate-mark.
12876 (cua--pre-command-handler-1): Don't handle shift-selection.
12877 (cua--post-command-handler-1): Don't change transient-mark-mode.
12878 (cua--select-keymaps): Use region-active-p rather than
12879 cua--explicit-region-start or cua--last-region-shifted.
12880 (cua-mode): Enable shift-select-mode.
12882 2013-12-08 Leo Liu <sdl.web@gmail.com>
12884 * progmodes/flymake.el (flymake-popup-current-error-menu):
12885 Rename from flymake-display-err-menu-for-current-line. Reimplement.
12886 (flymake-posn-at-point-as-event, flymake-popup-menu)
12887 (flymake-make-emacs-menu): Remove. (Bug#16077)
12889 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12891 * rect.el (rectangle-mark-mode): Activate mark even if
12892 transient-mark-mode is off (bug#16066).
12893 (rectangle--highlight-for-redisplay): Fix boundary condition when point
12894 is > mark and at bolp.
12896 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
12897 (region-extract-function): Use it.
12898 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
12899 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
12901 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
12902 kill-ring-save, kill-region, delete-char, delete-forward-char.
12903 Ignore self-insert-iso.
12905 * emulation/cua-gmrk.el (cua--init-global-mark):
12906 Ignore `self-insert-iso'.
12908 * emulation/cua-base.el (cua--prefix-copy-handler)
12909 (cua--prefix-cut-handler): Rely on region-extract-function rather than
12910 checking cua--rectangle.
12911 (cua-delete-region): Use region-extract-function.
12912 (cua-replace-region): Delete function.
12913 (cua-copy-region, cua-cut-region): Obey region-extract-function.
12914 (cua--pre-command-handler-1): Don't do the delete-selection thing.
12915 (cua--self-insert-char-p): Ignore `self-insert-iso'.
12916 (cua--init-keymaps): Don't remap delete-selection commands.
12917 (cua-mode): Use delete-selection-mode instead of rolling our own
12920 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
12921 Obey region-extract-function.
12923 Make registers and delete-selection-mode work on rectangles.
12924 * register.el (describe-register-1): Don't modify the register's value.
12925 (copy-to-register): Obey region-extract-function.
12926 * delsel.el (delete-active-region): Obey region-extract-function.
12928 2013-12-08 Leo Liu <sdl.web@gmail.com>
12930 * progmodes/flymake.el (flymake, flymake-error-bitmap)
12931 (flymake-warning-bitmap, flymake-fringe-indicator-position)
12932 (flymake-compilation-prevents-syntax-check)
12933 (flymake-start-syntax-check-on-newline)
12934 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
12935 (flymake-start-syntax-check-on-find-file, flymake-log-level)
12936 (flymake-xml-program, flymake-master-file-dirs)
12937 (flymake-master-file-count-limit)
12938 (flymake-allowed-file-name-masks): Relocate.
12939 (flymake-makehash, flymake-float-time)
12940 (flymake-replace-regexp-in-string, flymake-split-string)
12941 (flymake-get-temp-dir): Remove.
12942 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
12943 (flymake-current-row, flymake-selected-frame)
12944 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
12945 related functions. (Bug#16077)
12947 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
12949 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
12951 2013-12-07 Tassilo Horn <tsdh@gnu.org>
12953 * help-fns.el (describe-function-1): Use new advice-* functions
12954 rather than old ad-* functions. Fix function type description and
12955 source links for advised functions and subrs.
12957 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12959 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
12961 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
12963 * progmodes/compile.el (compilation-start):
12964 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
12966 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12967 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
12969 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12971 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12972 Touch up the last change.
12974 2013-12-06 Leo Liu <sdl.web@gmail.com>
12976 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
12977 (inferior-octave-startup): Always use "octave> " for prompt.
12978 (octave-goto-function-definition)
12979 (octave-sync-function-file-names)
12980 (octave-find-definition-default-filename): Remove redundant backquotes.
12982 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12984 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
12986 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
12987 where appropriate already.
12988 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
12989 end of method names (Bug#15874).
12991 2013-12-06 Juri Linkov <juri@jurta.org>
12993 * isearch.el (isearch--saved-overriding-local-map):
12994 New internal variable.
12995 (isearch-mode): Set it to the initial value of
12996 `overriding-terminal-local-map'.
12997 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
12998 with `isearch--saved-overriding-local-map'. (Bug#16035)
13000 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13002 * progmodes/octave.el (inferior-octave-completion-table):
13003 Turn back into function, use `completion-table-with-cache'
13004 (Bug#11906). Update all references.
13006 * minibuffer.el (completion-table-with-cache): New function.
13008 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
13010 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
13012 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
13014 * net/eww.el (eww-current-source): New variable to store page
13016 (eww-display-html, eww-mode, eww-save-history)
13017 (eww-restore-history): Use it.
13018 (eww-view-source): New command to view page source.
13019 Opportunistically uses `html-mode' to highlight the buffer.
13020 (eww-mode-map): Install it.
13022 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
13024 * net/dbus.el (dbus-unregister-service)
13025 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
13027 (dbus-unregister-service): Skip :serial entries in
13028 `dbus-registered-objects-table'.
13029 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
13031 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
13033 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
13034 around keywords with extra `split-string' argument.
13036 2013-12-04 Martin Rudalics <rudalics@gmx.at>
13038 * windmove.el (windmove-other-window-loc): Handle navigation
13039 between windows (excluding the minibuffer window - Bug#16017).
13041 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
13043 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
13044 in D-Bus type syntax.
13045 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
13046 preserve unibyte strings. (Bug#16048)
13048 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13050 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
13051 Call force-mode-line-update is the proper buffer (bug#16042).
13053 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
13055 * vc/log-edit.el (log-edit-add-new-comment): Rename to
13056 `log-edit-remember-comment', make argument optional. Adjust all
13058 (log-edit-mode): Add `log-edit-remember-comment' to
13059 `kill-buffer-hook' locally.
13060 (log-edit-kill-buffer): Don't remember comment explicitly since
13061 the buffer is killed anyway.
13063 2013-12-04 Juri Linkov <juri@jurta.org>
13065 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
13066 add-hook and remove-hook for multi-buffer search. (Bug#16035)
13068 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
13070 * notifications.el (notifications-close-notification): Call the
13071 D-Bus method with ID being a `:uint32'. (Bug#16030)
13073 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
13075 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
13077 2013-12-03 Juri Linkov <juri@jurta.org>
13079 * progmodes/compile.el (compilation-start): Rename window alist
13080 entry `no-display-ok' to `allow-no-window'.
13082 * simple.el (shell-command): Add window alist entry
13083 `allow-no-window' to `display-buffer'.
13084 (async-shell-command): Doc fix.
13086 * window.el (display-buffer-no-window): New action function.
13087 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
13089 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13091 * vc/log-edit.el (log-edit-set-header): Extract from
13092 `log-edit-toggle-header'.
13093 (log-edit-extract-headers): Separate the summary, when extracted
13094 from header, from the rest of the message with an empty line.
13096 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
13097 line, if present, to the Summary header.
13099 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13101 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
13102 in current-buffer (bug#16029).
13104 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
13106 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
13107 (debugger-mode-map): Bind it.
13108 (debugger--backtrace-base): New function.
13109 (debugger-eval-expression): Use it.
13110 (debugger-frame-number): Skip local vars when present.
13111 (debugger--locals-visible-p, debugger--insert-locals)
13112 (debugger--show-locals, debugger--hide-locals): New functions.
13114 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
13116 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
13118 (tramp-get-remote-locale): New defun.
13119 (tramp-open-connection-setup-interactive-shell): Use it.
13121 2013-12-02 Leo Liu <sdl.web@gmail.com>
13123 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
13125 * progmodes/sh-script.el (sh-shell-process):
13126 * progmodes/octave.el (inferior-octave-process-live-p):
13127 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
13128 (gdb-inferior-io-sentinel):
13129 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
13131 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13133 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
13134 `save-selected-window' to `log-edit-hide-buf'. This makes
13135 `log-edit-show-files' idempotent.
13136 (log-edit-show-files): Mark the new window as dedicated.
13138 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13140 * vc/log-edit.el (log-edit-mode-map): Add binding for
13141 `log-edit-kill-biffer'.
13142 (log-edit-hide-buf): Add a FIXME comment.
13143 (log-edit-add-new-comment): New function, extracted from
13145 (log-edit-done, log-edit-add-to-changelog): Use it.
13146 (log-edit-kill-buffer): New command.
13148 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13150 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
13151 instead of killing the buffer.
13153 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13155 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
13157 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13159 * net/eww.el (eww-form-checkbox-selected-symbol)
13160 (eww-form-checkbox-symbol): New customizable variable.
13161 (eww-form-checkbox, eww-toggle-checkbox):
13162 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
13164 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
13165 (shr--get-media-pref, shr--extract-best-source): New function.
13166 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
13167 no :src tag was specified.
13169 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
13170 (eww-render): Handle `eww-use-external-browser-for-content-type'.
13171 Use \\` to match beginning of string instead of ^.
13172 (eww-browse-with-external-browser): Provide optional URL parameter.
13173 (eww-render): Set `eww-current-title' back to "".
13175 * net/shr.el (shr-tag-video): Display content for video if no
13176 poster is available.
13177 (shr-tag-audio): Add support for <audio> tag.
13179 * net/eww.el (eww-text-input-types): New const.
13180 (eww-process-text-input): Treat input types in
13181 `eww-text-input-types' as text.
13183 * net/shr.el (shr-tag-table): Fix comment typo.
13185 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13187 * net/eww.el (eww-follow-link): New command to avoid reloading
13188 pages when we follow #target links (bug#15243).
13189 (eww-quit): Special mode buffers shouldn't query before exiting.
13191 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13193 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
13196 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13198 * net/eww.el (eww-restore-history): Update the window title after
13199 moving in the history.
13200 (eww-current-dom): New variable used to save the current DOM.
13202 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
13204 * vc/log-edit.el (log-edit-mode-map): Add binding for
13205 `log-edit-beginning-of-line'.
13206 (log-edit-setup-add-author): New user option.
13207 (log-edit-beginning-of-line): New command.
13208 (log-edit): Move major mode call above the contents setup so that
13209 the local variable values are already applied.
13210 (log-edit): Only insert "Author: " when
13211 `log-edit-setup-add-author' is non-nil.
13212 (log-edit): When SETUP is non-nil, position point after ": "
13213 instead of point-min.
13215 2013-12-01 Glenn Morris <rgm@gnu.org>
13217 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
13219 2013-11-30 Eli Zaretskii <eliz@gnu.org>
13221 * startup.el (fancy-splash-frame): On MS-Windows, trigger
13222 redisplay to make sure the initial frame gets a chance to become
13223 visible. (Bug#16014)
13225 2013-11-30 Martin Rudalics <rudalics@gmx.at>
13227 Support resizing frames and windows pixelwise.
13228 * cus-start.el (frame-resize-pixelwise)
13229 (window-resize-pixelwise): New entries.
13230 * emacs-lisp/debug.el (debug): Use window-total-height instead
13231 of window-total-size.
13232 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
13233 * help.el (describe-bindings-internal): Use help-buffer as
13234 argument for with-help-window.
13235 (temp-buffer-max-width): New option.
13236 (resize-temp-buffer-window, help-window-setup)
13237 (with-help-window): Rewrite.
13238 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
13240 * window.el (frame-char-size, window-min-pixel-height)
13241 (window-safe-min-pixel-height, window-safe-min-pixel-width)
13242 (window-min-pixel-width, window-safe-min-pixel-size)
13243 (window-combination-p, window-safe-min-size)
13244 (window-resizable-p, window--size-to-pixel)
13245 (window--pixel-to-size, window--resize-apply-p): New functions.
13246 (window-safe-min-height): Fix doc-string.
13247 (window-size, window-min-size, window--min-size-1)
13248 (window-sizable, window-sizable-p, window--min-delta-1)
13249 (window-min-delta, window--max-delta-1, window-max-delta)
13250 (window--resizable, window--resizable-p, window-resizable)
13251 (window-full-height-p, window-full-width-p, window-at-side-p)
13252 (window--in-direction-2, window-in-direction)
13253 (window--resize-reset-1, window--resize-mini-window)
13254 (window-resize, window-resize-no-error)
13255 (window--resize-child-windows-normal)
13256 (window--resize-child-windows, window--resize-siblings)
13257 (window--resize-this-window, window--resize-root-window)
13258 (window--resize-root-window-vertically)
13259 (adjust-window-trailing-edge, enlarge-window, shrink-window)
13260 (maximize-window, minimize-window, delete-window)
13261 (quit-restore-window, window-split-min-size, split-window)
13262 (balance-windows-2, balance-windows)
13263 (balance-windows-area-adjust, balance-windows-area)
13264 (window--state-get-1, window-state-get, window--state-put-1)
13265 (window--state-put-2, window-state-put)
13266 (display-buffer-record-window, window--display-buffer):
13267 Make functions handle pixelwise sizing of windows.
13268 (display-buffer--action-function-custom-type)
13269 (display-buffer-fallback-action):
13270 Add display-buffer-in-previous-window.
13271 (display-buffer-use-some-window): Resize window to height it had
13273 (fit-window-to-buffer-horizontally): New option.
13274 (fit-frame-to-buffer): Describe new values.
13275 (fit-frame-to-buffer-bottom-margin): Replace with
13276 fit-frame-to-buffer-margins.
13277 (window--sanitize-margin): New function.
13278 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
13279 using window-text-pixel-size.
13281 2013-11-30 Glenn Morris <rgm@gnu.org>
13283 * emacs-lisp/bytecomp.el (byte-compile-form):
13284 Make the `interactive-only' warning like the `obsolete' one.
13285 * comint.el (comint-run):
13286 * files.el (insert-file-literally, insert-file):
13287 * replace.el (replace-string, replace-regexp):
13288 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
13289 (goto-line, insert-buffer, next-line, previous-line):
13290 Tweak `interactive-only' spec.
13292 Stop keeping (most) generated cedet grammar files in the repository.
13293 * Makefile.in (semantic): New.
13294 (compile-main): Depend on semantic.
13296 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13298 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
13299 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
13301 * uniquify.el (uniquify-buffer-name-style): Change default.
13303 * loadup.el: Preload "uniquify".
13305 * time.el (display-time-update): Update all mode lines (bug#15999).
13307 * electric.el (electric-indent-mode): Enable by default.
13308 * loadup.el: Preload "electric".
13310 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
13312 * emacs-lisp/helpers.el (string-empty-p): New function.
13313 (string-blank-p): New function.
13315 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
13317 * imenu.el (imenu--index-alist): Add missing dot to the docstring
13320 2013-11-29 Andreas Politz <politza@fh-trier.de>
13321 * imenu.el (imenu--subalist-p): Don't error on non-conses and
13322 allow non-lambda lists as functions.
13323 (imenu--in-alist): Don't recurse into non-subalists.
13324 (imenu): Don't pass function itself as an argument (Bug#14029).
13326 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13328 * progmodes/python.el (python-mode-map): Remove binding for ":".
13329 (python-indent-electric-colon): Remove command.
13330 (python-indent-post-self-insert-function): Integrate the previous code
13331 of python-indent-electric-colon. Make it conditional on
13332 electric-indent-mode.
13333 (python-mode): Add ?: to electric-indent-chars.
13334 Move python-indent-post-self-insert-function to the end of
13335 post-self-insert-hook.
13337 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13339 * doc-view.el (doc-view-goto-page): Update mode-line.
13341 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
13343 2013-11-27 Glenn Morris <rgm@gnu.org>
13345 * international/charprop.el, international/uni-bidi.el:
13346 * international/uni-category.el, international/uni-combining.el:
13347 * international/uni-comment.el, international/uni-decimal.el:
13348 * international/uni-decomposition.el, international/uni-digit.el:
13349 * international/uni-lowercase.el, international/uni-mirrored.el:
13350 * international/uni-name.el, international/uni-numeric.el:
13351 * international/uni-old-name.el, international/uni-titlecase.el:
13352 * international/uni-uppercase.el:
13353 Remove generated files from VCS repository.
13355 2013-11-27 Eli Zaretskii <eliz@gnu.org>
13357 * filenotify.el (file-notify-add-watch): Don't special-case
13358 w32notify when computing the directory to watch.
13360 2013-11-27 Glenn Morris <rgm@gnu.org>
13362 Make bootstrap without generated uni-*.el files possible again.
13363 * loadup.el: Update command-line-args checking for unidata-gen.
13364 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
13365 * composite.el, international/characters.el:
13366 Handle unicode tables being undefined.
13368 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
13369 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
13370 (compile-main): Depend on leim rule.
13372 * loadup.el: Move leim-list.el to leim/ subdirectory.
13373 * startup.el (normal-top-level): No more leim directory.
13374 * international/ja-dic-cnv.el (skkdic-convert):
13375 Disable version-control and autoloads in output files.
13376 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
13377 Disable version-control and autoloads in output files.
13378 * leim/quail: Move here from ../leim.
13379 * leim/quail/hangul.el (hangul-input-method-activate):
13380 Add autoload cookie.
13381 (generated-autoload-load-name): Set file-local value.
13382 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
13383 (generated-autoload-load-name): Set file-local value.
13385 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
13387 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
13388 (eww-add-bookmark): Ask confirmation when add to bookmarks.
13389 (eww-quit): Ask confirmation before quitting eww.
13391 2013-11-26 Eli Zaretskii <eliz@gnu.org>
13393 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
13394 reading output from Diff on MS-Windows and MS-DOS.
13396 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
13398 * emacs-lisp/helpers.el (string-reverse): New function.
13400 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
13402 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
13403 names on MS Windows, like "/[::1]:".
13405 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
13408 2013-11-26 Glenn Morris <rgm@gnu.org>
13410 * progmodes/python.el (python-indent-guess-indent-offset):
13411 Avoid corner-case error. (Bug#15975)
13413 Preload leim-list.el. (Bug#4789)
13414 * loadup.el: Load leim-list.el when found.
13415 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
13417 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
13419 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
13421 * emacs-lisp/helpers.el (string-join): New function.
13423 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
13425 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13426 Mark as obsolete and replace it with a symbol property.
13427 (byte-compile-form): Use new 'interactive-only property.
13428 * comint.el, files.el, replace.el, simple.el:
13429 Apply new 'interactive-only properly.
13431 2013-11-25 Martin Rudalics <rudalics@gmx.at>
13433 * window.el (display-buffer-at-bottom): Make sure that
13434 split-window-sensibly creates the new window on bottom
13437 2013-11-23 David Kastrup <dak@gnu.org>
13439 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
13440 on the conflict markers when available.
13441 (smerge--get-marker): New function.
13442 (smerge-end-re, smerge-base-re): Add subgroup.
13444 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13446 * frame.el (handle-focus-in, handle-focus-out): Add missing
13449 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
13451 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
13452 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
13454 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13456 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
13457 (gomoku--last-pos): New var.
13458 (gomoku--intangible-chars): New const.
13459 (gomoku--intangible): New function.
13460 (gomoku-mode): Use it. Derive from special-mode.
13461 (gomoku-move-up): Adjust line count.
13462 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
13463 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
13464 Simplify accordingly.
13466 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
13467 Remove blink-cursor code.
13468 (blink-cursor-timer-function, blink-cursor-suspend):
13469 Don't special-case GUIs.
13470 (blink-cursor-mode): Use focus-in/out-hook.
13472 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
13474 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
13475 work when annotation is invisible (Bug#13886).
13477 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
13479 * json.el (json-alist-p): Only return non-nil if the alist has
13480 simple keys (Bug#13518).
13482 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
13484 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
13485 when control-statement is the first statement in a buffer (Bug#15956).
13487 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
13489 * imenu.el (imenu-generic-skip-comments-and-strings):
13490 New option (Bug#15560).
13491 (imenu--generic-function): Use it.
13493 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
13495 * minibuffer.el (completion--in-region-1): Scroll the correct window.
13498 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
13500 * emacs-lisp/helpers.el: Add some string helpers.
13501 (string-trim-left): Removes leading whitespace.
13502 (string-trim-right): Removes trailing whitespace.
13503 (string-trim): Removes leading and trailing whitespace.
13505 * subr.el (string-suffix-p): New function.
13507 2013-11-23 Glenn Morris <rgm@gnu.org>
13509 * progmodes/python.el (python-shell-send-file):
13510 Add option to delete file when done. (Bug#15647)
13511 (python-shell-send-string, python-shell-send-region): Use it.
13513 2013-11-23 Ivan Shmakov <ivan@siamics.net>
13515 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
13516 to set buffer-read-only to t, never to nil. (Bug#15938)
13518 * textmodes/tex-mode.el (latex-noindent-environments):
13519 Add safe-local-variable property. (Bug#15936)
13521 2013-11-23 Glenn Morris <rgm@gnu.org>
13523 * textmodes/enriched.el (enriched-mode): Doc fix.
13524 * emacs-lisp/authors.el (authors-renamed-files-alist):
13525 Add enriched.doc -> enriched.txt.
13527 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
13529 2013-11-22 Leo Liu <sdl.web@gmail.com>
13531 * progmodes/octave.el (inferior-octave-startup): Spit out error
13534 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
13536 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
13539 (ruby-encoding-magic-comment-style): Add :version.
13541 2013-11-22 Leo Liu <sdl.web@gmail.com>
13543 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
13545 (octave-help-mode): Adapt to change to help-mode-finish to use
13546 derived-mode-p on 2013-09-17.
13547 (inferior-octave-prompt): Also match octave-gui.
13548 (octave-kill-process): Don't ask twice. (Bug#10564)
13550 2013-11-22 Leo Liu <sdl.web@gmail.com>
13552 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
13553 (inferior-octave-startup, inferior-octave-check-process)
13554 (inferior-octave-track-window-width-change)
13555 (octave-completion-at-point, octave-eldoc-function): Use it.
13556 (octave-kill-process): Provide confirmation. (Bug#10564)
13558 2013-11-21 Leo Liu <sdl.web@gmail.com>
13560 * progmodes/octave.el (octave-mode, inferior-octave-mode):
13561 Fix obsolete variable comment-use-global-state.
13563 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13565 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
13566 Add `octave-source-file'.
13567 (octave-source-file): New function. (Bug#15935)
13569 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
13571 * net/eww.el (eww-local-regex): New variable.
13572 (eww): Use it to detect localhost and similar.
13574 2013-11-21 Leo Liu <sdl.web@gmail.com>
13576 Add completion for command `ag'.
13577 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
13578 (pcomplete/ag): New function.
13579 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
13581 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13583 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
13585 (make-obsolete): Remove interactive spec.
13587 2013-11-21 Glenn Morris <rgm@gnu.org>
13589 * startup.el (command-line-1): Use path-separator with -L.
13591 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
13593 * emacs-lisp/package.el (describe-package-1): Add package archive
13596 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
13598 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
13599 Change default to "# encoding: %s" to differentiate it from the
13600 default Ruby encoding comment template.
13602 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
13604 * ses.el (ses-mode): Doc fix. (Bug#14748)
13606 2013-11-20 Leo Liu <sdl.web@gmail.com>
13608 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
13610 2013-11-19 Dan Nicolaescu <dann@gnu.org>
13612 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
13613 when rebase or bisect are in progress.
13615 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
13617 * filenotify.el (file-notify-add-watch): Doc fix.
13619 2013-11-19 Leo Liu <sdl.web@gmail.com>
13621 * obsolete/rcompile.el: Mark obsolete.
13623 * progmodes/compile.el (compilation-start)
13624 (compilation-goto-locus, compilation-find-file):
13625 Pass no-display-ok and handle nil value from display-buffer.
13628 * window.el (display-buffer-alist, display-buffer): Document the
13629 new parameter no-display-ok. Return either a window or nil
13630 but never a non-window value.
13632 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13634 * electric.el (electric-indent-mode-map): Remove.
13635 (electric-indent-mode): Change the global-map instead (bug#15915).
13637 * textmodes/text-mode.el (paragraph-indent-minor-mode):
13640 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
13642 * emacs-lisp/nadvice.el (remove-function): Align with
13643 add-function's behavior.
13645 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
13646 (gdb--string-regexp): New constant.
13647 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
13648 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
13649 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
13651 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
13652 Adjust use accordingly.
13653 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
13655 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
13657 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
13658 interpolation curlies (Bug#15914).
13660 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
13662 * calc/calc.el (calc-context-sensitive-enter): New variable.
13663 (calc-enter): Use `calc-context-sensitive-enter'.
13665 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
13667 * progmodes/cfengine.el: Version bump.
13668 (cfengine-cf-promises): New defcustom to locate cf-promises.
13669 (cfengine3-vartypes): Add new "data" type.
13670 (cfengine3--current-word): New function to get current name-like
13671 word or its bounds.
13672 (cfengine3--current-function): New function to look up a CFEngine
13673 function's definition.
13674 (cfengine3-format-function-docstring): New function.
13675 (cfengine3-make-syntax-cache): New function.
13676 (cfengine3-documentation-function): New function: ElDoc glue.
13677 (cfengine3-completion-function): New function: completion glue.
13678 (cfengine3-mode): Set `compile-command',
13679 `eldoc-documentation-function', and add to
13680 `completion-at-point-functions'.
13682 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
13684 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
13685 `tramp-current-connection'.
13687 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
13689 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
13690 nil/self/true/false with "end of symbol".
13692 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
13694 * subr.el (version-regexp-alist): Fix a typo.
13696 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
13698 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
13699 "en_US.utf8" and "LC_CTYPE" to "".
13700 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
13701 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
13703 2013-11-15 Leo Liu <sdl.web@gmail.com>
13705 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
13707 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
13709 * progmodes/gud.el (ctl-x-map):
13710 Remove C-x SPC binding. (Bug#12342)
13711 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
13713 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
13715 * subr.el (version-regexp-alist):
13716 Recognize hg, svn and darcs versions as snapshot versions.
13718 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
13719 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
13720 (ruby--encoding-comment-required-p): Extract from
13721 `ruby-mode-set-encoding'.
13722 (ruby-mode-set-encoding): Add the ability to always insert an
13723 utf-8 encoding comment. Fix and simplify coding comment update
13726 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
13728 * net/tramp-gvfs.el (top): Run init code only when
13729 `tramp-gvfs-enabled' is not nil.
13730 (tramp-gvfs-enabled): Check also :system bus.
13732 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
13734 Sync with upstream verilog-mode revision 78e66ba.
13735 * progmodes/verilog-mode.el (verilog-end-of-defun)
13736 (verilog-type-completion, verilog-get-list): Remove unused funcs.
13737 (verilog-get-end-of-defun): Remove unused argument.
13738 (verilog-comment-depth): Remove unused local `e'.
13739 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
13740 Don't pass arg to verilog-get-end-of-defun.
13742 2013-11-14 Glenn Morris <rgm@gnu.org>
13744 * obsolete/assoc.el (aget): Prefix dynamic variable.
13746 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
13748 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
13750 * widget.el, hfy-cmap.el: Remove bogus package version number.
13752 2013-11-13 Glenn Morris <rgm@gnu.org>
13754 * replace.el (replace-eval-replacement):
13755 Try to give more helpful error message. (Bug#15836)
13757 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13758 (archive-7z-update): Avoid custom type mismatches.
13760 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
13762 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
13764 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
13765 address can be empty.
13767 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
13768 Accept nil SWITCHES.
13769 (tramp-gvfs-handle-write-region): Implement APPEND.
13771 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
13773 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
13774 binary "|" operator and closing block args delimiter.
13775 Remove FIXME comment referring to Ruby 1.8-only syntax.
13776 (ruby-smie--implicit-semi-p): Not after "|" operator.
13777 (ruby-smie--closing-pipe-p): New function.
13778 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
13779 (ruby-smie-rules): Indent after "|".
13781 2013-11-12 Glenn Morris <rgm@gnu.org>
13783 * ps-print.el (ps-face-attribute-list):
13784 Handle anonymous faces. (Bug#15827)
13786 2013-11-12 Martin Rudalics <rudalics@gmx.at>
13788 * window.el (display-buffer-other-frame): Fix doc-string.
13791 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13793 * subr.el (force-mode-line-update): Delete, move to buffer.c.
13795 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
13797 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
13798 (tramp-sh-handle-file-local-copy): Don't write a message when
13799 saving temporary files.
13801 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
13802 both directories are remote.
13803 (tramp-smb-handle-directory-files): Do not return double entries.
13804 Do not expand full file names.
13805 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
13806 (tramp-smb-handle-write-region): Implement APPEND.
13807 (tramp-smb-get-stat-capability): Fix a stupid bug.
13809 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13811 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
13813 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13815 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
13816 throwing error over malformed let/let* (bug#15814).
13818 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13820 * iswitchb.el (iswitchb-mode): Mark obsolete.
13822 2013-11-11 Glenn Morris <rgm@gnu.org>
13824 * international/uni-bidi.el, international/uni-category.el:
13825 * international/uni-name.el, international/uni-numeric.el:
13826 Regenerate for Unicode 6.3.0.
13828 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
13830 * net/tramp.el (tramp-methods):
13831 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
13832 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
13834 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
13836 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13837 Force highlighting text after Summary keyword in doc face for rpm.
13839 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
13841 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
13842 available and the word has no wildcards, append one to the grep pattern.
13843 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
13844 (ispell-complete-word): Call `ispell-lookup-words' with the value
13845 independent of `ispell-look-p'.
13847 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13849 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
13851 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
13854 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13856 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
13857 (ruby-font-lock-keywords): Use backquote.
13859 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13861 * progmodes/ruby-mode.el (ruby-smie--forward-token)
13862 (ruby-smie--backward-token): Only consider full-string matches.
13864 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
13866 * faces.el (describe-face): Add distant-foreground.
13868 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
13870 * progmodes/ruby-mode.el: Improve encoding comment handling.
13871 (ruby-encoding-magic-comment-style): New option.
13872 (ruby-custom-encoding-magic-comment-template): New option.
13873 (ruby--insert-coding-comment, ruby--detect-encoding):
13874 New functions extracted from `ruby-mode-set-encoding'.
13875 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
13876 to control the style of the auto-inserted encoding comment.
13878 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13880 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
13881 Use `smie-backward-sexp' with token argument.
13883 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
13885 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13886 Remove instrumentation code.
13888 2013-11-08 Glenn Morris <rgm@gnu.org>
13890 * progmodes/autoconf.el (autoconf-mode):
13891 Tweak comment-start-skip. (Bug#15822)
13893 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13895 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
13896 at bobp (bug#15826).
13897 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
13899 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
13901 * man.el (Man-start-calling): New macro, extracted from
13902 Man-getpage-in-background.
13903 (Man-getpage-in-background): Use it.
13904 (Man-update-manpage): New command.
13905 (Man-mode-map): Bind it.
13907 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13909 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
13910 of "and", "or", "&&" and "||".
13911 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
13912 argument. Prohibit opening curly brace because it could only be a
13913 block opener in that position.
13914 (ruby-smie--forward-token, ruby-smie--backward-token):
13915 Separate "|" from "&" or "*" going after it. That can happen in block
13917 (ruby-smie--indent-to-stmt): New function, seeks the end of
13918 previous statement or beginning of buffer.
13919 (ruby-smie-rules): Use it.
13920 (ruby-smie-rules): Check if there's a ":" before a curly block
13921 opener candidate; if there is, it's a hash.
13923 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13925 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
13926 (cl--block-wrapper): Fix last accidental change.
13928 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
13930 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13931 Instrument, in order to hunt failure on hydra.
13933 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13935 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
13936 malformed bindings form (bug#15814).
13938 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
13940 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
13941 "." compared to " @ ". This incidentally fixes some indentation
13942 examples with "do".
13943 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
13944 (ruby-smie-grammar): New tokens: "and" and "or".
13945 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
13946 Exclude "and" and "or". Remove "do" in order to work around token
13948 (ruby-smie-rules): Add all infix tokens. Handle the case of
13949 beginning-of-buffer.
13951 2013-11-06 Glenn Morris <rgm@gnu.org>
13953 * Makefile.in (setwins_almost, setwins_for_subdirs):
13954 Avoid accidental matches.
13956 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13958 * menu-bar.el (popup-menu): Use key-binding.
13960 2013-11-06 Eli Zaretskii <eliz@gnu.org>
13962 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
13963 menus, support also the menus produced by minor modes.
13966 2013-11-06 Leo Liu <sdl.web@gmail.com>
13968 * thingatpt.el (thing-at-point-looking-at): Add optional arg
13969 DISTANCE to bound the search. All uses changed. (Bug#15808)
13971 2013-11-06 Glenn Morris <rgm@gnu.org>
13973 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
13974 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
13975 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
13977 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13979 * electric.el (electric-indent-just-newline): New command.
13980 (electric-indent-mode-map): New keymap.
13981 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
13982 Re-add :group which weren't redundant.
13984 * electric.el (electric-indent-local-mode): New minor mode.
13985 (electric-indent-functions-without-reindent): New var.
13986 (electric-indent-post-self-insert-function): Use it.
13987 * emacs-lisp/gv.el (buffer-local-value): Add setter.
13989 2013-11-05 Eli Zaretskii <eliz@gnu.org>
13991 * international/quail.el (quail-help): Be more explicit about the
13992 meaning of the labels shown on the keys. (Bug#15800)
13994 * startup.el (normal-top-level): Load the subdirs.el files before
13995 setting the locale environment. (Bug#15805)
13997 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13999 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
14000 via arguments so as to get the right ones (bug#15418).
14002 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
14004 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
14006 Fix problems found while writing a test suite.
14008 * net/tramp-compat.el (tramp-compat-load): New defun.
14009 * net/tramp.el (tramp-handle-load): Use it.
14011 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
14012 "(numberp ok-if-already-exists)" correctly.
14014 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
14016 * international/characters.el (glyphless-char-display-control):
14019 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
14021 * progmodes/python.el (python-mode):
14022 * progmodes/scheme.el (scheme-mode):
14023 * progmodes/prolog.el (prolog-mode):
14024 * progmodes/ruby-mode.el (ruby-mode):
14025 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
14026 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
14028 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14030 * rect.el (rectangle--highlight-for-redisplay):
14031 * emacs-lisp/smie.el (smie--next-indent-change):
14032 Use buffer-chars-modified-tick.
14034 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
14036 * electric.el (electric-indent-post-self-insert-function):
14037 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
14039 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
14041 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
14043 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14045 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
14048 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14050 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
14052 * progmodes/python.el: Fix up last change.
14053 (python-shell--save-temp-file): New function.
14054 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
14055 `string' comes from the current buffer.
14056 (python-shell-send-string-no-output): Remove `msg' arg.
14057 (python--use-fake-loc): New var.
14058 (python-shell-buffer-substring): Obey it. Try to compensate for the
14059 extra coding line added by python-shell--save-temp-file.
14060 (python-shell-send-region): Use python-shell--save-temp-file and
14061 python-shell-send-file directly. Add `nomain' argument.
14062 (python-shell-send-buffer): Use python-shell-send-region.
14063 (python-electric-pair-string-delimiter): New function.
14064 (python-mode): Use it.
14066 2013-11-04 Eli Zaretskii <eliz@gnu.org>
14068 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
14069 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
14070 environment and decoding all of the default-directory's to here
14072 (command-line): Decode also argv[0].
14074 * loadup.el: Error out if default-directory is a multibyte string
14075 when we are dumping.
14077 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
14079 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
14081 * emacs-lisp/package.el (package-menu-mode)
14082 (package-menu--print-info, package-menu--archive-predicate):
14083 Add Archive column to package list.
14085 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
14087 Fix problems found while writing a test suite.
14089 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
14090 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
14091 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
14092 to nil when running original file name handler. Otherwise,
14093 there are problems with constructs like "$$FOO".
14095 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
14098 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
14100 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
14102 * subr.el (version<, version<=, version=):
14103 Update docstrings with information for snapshot versions.
14105 * helpers.el: New library for misc helper functions.
14106 (hash-table-keys): New function returning a list of hash keys.
14107 (hash-table-values): New function returning a list of hash values.
14109 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
14111 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14112 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
14114 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
14116 * textmodes/fill.el (fill-single-char-nobreak-p): New function
14117 checking whether point is after a 1-letter word.
14119 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14121 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
14122 Don't infloop when expanding region over `multiline' syntax-type that
14123 begins a line (bug#15778).
14125 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14127 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
14128 Make it into a proper minor mode.
14129 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
14130 (rectangle-mark-mode-map): New keymap.
14131 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
14133 2013-11-04 Glenn Morris <rgm@gnu.org>
14135 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
14137 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14139 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
14140 (ruby-smie-rules): Use smie-rule-parent instead.
14142 * emacs-lisp/smie.el (smie-rule-parent): Always call
14143 smie-indent-virtual rather than only for hanging tokens.
14144 (smie--next-indent-change): New helper command.
14146 2013-11-03 Glenn Morris <rgm@gnu.org>
14148 * Makefile.in (abs_srcdir): Remove.
14149 (emacs): Unset EMACSLOADPATH.
14151 2013-11-02 Glenn Morris <rgm@gnu.org>
14153 * Makefile.in (EMACS): Use a relative filename.
14154 (abs_top_builddir): Remove.
14155 (custom-deps, finder-data, autoloads): Use --chdir.
14157 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
14159 Use relative filenames in TAGS files.
14160 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14161 (lisptagsfiles4, TAGS): Use relative file names.
14162 (TAGS-LISP): Remove.
14163 (maintainer-clean): No more TAGS-LISP file.
14165 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14166 (lisptagsfiles4): Use absolute filenames again.
14167 (TAGS, TAGS-LISP): Not everything needs to run in one line.
14168 Remove all *loaddefs files, not just the first. Remove esh-groups.
14169 (maintainer-clean): Delete TAGS, TAGS-LISP.
14171 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14173 * emacs-lisp/package.el (package-version-join):
14174 Recognize snapshot versions.
14176 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14178 * subr.el (version-regexp-alist): Add support for snapshot versions.
14180 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14182 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
14183 New function, replacement for `smie-rule-parent' for when we want to
14184 skip over our direct parent if it's an assignment token..
14185 (ruby-smie-rules): Use it.
14187 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14189 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
14190 unconditionally. Remove now unnecessary forward declarations.
14191 Remove XEmacs-specific setup.
14192 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
14193 (ruby-font-lock-syntactic-keywords)
14194 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
14195 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
14196 (ruby-here-doc-end-syntax): Remove.
14197 (ruby-mode): Don't check whether `syntax-propertize-rules' is
14198 defined as function.
14200 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14202 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
14204 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14206 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
14207 table and abbrev table, `define-derived-mode' does that for us
14210 2013-11-01 Glenn Morris <rgm@gnu.org>
14212 * Makefile.in: Remove manual mh-e dependencies (writing .elc
14213 files is atomic for some time, so no parallel compilation issues).
14215 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
14217 * faces.el (face-x-resources): Add :distant-foreground.
14218 (region): Use :distant-foreground for gtk and ns.
14220 2013-11-01 Tassilo Horn <tsdh@gnu.org>
14222 Allow multiple bibliographies when BibLaTeX is used rather than
14224 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
14225 (reftex-locate-bibliography-files): Us it.
14227 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
14229 * image.el (image-type-header-regexps): Fix the 'pbm' part to
14230 allow comments in pbm files.
14232 * term/w32-win.el (dynamic-library-alist): Support newer versions
14233 of libjpeg starting with v7: look only for the DLL from the
14234 version against which Emacs was built.
14235 Support versions of libpng beyond 1.4.x.
14236 Support libtiff v4.x.
14238 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14240 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
14241 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
14242 Add property :safe.
14243 (ruby-deep-arglist): Add property :type.
14245 2013-10-31 Glenn Morris <rgm@gnu.org>
14247 * Makefile.in (custom-deps, finder-data): No need to setq the target
14248 variables, we are in the right directory and the defaults work fine.
14250 2013-10-30 Glenn Morris <rgm@gnu.org>
14252 * Makefile.in (autoloads): Do not use abs_lisp.
14254 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14255 `newline' does not respect `standard-output', so use `princ'.
14257 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
14259 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
14260 * buff-menu.el (Buffer-menu--unmark): New function.
14261 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
14263 2013-10-30 Glenn Morris <rgm@gnu.org>
14265 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
14267 * emacs-lisp/package.el (lm-homepage): Declare.
14269 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
14272 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
14274 * Makefile.in (finder-data, autoloads, update-subdirs)
14275 (compile-main, compile-clean, compile-always, bootstrap-clean):
14276 Check return value of cd.
14277 (compile-calc): Remove.
14279 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14281 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
14283 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
14284 (byte-compile-and-folded): New function.
14285 (=, <, >, <=, >=): Use it.
14287 * dos-w32.el (minibuffer-history-case-insensitive-variables)
14288 (path-separator, null-device, buffer-file-coding-system)
14289 (lpr-headers-switches): Check system-type before modifying them.
14290 (find-buffer-file-type-coding-system): Mark obsolete.
14291 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
14292 find-file-not-found-set-buffer-file-coding-system.
14293 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
14294 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
14295 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
14296 (w32-direct-print-region-helper, w32-direct-print-region-function)
14297 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
14298 * startup.el (normal-top-level-add-subdirs-to-load-path):
14299 * ps-print.el (ps-print-region-function):
14300 * lpr.el (print-region-function): Use new name.
14302 * subr.el (custom-declare-variable-early): Remove function.
14303 (custom-declare-variable-list): Remove var.
14304 (error, user-error): Remove `while' loop.
14305 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
14306 (user-emacs-directory-warning, locate-user-emacs-file):
14308 * simple.el (read-quoted-char-radix, read-quoted-char):
14309 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
14311 * custom.el (custom-declare-variable-list): Don't process
14312 custom-declare-variable-list.
14314 * progmodes/python.el (python-shell-get-buffer): New function.
14315 (python-shell-get-process): Use it.
14316 (python-shell-send-string): Always use utf-8 and add a cookie to tell
14317 Python which encoding was used. Don't split-string since we only care
14318 about the first line. Return the temp-file, if applicable.
14319 (python-shell-send-region): Tell compile.el how to turn locations in
14320 the temp-file into locations in the source buffer.
14322 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14324 * subr.el (undefined): Add missing behavior from the C code for
14327 * rect.el: Use lexical-binding. Add new rectangular region support.
14328 (rectangle-mark): New command.
14329 (rectangle--region): New var.
14330 (deactivate-mark-hook): Reset rectangle--region.
14331 (rectangle--extract-region, rectangle--insert-for-yank)
14332 (rectangle--highlight-for-redisplay)
14333 (rectangle--unhighlight-for-redisplay): New functions.
14334 (region-extract-function, redisplay-unhighlight-region-function)
14335 (redisplay-highlight-region-function): Use them to handle
14336 rectangular region.
14337 * simple.el (region-extract-function): New var.
14338 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
14339 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
14340 (kill-region): Replace obsolete `yank-handler' arg with `region'.
14341 (copy-region-as-kill, kill-ring-save): Add `region' argument.
14342 (redisplay-unhighlight-region-function)
14343 (redisplay-highlight-region-function): New vars.
14344 (redisplay--update-region-highlight): New function.
14345 (pre-redisplay-function): Use it.
14346 (exchange-point-and-mark): Don't deactivate the mark before
14347 reactivate-it anyway.
14348 * comint.el (comint-kill-region): Remove yank-handler argument.
14349 * delsel.el (delete-backward-char, backward-delete-char-untabify)
14350 (delete-char): Remove property, since it's now part of their
14352 (self-insert-iso): Remove property since this command doesn't exist.
14354 * emacs-lisp/package.el (package--download-one-archive)
14355 (describe-package-1): Don't query the user about final newline.
14357 2013-10-29 Daniel Colascione <dancol@dancol.org>
14359 * net/tramp.el (tramp-methods): Document new functionality.
14360 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
14361 tramp-hostname-checker if method provides one instead of scanning
14362 argument list for "%h" to decide hostname acceptability.
14364 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
14366 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14367 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14368 Handle COPY-CONTENTS. (Bug#15737)
14370 2013-10-28 Daiki Ueno <ueno@gnu.org>
14372 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14373 Document that this option has no effect with GnuPG 2.0 (bug#15552).
14375 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
14377 * image.el (defimage, image-load-path): Doc fixes.
14379 2013-10-27 Alan Mackenzie <acm@muc.de>
14381 Indent statements in macros following "##" correctly.
14382 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14383 Modify the "#" arm of a cond form to handle "#" and "##" operators.
14385 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14387 * linum.el (linum-update-window): Fix boundary test (bug#13446).
14389 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
14391 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
14392 after `=' is probably a new expression.
14394 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14396 * man.el (man-imenu-title): New option.
14397 (Man-mode-map): Add menu. (Bug#15722)
14398 (Man-mode): Add imenu to menu.
14400 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
14402 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
14403 specific in what the first arg can be: a non-keyword word,
14404 string/regexp/percent literal opener, opening paren, or unary
14405 operator followed directly by word.
14407 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14409 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
14410 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
14411 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
14412 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
14413 Remove vars, they do not apply any more.
14414 (prolog-mode-abbrev-table): Remove redundant declaration.
14415 (prolog-upper-case-string, prolog-lower-case-string): Remove.
14416 (prolog-use-smie): Remove.
14417 (prolog-smie-rules): Add indentation rule for the if-then-else layout
14418 supported by prolog-electric-if-then-else-flag.
14419 (prolog-mode-variables, prolog-menu): Use setq-local.
14420 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
14421 Remove binding to `Backspace' since this key doesn't exist anyway.
14422 Remove bindings for electric self-inserting keys.
14423 (prog-mode): Assume it's defined.
14424 (prolog-post-self-insert): New function.
14425 (prolog-mode): Use it.
14426 (prolog-indent-line, prolog-indent-level)
14427 (prolog-find-indent-of-matching-paren)
14428 (prolog-indentation-level-of-line, prolog-goto-comment-column)
14429 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
14430 (prolog-goto-next-paren, prolog-in-string-or-comment)
14431 (prolog-tokenize, prolog-inside-mline-comment)
14432 (prolog-find-start-of-mline-comment): Remove functions.
14433 (prolog-find-unmatched-paren, prolog-clause-end)
14434 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
14435 (prolog-electric--if-then-else): Rename from
14436 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
14437 (prolog-tokenize-searchkey): Remove const.
14438 (prolog-clause-info): Use forward-sexp.
14439 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
14440 (prolog-electric-if-then-else): Remove commands.
14441 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
14442 for use in post-self-insert-hook.
14443 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
14444 for use in post-self-insert-hook.
14445 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
14446 for use in post-self-insert-hook.
14447 (prolog-electric--underscore): Rename from prolog-electric--underscore;
14448 adapt it for use in post-self-insert-hook.
14450 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
14452 * emacs-lisp/ert.el (ert-run-tests-interactively):
14453 Use `completing-read'. (Bug#9756)
14455 2013-10-25 Eli Zaretskii <eliz@gnu.org>
14457 * simple.el (line-move): Call line-move-1 instead of
14458 line-move-visual when the current window hscroll is zero, but
14459 temporary-goal-column indicates we will need to hscroll as result
14460 of the movement. (Bug#15712)
14462 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
14464 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
14465 capitalization. Use :visible instead of :active.
14466 Fix `ruby-indent-exp' reference. Add menu items for the generic
14467 commands that are used with SMIE.
14468 (ruby-do-end-to-brace): Insert space after `{'.
14470 2013-10-25 John Anthony <john@jo.hnanthony.com>
14472 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
14474 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
14476 2013-10-25 Glenn Morris <rgm@gnu.org>
14478 * vc/vc.el (vc-print-log): Don't use a working revision unless
14479 one was explicitly specified. (Bug#15322)
14481 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14483 * subr.el (add-to-list): Preserve return value in compiler-macro
14486 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14488 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
14489 result. Ask user to retry using '-all' flag. (Bug#15701)
14491 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14493 * emacs-lisp/smie.el: New smie-config system.
14494 (smie-config): New defcustom.
14495 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
14496 (smie-config-guess, smie-config-save): New commands.
14497 (smie-config--mode-local, smie-config--buffer-local)
14498 (smie-config--trace, smie-config--modefuns): New vars.
14499 (smie-config--advice, smie-config--mode-hook)
14500 (smie-config--setter, smie-config-local, smie-config--get-trace)
14501 (smie-config--guess-value, smie-config--guess): New functions.
14502 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
14503 text properties. Treat "string fence" syntax like string syntax.
14505 * progmodes/sh-script.el (sh-use-smie): Change default.
14506 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
14507 (sh-var-value): Simplify by CSE.
14508 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
14509 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
14511 (sh-guess-basic-offset): Use cl-incf.
14512 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
14514 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
14516 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
14519 2013-10-24 Glenn Morris <rgm@gnu.org>
14521 * Makefile.in (abs_top_srcdir): Remove.
14522 (update-subdirs): Use relative path to update-subdirs.
14524 2013-10-24 Eli Zaretskii <eliz@gnu.org>
14526 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
14527 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
14528 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
14529 Call unmsys--file-name before expand-file-name, not after it.
14531 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
14533 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
14534 (ert-test-skipped): New error.
14535 (ert-skip, ert-stats-skipped): New defuns.
14536 (ert--skip-unless): New macro.
14537 (ert-test-skipped): New struct.
14538 (ert--run-test-debugger, ert-test-result-type-p)
14539 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
14540 (ert--stats-set-test-and-result, ert-char-for-test-result)
14541 (ert-string-for-test-result, ert-run-tests-batch)
14542 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
14543 Handle skipped tests. (Bug#9803)
14545 2013-10-24 Glenn Morris <rgm@gnu.org>
14547 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
14549 * Makefile.in (abs_top_srcdir): New, set by configure.
14550 (update-subdirs): Correct build-aux location.
14552 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
14554 * vc/vc.el (vc-print-root-log): Always set `default-directory'
14555 value, whether we could auto-deduce `backend', or not.
14557 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
14558 with parameters" example. Simplify the "is it block or is it
14559 hash" check, but also make it more thorough.
14561 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
14563 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
14565 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14567 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
14568 { if it is hanging.
14570 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
14573 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
14575 * progmodes/compile.el (compilation-directory-matcher)
14576 (compilation-page-delimiter):
14577 Support GNU Make-4.0 directory quoting. (Bug#15678)
14579 2013-10-23 Leo Liu <sdl.web@gmail.com>
14581 * ido.el (ido-tidy): Handle read-only text.
14583 2013-10-23 Glenn Morris <rgm@gnu.org>
14585 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
14586 (emacs, compile, compile-always):
14587 Quote entities that might contain whitespace.
14588 (custom-deps, finder-data, autoloads): Use abs_lisp.
14589 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14590 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14591 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
14593 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
14595 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
14596 Use `following-char'.
14598 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14600 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
14601 * progmodes/ruby-mode.el (ruby-smie-rules):
14602 Remove corresponding workaround. Fix indentation rule of ";" so it
14603 also applies when ";" is the parent.
14605 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
14607 * frame.el (display-screens, display-pixel-height)
14608 (display-pixel-width, display-mm-width, display-backing-store)
14609 (display-save-under, display-planes, display-color-cells)
14610 (display-visual-class, display-monitor-attributes-list):
14611 Mention the optional ‘display’ argument in doc strings.
14613 2013-10-22 Michael Gauland <mikelygee@amuri.net>
14615 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
14616 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
14618 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
14620 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
14621 TODO. Add "." after " @ ".
14622 (ruby-smie--at-dot-call): New function. Checks if point at method
14623 call with explicit target.
14624 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
14625 to the method name tokens when it precedes them.
14626 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
14627 (ruby-smie-rules): Add rule for indentation before and after "."
14630 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14632 * textmodes/remember.el (remember-diary-extract-entries):
14635 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
14638 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
14640 * progmodes/ruby-mode.el (ruby-smie-grammar):
14641 Add (almost) all infix operators.
14642 (ruby-smie--implicit-semi-p): Add new operator chars.
14644 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
14646 (ruby-smie--args-separator-p): Check that there's no newline
14647 between method call and its arguments.
14649 2013-10-20 Alan Mackenzie <acm@muc.de>
14651 Allow comma separated lists after Java "implements".
14653 * progmodes/cc-engine.el (c-backward-over-enum-header):
14655 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
14656 from a "disallowed" list in enum fontification.
14658 2013-10-20 Johan Bockgård <bojohan@gnu.org>
14660 * startup.el (default-frame-background-mode): Remove unused defvar.
14662 * progmodes/verilog-mode.el (verilog-mode): Don't set
14663 comment-indent-function globally.
14665 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
14667 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
14668 Move Info menu item creation to ns-win.el.
14670 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
14673 * menu-bar.el: Move GNUstep specific menus...
14675 * term/ns-win.el (ns-initialize-window-system): ... to here.
14677 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14679 * simple.el (newline): Only run post-self-insert-hook when
14680 called interactively.
14682 2013-10-19 Johan Bockgård <bojohan@gnu.org>
14684 * icomplete.el (icomplete-with-completion-tables): Add :version.
14686 2013-10-19 Alan Mackenzie <acm@muc.de>
14688 Fix fontification bugs with constructors and const.
14690 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
14691 CASE 2) Remove the check for the absence of a suffix construct
14692 after a function declaration with only types (no identifiers) in
14693 the parentheses. Also, accept a function declaration with just a
14694 type inside the parentheses, if this type can be positively
14695 recognised as such, or if a prefix keyword like "explicit" nails
14696 down the construct as a declaration.
14698 2013-10-19 Eli Zaretskii <eliz@gnu.org>
14700 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
14701 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
14702 the problem whereby selecting a menu item that leads to a
14703 minibuffer prompt moves the cursor out of the minibuffer window,
14704 making it hard to type at the prompt. Suggested by Stefan Monnier
14705 <monnier@iro.umontreal.ca>.
14707 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
14709 * menu-bar.el: Don't make Services menu.
14711 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14713 * ffap.el: Handle "/usr/include/c++/<version>" directories.
14714 (ffap-alist): Use ffap-c++-mode for c++-mode.
14715 (ffap-c++-path): New variable.
14716 (ffap-c++-mode): New function.
14718 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
14720 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
14722 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
14724 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
14725 introduced on 2013-09-08, which results in an infinite loop
14726 requesting a password.
14728 2013-10-18 Glenn Morris <rgm@gnu.org>
14730 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
14732 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
14734 Sync with upstream verilog-mode revision 1a6ecec7.
14735 * progmodes/verilog-mode.el (verilog-mode-version): Update.
14736 (verilog-mode-release-date): Remove.
14737 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
14738 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
14739 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
14740 (verilog-auto-tieoff-ignore-regexp)
14741 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
14742 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
14743 (verilog-signals-with, verilog-dir-cache-preserving)
14744 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
14746 (verilog-case-fold): New option, to control case folding in
14747 regexp searches, bug597.
14748 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
14749 (verilog-string-match-fold, verilog-in-paren-count)
14750 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
14751 (verilog-at-close-struct-p): New functions.
14752 (verilog-beg-block-re-ordered, verilog-extended-case-re)
14753 (verilog-forward-sexp, verilog-set-auto-endcomments)
14754 (verilog-leap-to-case-head): Handle "unique0" case.
14755 (verilog-in-constraint-re): New constant.
14756 (verilog-keywords, verilog-type-font-keywords):
14757 Add some SystemVerilog 1800-2012 keywords.
14758 (verilog-label-be): Remove unimplemented argument, bug669.
14759 (verilog-batch-execute-func): When batch expanding clear
14760 create-lockfiles to prevent spurious user locks when a file ends
14762 (verilog-calculate-indent, verilog-calc-1)
14763 (verilog-at-close-constraint-p, verilog-at-constraint-p)
14764 (verilog-do-indent): Fix indentation of nested constraints
14766 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
14767 (verilog-auto-inst-param): Use verilog-string-match-fold.
14768 (verilog-read-inst-module-matcher):
14769 Fix AUTOINST on gate primitives with #1.
14770 (verilog-read-decls): Fix double-declaring user-defined typed signals.
14771 Reads all user-defined typed variables.
14772 (verilog-read-defines): Fix reading definitions inside comments, bug647.
14773 (verilog-signals-matching-regexp)
14774 (verilog-signals-not-matching-regexp, verilog-auto):
14775 Respect verilog-case-fold.
14776 (verilog-diff-report): Fix line count.
14777 (verilog-auto-assign-modport): Remove unused local `modi'.
14778 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
14779 better handle multidimensional arrays.
14780 Fix packed array ports misadding bit index in AUTOINST, bug637.
14781 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
14782 to not double-declare existing outputs and inputs, respectively.
14783 (verilog-template-map): Bind U to verilog-sk-uvm-component.
14784 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
14785 (verilog-sk-uvm-component): New skeleton.
14786 (verilog-submit-bug-report): Add verilog-case-fold,
14787 remove verilog-mode-release-date.
14789 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
14791 * subr.el (sit-for): Call (input-pending-p t) so as to behave
14794 2013-10-18 Reuben Thomas <rrt@sc3d.org>
14796 * textmodes/remember.el (remember): Set buffer-offer-save in
14797 remember buffers (bug#13566).
14799 2013-10-18 Daniel Colascione <dancol@dancol.org>
14801 When evaluating forms in ielm, direct standard output to ielm
14802 buffer. Add new ielm-return-for-effect command. Remove trailing
14803 whitespace throughout.
14805 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
14806 (ielm-return-for-effect): New command.
14807 (ielm-send-input): Accept optional `for-effect' parameter.
14808 (ielm-eval-input): Accept optional `for-effect' parameter.
14809 Bind `standard-output' to stream we create using
14810 `ielm-standard-output-impl'. Suppress printing result when
14812 (ielm-standard-output-impl): New function.
14813 (inferior-emacs-lisp-mode): Explain new features in documentation.
14815 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
14819 * net/tramp.el (tramp-debug-message): Do not check for connection
14821 (tramp-message): Use "vector" connection property.
14823 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
14824 (tramp-equal-remote, tramp-eshell-directory-change)
14825 * net/tramp-adb.el (tramp-adb-handle-copy-file)
14826 (tramp-adb-handle-rename-file)
14827 * net/tramp-cmds.el (tramp-list-remote-buffers)
14828 (tramp-cleanup-connection, tramp-cleanup-this-connection)
14829 * net/tramp-compat.el (tramp-compat-process-running-p)
14830 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
14831 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
14832 (tramp-gvfs-handle-rename-file)
14833 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14834 (tramp-set-file-uid-gid)
14835 * net/tramp-smb.el (tramp-smb-handle-copy-file)
14836 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
14837 of `file-remote-p'.
14839 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
14840 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14841 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
14842 (tramp-gw-open-network-stream): Suppress unrelated traces.
14844 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
14845 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14846 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14847 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
14848 connection property.
14850 * net/tramp-cache.el (top): Suppress traces when reading
14853 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14854 Refactor common code. Improve debug message.
14855 (tramp-maybe-open-connection)
14856 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
14857 connection buffer too early.
14859 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
14860 from `tramp-smb-actions-with-acl'.
14861 (tramp-smb-actions-set-acl): New defconst.
14862 (tramp-smb-handle-copy-directory)
14863 (tramp-smb-action-get-acl): New defun, renamed from
14864 `tramp-smb-action-with-acl'.
14865 (tramp-smb-action-set-acl): New defun.
14866 (tramp-smb-handle-set-file-acl): Rewrite.
14868 2013-10-17 Glenn Morris <rgm@gnu.org>
14870 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
14872 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14874 * skeleton.el (skeleton-newline): Remove.
14875 (skeleton-internal-1): Use (insert "\n") instead.
14877 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
14880 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
14881 forward-sexp-function while we redo its job (bug#15613).
14883 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
14885 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
14886 represented by lists.
14888 2013-10-16 Glenn Morris <rgm@gnu.org>
14890 * tmm.el (tmm--history): New dynamic variable.
14891 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
14893 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
14895 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
14896 (tramp-smb-errors): Add error messages.
14897 (tramp-smb-actions-with-acl): New defconst.
14898 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
14899 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
14900 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
14901 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
14902 (tramp-smb-get-stat-capability): Fix tests.
14904 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
14906 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
14909 2013-10-16 Glenn Morris <rgm@gnu.org>
14911 * ansi-color.el (ansi-color-drop-regexp):
14912 Add 1J, 1K, 2K. (Bug#15617)
14914 * files.el (hack-local-variables--warned-lexical): New.
14915 (hack-local-variables):
14916 Warn about misplaced lexical-binding. (Bug#15616)
14918 * net/eww.el (eww-render): Always set eww-current-url,
14919 and update header line. (Bug#15622)
14920 (eww-display-html): ... Rather than just doing it here.
14922 2013-10-15 Eli Zaretskii <eliz@gnu.org>
14924 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
14925 menu navigations commands.
14927 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
14929 * progmodes/subword.el (subword-capitalize): Be careful when
14930 the search for [[:alpha:]] fails (bug#15580).
14932 2013-10-14 Eli Zaretskii <eliz@gnu.org>
14934 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
14935 to commands that scroll the menu.
14937 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
14939 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
14940 Handle methods ending with `?' and `!'.
14942 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
14944 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
14945 `japanese-cp932' to `cp932' to fix the problem where saving a
14946 source file written in Shift_JIS twice would end up having
14947 `coding: japanese-cp932' which Ruby could not recognize.
14948 (ruby-mode-set-encoding): Add support for encodings mapped to nil
14949 in `ruby-encoding-map'.
14950 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
14951 doesn't need to be explicitly declared in magic comment.
14952 (ruby-encoding-map): Add type declaration for better customize UI.
14954 2013-10-13 Glenn Morris <rgm@gnu.org>
14956 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
14957 Occur buffers are read-only. http://bugs.debian.org/720775
14959 * emacs-lisp/authors.el (authors-fixed-entries):
14960 Comment out old alpha stuff.
14962 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
14964 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
14965 to `after-save-hook' instead of `before-save-hook'.
14966 (ruby-mode-set-encoding): Use the value of coding system used to
14967 write the file. Call `basic-save-buffer-1' after modifying the
14970 2013-10-13 Alan Mackenzie <acm@muc.de>
14972 Fix indentation/fontification of Java enum with
14973 "implements"/generic.
14975 * progmodes/cc-engine.el (c-backward-over-enum-header):
14976 Extracted from the three other places and enhanced to handle generics.
14977 (c-inside-bracelist-p): Uses new function above.
14978 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
14980 (c-font-lock-enum-tail): Uses new function above.
14982 2013-10-13 Kenichi Handa <handa@gnu.org>
14984 * international/mule-cmds.el (select-safe-coding-system): Remove a
14985 superfluous condition in chekcing whether a coding system is safe
14988 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
14990 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
14992 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
14994 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
14996 2013-10-13 Glenn Morris <rgm@gnu.org>
14998 * menu-bar.el (menu-bar-update-buffers):
14999 Unify Buffers menu prompt string. (Bug#15576)
15001 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
15003 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
15005 (authors-fixed-entries): Use accented form of name.
15007 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15009 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
15010 method calls (bug#15594).
15011 (ruby-smie--args-separator-p): New function.
15012 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
15013 recognize paren-free method calls.
15015 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
15016 internals of universal-argument.
15018 2013-10-11 Eli Zaretskii <eliz@gnu.org>
15020 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
15021 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
15022 dropped menu on second mouse click on the menu bar.
15024 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15026 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
15027 (explicit-shell-file-name): Declare.
15028 (sh--vars-before-point, sh--cmd-completion-table): New functions.
15029 (sh-completion-at-point-function): New function.
15031 (sh-smie--keyword-p): Remove unused argument.
15032 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
15034 (sh-set-shell): Always setup SMIE, even if we use the
15035 old indentation code.
15037 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
15039 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
15041 (ruby-smie-rules): Simplify the "do" rule. The cases when the
15042 predicate would return nil are almost non-existent.
15043 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
15045 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
15046 cache also after commands that modify the buffer but don't move
15049 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15051 * env.el (substitute-env-in-file-name): New function.
15052 (substitute-env-vars): Extend the meaning of the optional arg.
15054 2013-10-10 Eli Zaretskii <eliz@gnu.org>
15056 * term/w32-win.el (dynamic-library-alist): Define separate lists
15057 of GIF DLLs for versions before and after 5.0.0 of giflib.
15060 2013-10-10 João Távora <joaotavora@gmail.com>
15062 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
15063 not locked, use last revision and current source as
15064 defaults. (Bug#15569)
15066 2013-10-10 Masatake YAMATO <yamato@redhat.com>
15068 * menu-bar.el (menu-bar-open): Don't use popup-menu if
15069 menu-bar is hidden.
15071 2013-10-10 Martin Rudalics <rudalics@gmx.at>
15073 * window.el (pop-to-buffer-same-window): Fix doc-string.
15076 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15078 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
15080 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
15082 * calendar/icalendar.el (icalendar-import-file):
15083 Fix interactive spec. (Bug#15482)
15085 2013-10-10 Glenn Morris <rgm@gnu.org>
15087 * desktop.el (desktop-save): Default to saving in .emacs.d,
15088 since PWD is no longer in desktop-path by default. (Bug#15319)
15090 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
15091 now that text mode has a menu with the same entry.
15092 (menu-bar-text-mode-auto-fill): Remove now unused func.
15093 * textmodes/text-mode.el (text-mode-map):
15094 Use auto-fill help text from menu-bar.el.
15096 2013-10-10 John Anthony <john@jo.hnanthony.com>
15098 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
15100 2013-10-09 Juri Linkov <juri@jurta.org>
15102 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
15103 instead of this-command-keys. Add universal-argument-more and
15104 universal-argument-minus to the list of prefix commands. (Bug#15568)
15106 2013-10-09 Glenn Morris <rgm@gnu.org>
15108 * vc/vc-svn.el (vc-svn-create-repo):
15109 Expand paths in file://... url. (Bug#15446)
15111 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
15113 (authors): Remove unused local variables.
15115 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
15117 * profiler.el: Create a more coherent calltree from partial backtraces.
15118 (profiler-format): Hide the tail with `invisible' so that C-s can still
15119 find the hidden elements.
15120 (profiler-calltree-depth): Don't recurse so enthusiastically.
15121 (profiler-function-equal): New hash-table-test.
15122 (profiler-calltree-build-unified): New function.
15123 (profiler-calltree-build): Use it.
15124 (profiler-report-make-name-part): Indent the calltree less.
15125 (profiler-report-mode): Add visibility specs for profiler-format.
15126 (profiler-report-expand-entry, profiler-report-toggle-entry):
15127 Expand the whole subtree when provided with a prefix arg.
15129 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
15131 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
15133 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
15134 hanging iuwu-mod token.
15135 (ruby-smie--forward-token): Do not include a dot after a token in
15137 (ruby-smie--backward-token): Likewise.
15139 2013-10-08 Juri Linkov <juri@jurta.org>
15141 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
15142 to isearch-other-control-char.
15143 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
15144 and isearch-post-command-hook to post-command-hook.
15145 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
15146 and isearch-post-command-hook from post-command-hook.
15147 (isearch-unread-key-sequence)
15148 (isearch-reread-key-sequence-naturally)
15149 (isearch-lookup-scroll-key, isearch-other-control-char)
15150 (isearch-other-meta-char): Remove functions.
15151 (isearch-pre-command-hook, isearch-post-command-hook):
15152 New functions based on isearch-other-meta-char rewritten
15153 relying on the new behavior of overriding-terminal-local-map
15154 that does not replace the local keymaps any more. (Bug#15200)
15156 2013-10-08 Eli Zaretskii <eliz@gnu.org>
15158 Support menus on text-mode terminals.
15159 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
15162 * tooltip.el (tooltip-mode): Don't error out on TTYs.
15164 * menu-bar.el (popup-menu, popup-menu-normalize-position):
15165 Move here from mouse.el.
15166 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
15168 (tty-menu-navigation-map): New map for TTY menu navigation.
15170 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
15172 * frame.el (display-mouse-p): Report text-mode mouse as available
15174 (display-popup-menus-p): Report availability if mouse is
15175 available; don't condition on window-system.
15177 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
15178 (tty-menu-selected-face): New faces.
15180 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15182 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
15183 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
15184 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
15185 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
15187 (lisp-mode-variables): New `elisp' argument.
15188 (emacs-lisp-mode): Use it.
15189 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
15190 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
15192 * indent.el: Use lexical-binding.
15193 (indent-region): Add progress reporter.
15194 (tab-stop-list): Make it implicitly extend to infinity by repeating the
15196 (indent--next-tab-stop): New function to implement this behavior.
15197 (tab-to-tab-stop, move-to-tab-stop): Use it.
15199 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
15201 * indent.el (indent-rigidly--current-indentation): New function.
15202 (indent-rigidly-map): New var.
15203 (indent-rigidly): Use it to provide interactive mode (bug#8196).
15205 2013-10-08 Bastien Guerry <bzg@gnu.org>
15207 * register.el (insert-register): Fix 2013-10-07 change.
15209 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15211 * progmodes/perl-mode.el: Use lexical-binding.
15212 Remove redundant :group args.
15213 (perl-nochange): Change default to be closer to other major modes's
15215 (perl-indent-line): Don't consider text on current line as a
15216 valid beginning of function from which to indent.
15218 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
15219 with more than one argument (bug#15538).
15221 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
15223 * vc/pcvs.el: Use lexical-binding.
15224 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
15225 environment of `eval'.
15226 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
15227 than a list of expressions. Adjust callers.
15228 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
15230 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
15232 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
15233 case of the dot in a chained method call being on the following line.
15235 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15237 * electric.el (electric-indent-inhibit): New var.
15238 (electric-indent-post-self-insert-function): Use it.
15239 * progmodes/python.el (python-mode): Set it.
15241 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
15244 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
15246 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
15247 (css-mode): Use electric-indent-chars.
15249 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
15250 (font-lock-beg, font-lock-end): Move before first use.
15251 (nxml-mode): Use syntax-propertize-function.
15252 (nxml-after-change, nxml-after-change1): Adjust accordingly.
15253 (nxml-extend-after-change-region): Remove.
15254 * nxml/xmltok.el: Use lexical-binding.
15255 (xmltok-save): Use `declare'.
15256 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
15257 * nxml/nxml-util.el: Use lexical-binding.
15258 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
15260 * nxml/nxml-ns.el: Use lexical-binding.
15261 (nxml-ns-save): Use `declare'.
15262 (nxml-ns-prefixes-for): Avoid add-to-list.
15263 * nxml/rng-match.el: Use lexical-binding.
15264 (rng--ipattern): Use cl-defstruct.
15265 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
15266 (rng-cons-group-after, rng-subst-group-after)
15267 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
15268 Use closures instead of `(lambda...).
15270 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
15272 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
15275 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15276 Use `tramp-handle-insert-file-contents'.
15277 (tramp-gvfs-handle-insert-file-contents): Remove function.
15279 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15280 Use `save-restriction' in order to keep markers.
15282 * net/trampver.el: Update release number.
15284 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15286 * progmodes/compile.el (compilation-parse-errors):
15287 Use compilation--put-prop.
15288 (compilation--ensure-parse): Check compilation-multiline.
15290 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
15292 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
15295 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
15297 * progmodes/ruby-mode.el: Fix recently added tests.
15298 (ruby-smie-grammar): Add - and +.
15299 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
15300 (ruby-smie--backward-id): New functions.
15301 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
15302 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
15305 2013-10-07 Leo Liu <sdl.web@gmail.com>
15307 * register.el (register-preview-delay)
15308 (register-preview-functions): New variables.
15309 (register-read-with-preview, register-preview)
15310 (register-describe-oneline): New functions.
15311 (point-to-register, window-configuration-to-register)
15312 (frame-configuration-to-register, jump-to-register)
15313 (number-to-register, view-register, insert-register)
15314 (copy-to-register, append-to-register, prepend-to-register)
15315 (copy-rectangle-to-register): Use register-read-with-preview to
15316 read register. (Bug#15525)
15318 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
15320 * net/network-stream.el (network-stream-open-starttls): Don't add
15321 --insecure if it's already present, because that gnutls-cli
15322 rejects getting that parameter twice.
15324 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
15326 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
15329 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
15331 * newcomment.el (comment-use-global-state): Change default value
15332 to t, mark obsolete (Bug#15251).
15333 (comment-beginning): In addition to `comment-to-syntax', check the
15334 value of `comment-use-global-state'.
15336 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15338 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
15339 (ruby-comment-column): Follow the global default, by default.
15340 (ruby-smie-grammar): Add assignment syntax.
15341 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
15342 open-paren, a comma, or a \.
15343 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
15344 and line continuations.
15345 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
15346 followed by implicit semi-colons. Add rule for string concatenation
15347 and for indentation at BOB.
15348 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
15350 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
15351 calling next-sexp, since next-token may have skipped chars which
15352 next-sexp doesn't know should be skipped!
15354 2013-10-05 Leo Liu <sdl.web@gmail.com>
15356 * progmodes/octave.el (octave-send-region):
15357 Call compilation-forget-errors.
15359 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15361 * vc/vc-svn.el (vc-svn-find-admin-dir):
15362 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
15363 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
15364 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
15365 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
15367 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15369 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
15371 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15373 * subr.el (read-passwd): Hide chars even when called within a context
15374 where after-change-functions is disabled (bug#15501).
15375 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
15376 until we removed ourself from overriding-terminal-local-map.
15378 2013-10-04 Leo Liu <sdl.web@gmail.com>
15380 * progmodes/octave.el (inferior-octave-mode):
15381 Call compilation-forget-errors.
15383 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15385 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
15387 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
15389 * net/secrets.el (secrets-create-collection): Add optional
15390 argument ALIAS. Use proper Label keyword. Append ALIAS as
15391 dbus-call-method argument. (Bug#15516)
15393 2013-10-04 Leo Liu <sdl.web@gmail.com>
15395 * progmodes/octave.el (inferior-octave-error-regexp-alist)
15396 (inferior-octave-compilation-font-lock-keywords): New variables.
15397 (compilation-error-regexp-alist)
15398 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
15399 (inferior-octave-mode): Use compilation-shell-minor-mode.
15401 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
15403 * minibuffer.el (completion--replace): Be careful that `end' might be
15406 2013-10-03 Daiki Ueno <ueno@gnu.org>
15408 Add support for package signature checking.
15409 * emacs-lisp/package.el (url-http-file-exists-p)
15410 (epg-make-context, epg-context-set-home-directory)
15411 (epg-verify-string, epg-context-result-for)
15412 (epg-signature-status, epg-signature-to-string)
15413 (epg-check-configuration, epg-configuration)
15414 (epg-import-keys-from-file): Declare.
15415 (package-check-signature): New user option.
15416 (package-unsigned-archives): New user option.
15417 (package-desc): Add `signed' field.
15418 (package-load-descriptor): Set `signed' field if .signed file exists.
15419 (package--archive-file-exists-p): New function.
15420 (package--check-signature): New function.
15421 (package-install-from-archive): Check package signature.
15422 (package--download-one-archive): Check archive signature.
15423 (package-delete): Remove .signed file.
15424 (package-import-keyring): New command.
15425 (package-refresh-contents): Import default keyring.
15426 (package-desc-status): Add "unsigned" status.
15427 (describe-package-1, package-menu--print-info)
15428 (package-menu-mark-delete, package-menu--find-upgrades)
15429 (package-menu--status-predicate): Support "unsigned" status.
15431 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15433 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
15434 the new compilation scheme using the new byte-codes.
15436 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
15437 (byte-pophandler): New byte codes.
15438 (byte-goto-ops): Adjust accordingly.
15439 (byte-compile--use-old-handlers): New var.
15440 (byte-compile-catch): Use new byte codes depending on
15441 byte-compile--use-old-handlers.
15442 (byte-compile-condition-case--old): Rename from
15443 byte-compile-condition-case.
15444 (byte-compile-condition-case--new): New function.
15445 (byte-compile-condition-case): New function that dispatches depending
15446 on byte-compile--use-old-handlers.
15447 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
15450 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
15451 Optimize under `condition-case' and `catch' if
15452 byte-compile--use-old-handlers is nil.
15453 (disassemble-offset): Handle new bytecodes.
15455 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15457 * subr.el (error): Use `declare'.
15458 (decode-char, encode-char): Use advertised-calling-convention instead
15459 of the docstring to discourage use of the `restriction' arg.
15461 2013-10-03 Daiki Ueno <ueno@gnu.org>
15463 * epg.el (epg-verify-file): Add a comment saying that it does not
15464 notify verification error as a return value nor a signal.
15465 (epg-verify-string): Ditto.
15467 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15469 * progmodes/compile.el (compilation-start): Try globbing the arg to
15472 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
15474 Sync with Tramp 2.2.8.
15476 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
15477 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
15478 * net/trampver.el: Update release number.
15480 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
15482 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
15483 and default-process-coding-system for darwin only.
15485 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15487 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
15489 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
15491 * vc/vc-git.el (vc-git-grep): Disable pager.
15493 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
15495 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
15496 Use :url instead of :homepage, as per
15497 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
15499 * newcomment.el (comment-beginning): When `comment-use-syntax' is
15500 non-nil, use `syntax-ppss' (Bug#15251).
15502 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15504 * progmodes/octave.el (inferior-octave-startup-file):
15505 Prefer ~/.emacs.d/init_octave.m.
15507 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
15509 * emacs-lisp/package.el (package-desc-from-define):
15510 Accept additional arguments as plist, convert them to an alist and store
15511 them in the `extras' slot.
15512 (package-generate-description-file): Convert extras alist back to
15513 plist and append to the `define-package' form arguments.
15514 (package--alist-to-plist): New function.
15515 (package--ac-desc): Add `extras' slot.
15516 (package--add-to-archive-contents): Check if the archive-contents
15517 vector is long enough, and if it is, pass its `extras' slot value
15518 to `package-desc-create'.
15519 (package-buffer-info): Call `lm-homepage', pass the returned value
15520 to `package-desc-from-define'.
15521 (describe-package-1): Render the homepage button (Bug#13291).
15523 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15524 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
15526 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
15528 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
15529 and default-process-coding-system to utf-8-unix (Bug#15402).
15531 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
15533 * subr.el (looking-back): Do not recommend using looking-back.
15535 2013-09-28 Alan Mackenzie <acm@muc.de>
15537 Fix indentation/fontification of Java enum with "implements".
15539 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
15540 regexp which matches "implements", etc., in Java.
15541 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
15542 specifier clauses coming after "enum".
15543 * progmodes/cc-fonts.el (c-font-lock-declarations)
15544 (c-font-lock-enum-tail): Check for extra specifier clauses coming
15547 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
15549 * faces.el (region): Change ns_selection_color to
15550 ns_selection_fg_color, add ns_selection_bg_color.
15552 2013-09-28 Leo Liu <sdl.web@gmail.com>
15554 * progmodes/octave.el (inferior-octave-completion-table)
15555 (inferior-octave-completion-at-point): Minor tweaks.
15557 * textmodes/ispell.el (ispell-lookup-words): Rename from
15558 lookup-words. (Bug#15460)
15559 (lookup-words): Obsolete.
15560 (ispell-complete-word, ispell-command-loop): All uses changed.
15562 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15564 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
15565 (octave-mode-menu): Add octave-send-buffer.
15566 (octave-send-buffer): New function.
15568 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15570 * progmodes/octave.el (octave-mode-map): Add key binding for
15572 (octave-mode-menu): Add octave-lookfor.
15573 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
15575 (octave-lookfor): New function.
15577 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15579 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
15580 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
15582 (cl--loop-set-iterator-function): New function.
15583 (cl-loop): Adjust accordingly, so as not to use cl-subst.
15584 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
15585 Bind `it' with `let' instead of substituting it with `cl-subst'.
15586 (cl--unused-var-p): New function.
15587 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
15588 Eliminate some unused variable warnings (bug#15326).
15590 2013-09-27 Tassilo Horn <tsdh@gnu.org>
15592 * doc-view.el (doc-view-scale-reset): Rename from
15593 `doc-view-reset-zoom-level'.
15594 (doc-view-scale-adjust): New command.
15595 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
15596 `doc-view-scale-adjust'.
15598 2013-09-26 Tassilo Horn <tsdh@gnu.org>
15600 * doc-view.el (doc-view-reset-zoom-level): New command.
15601 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
15602 zoom commands (bug#15466).
15604 2013-09-26 Kenichi Handa <handa@gnu.org>
15606 * international/quail.el (quail-help): Make it not a command.
15608 2013-09-26 Leo Liu <sdl.web@gmail.com>
15610 * minibuffer.el (completion-all-sorted-completions): Make args
15611 optional as they are.
15613 2013-09-25 Daniel Colascione <dancol@dancol.org>
15615 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
15616 specs are and that they're not evaluated.
15618 2013-09-24 Sam Steingold <sds@gnu.org>
15620 * midnight.el (clean-buffer-list-kill-regexps)
15621 (clean-buffer-list-kill-buffer-names): Update for the new Man
15622 buffer naming which includes the object name.
15624 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15626 * eshell/esh-cmd.el (eshell--sep-terms): New var.
15627 (eshell-parse-command, eshell-parse-pipeline): Use it since
15628 eshell-separate-commands requires a dynamic scoped var.
15629 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
15631 2013-09-23 Leo Liu <sdl.web@gmail.com>
15633 * autoinsert.el (auto-insert-alist): Make the value of
15634 lexical-binding match its file setting.
15636 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
15638 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
15640 * autoarg.el (autoarg-kp-digit-argument):
15641 * electric.el (Electric-command-loop):
15642 * kmacro.el (kmacro-step-edit-insert):
15643 Do not set universal-argument-num-events.
15645 2013-09-22 Leo Liu <sdl.web@gmail.com>
15647 * files.el (interpreter-mode-alist): Add octave.
15649 2013-09-21 Alan Mackenzie <acm@muc.de>
15651 C++: fontify identifier in declaration following "public:" correctly.
15652 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
15653 to match "public", etc.
15654 (c-decl-prefix-re): Add ":" into the C++ value.
15655 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
15656 bit. Add a check for a ":" preceded by "public", etc.
15658 2013-09-21 Eli Zaretskii <eliz@gnu.org>
15660 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
15661 recognized by GDB 7.5 and later.
15663 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
15665 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
15667 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15669 * subr.el (internal--call-interactively): New const.
15670 (called-interactively-p): Use it (bug#3984).
15672 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
15674 * vc/pcvs.el (cvs-mode-ignore):
15675 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
15676 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
15678 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15680 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
15681 (eshell-ls-orig-insert-directory): Remove.
15682 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
15683 (eshell-ls-use-in-dired): Use advice-add/remove.
15684 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
15685 Add `orig-fun' arg for use in :around advice.
15686 Make it check (redundantly) eshell-ls-use-in-dired.
15688 2013-09-19 Glenn Morris <rgm@gnu.org>
15690 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
15692 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
15694 * emacs-lisp/eieio.el (class-parent): Undo previous change.
15696 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
15698 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
15699 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
15700 (tramp-get-remote-python): New defuns.
15701 (tramp-get-remote-uid-with-perl)
15702 (tramp-get-remote-gid-with-perl): New defuns. Perl code
15703 contributed by yary <not.com@gmail.com> (tiny change).
15704 (tramp-get-remote-uid-with-python)
15705 (tramp-get-remote-gid-with-python): New defuns. Python code
15706 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
15707 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
15709 2013-09-19 Glenn Morris <rgm@gnu.org>
15711 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
15713 * eshell/em-unix.el (eshell-remove-entries):
15714 Rename argument to avoid name-clash with global `top-level'.
15716 * eshell/esh-proc.el (eshell-kill-process-function):
15717 Remove eshell-reset-after-proc from eshell-kill-hook if present.
15718 (eshell-reset-after-proc): Remove unused arg `proc'.
15720 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
15721 (directory-files-and-attributes): Mark unused arg.
15723 * eshell/em-unix.el (eshell-remove-entries):
15724 Remove unused arg `path'. Update callers.
15726 * eshell/em-hist.el (eshell-hist-parse-arguments):
15727 Remove unused arg `silent'. Update callers.
15729 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
15730 Fix (f)boundp mix-up.
15732 * eshell/em-smart.el (eshell-smart-scroll-window)
15733 (eshell-disable-after-change):
15734 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
15736 2013-09-18 Alan Mackenzie <acm@muc.de>
15738 Fix fontification of type when followed by "const".
15739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
15740 "known" types from fontification.
15742 2013-09-18 Glenn Morris <rgm@gnu.org>
15744 * emacs-lisp/chart.el (x-display-color-cells): Declare.
15745 (chart-face-list): Drop Emacsen without display-color-p.
15747 * net/eww.el (libxml-parse-html-region): Declare.
15748 (eww-display-html): Explicit error if no libxml2 support.
15750 * doc-view.el (doc-view-mode): Silence --without-x compilation.
15752 * image.el (image-type-from-buffer, image-multi-frame-p):
15753 Remove --without-x warning/error.
15755 * mouse.el (mouse-yank-primary):
15756 * term.el (term-mouse-paste):
15757 Reorder to silence --without-x compilation.
15759 * mpc.el (doc-view-mode): Silence --without-x compilation.
15761 * mail/rmailmm.el (rmail-mime-set-bulk-data):
15762 Silence --without-x compilation.
15764 * progmodes/gud.el (gud-find-file, gud-mode):
15765 Silence --without-x compilation.
15766 (tooltip-mode): Declare.
15768 * wdired.el (dired-backup-overwrite): Remove declaration.
15769 (wdired-mode-map): Add doc string.
15771 * custom.el (x-get-resource): Declare.
15773 * eshell/em-glob.el (ange-cache):
15774 * eshell/em-unix.el (ange-cache): Declare.
15776 * faces.el (x-display-list, x-open-connection, x-get-resource):
15779 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
15780 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
15783 * frame.el (x-display-grayscale-p, x-display-name): Declare.
15785 * net/gnutls.el (gnutls-log-level): Declare.
15787 * net/shr.el (image-size, image-animate): Declare.
15789 * simple.el (font-info): Declare.
15791 * subr.el (x-popup-dialog): Declare.
15793 * term/common-win.el (x-select-enable-primary)
15794 (x-last-selected-text-primary, x-last-selected-text-clipboard):
15797 * term/ns-win.el (x-handle-args): Declare.
15799 * term/x-win.el (x-select-enable-clipboard): Declare.
15801 * term/w32-win.el (create-default-fontset): Declare.
15803 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
15806 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
15807 (fit-frame-to-buffer): Explicit error if --without-x.
15808 (mouse-autoselect-window-select): Silence compiler.
15810 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15812 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
15813 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
15814 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
15815 * eshell/esh-util.el (eshell-sublist):
15816 Remove unused local variables.
15818 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
15820 * textmodes/two-column.el: Make 2C-split work for --without-x.
15821 (scroll-bar-columns): Autoload.
15822 (top-level): Require fringe when compiling.
15824 2013-09-18 Leo Liu <sdl.web@gmail.com>
15826 * subr.el (add-hook): Robustify to handle closure as well.
15828 2013-09-17 Glenn Morris <rgm@gnu.org>
15830 * simple.el (messages-buffer-mode-map): Unbind "g".
15832 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15834 * help-mode.el (help-mode-finish): Use derived-mode-p.
15835 Remove obsolete highlighting.
15837 * play/life.el (life-mode): Use define-derived-mode. Derive from
15839 (life): Let-bind inhibit-read-only.
15840 (life-setup): Avoid `setq'. Use `life-mode'.
15842 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
15843 which should not be needed any more.
15844 (package-menu-refresh, package-menu-describe-package): Use user-error.
15846 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
15847 (eshell-post-rewrite-command-hook): Make obsolete.
15848 (eshell-parse-command): Simplify.
15849 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
15850 (eshell--cmd): Declare.
15851 (eshell-parse-pipeline): Remove unused var `final-p'.
15852 Pass a dynvar to eshell-post-rewrite-command-hook.
15853 Implement the new eshell-post-rewrite-command-function.
15854 (eshell-invoke-directly): Remove unused arg `input'.
15855 * eshell/esh-io.el (eshell-io-initialize):
15856 Use eshell-post-rewrite-command-function (bug#15399).
15857 (eshell--apply-redirections): Rename from eshell-apply-redirections;
15858 adjust to new calling convention.
15859 (eshell-create-handles): Rename args to avoid clashing with dynvar
15862 2013-09-17 Glenn Morris <rgm@gnu.org>
15864 * simple.el (messages-buffer-mode): New major mode.
15865 (messages-buffer): New function.
15866 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
15867 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
15868 (ert-run-test): Use `messages-buffer' function.
15869 (ert--force-message-log-buffer-truncation): Ignore read-only.
15870 * help.el (view-echo-area-messages): Use `messages-buffer' function.
15871 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
15873 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15875 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
15877 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
15879 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15881 * icomplete.el (icomplete-in-buffer): New var.
15882 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
15883 vars and replace them with functions.
15884 (icomplete-minibuffer-setup): Adjust accordingly.
15885 (icomplete--completion-table, icomplete--completion-predicate)
15886 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
15888 (icomplete-forward-completions, icomplete-backward-completions)
15889 (icomplete-simple-completing-p, icomplete-exhibit)
15890 (icomplete-completions): Use them.
15891 (icomplete--in-region-buffer): New var.
15892 (icomplete--in-region-setup): New function.
15893 (icomplete-mode): Use it.
15895 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
15897 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
15898 return args and options.
15899 (eshell-eval-using-options): Use the new return value of
15900 eshell--do-opts to set the options's vars in their scope.
15901 (eshell--set-option): Rename from eshell-set-option.
15902 Add arg `opt-vals'.
15903 (eshell--process-option): Rename from eshell-process-option.
15904 Add arg `opt-vals'.
15905 (eshell--process-args): Use an `opt-vals' alist to store the options's
15906 values during their processing and return them additionally to the
15909 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
15911 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
15912 continuation character an operator, as far as indentation is
15913 concerned (Bug#15369).
15915 2013-09-15 Martin Rudalics <rudalics@gmx.at>
15917 * window.el (window--state-put-2): Don't process buffer state
15918 when buffer doesn't exist any more (Bug#15382).
15920 2013-09-15 Glenn Morris <rgm@gnu.org>
15922 * eshell/em-unix.el (eshell/rm):
15923 Make -f ignore missing files. (Bug#15373)
15925 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
15926 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
15927 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
15929 2013-09-14 Glenn Morris <rgm@gnu.org>
15931 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
15933 2013-09-13 Glenn Morris <rgm@gnu.org>
15935 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
15936 (dired-guess-default): Make `file' available in the env. (Bug#15363)
15938 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
15940 * frame.el (x-focus-frame): Mark as declared in frame.c.
15942 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15944 * ls-lisp.el: Use advice-add.
15945 (original-insert-directory): Remove.
15946 (ls-lisp--insert-directory): Rename from insert-directory; add
15947 `orig-fun' argument.
15948 (insert-directory): Advise.
15950 2013-09-13 Eli Zaretskii <eliz@gnu.org>
15952 * term.el (term-emulate-terminal): Decode the command string
15953 before passing it to term-command-hook. (Bug#15337)
15955 2013-09-13 Glenn Morris <rgm@gnu.org>
15957 * eshell/esh-util.el (ange-cache): Move declaration earlier.
15959 * eshell/esh-ext.el (eshell-search-path): Declare.
15961 * eshell/em-prompt.el (eshell/pwd): Autoload it.
15962 Otherwise an error occurs if eshell-dirs module not loaded.
15964 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
15966 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
15968 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
15969 `tramp-check-proper-host'. Check for a valid method name.
15971 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15972 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15973 * net/tramp-sh.el (tramp-maybe-open-connection):
15974 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
15976 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
15977 also for hash values.
15979 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15981 * term/ns-win.el (parameters): Don't declare as dynamic.
15982 (before-make-frame-hook): Don't add ineffective function.
15984 * eshell/*.el: Use lexical-binding (bug#15231).
15986 2013-09-12 Kenichi Handa <handa@gnu.org>
15988 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
15990 2013-09-12 Glenn Morris <rgm@gnu.org>
15992 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
15993 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
15995 * subr.el (do-after-load-evaluation): Also give compiler warnings
15996 when obsolete files are used (except by obsolete files).
15998 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
15999 in the status output, assume `filename' is the first. (Bug#15322)
16001 * vc/vc.el (vc-deduce-fileset): Doc fix.
16003 * calc/calc-help.el (Info-goto-node):
16004 * progmodes/cperl-mode.el (Info-find-node):
16005 * vc/ediff.el (Info-goto-node): Update declarations.
16007 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
16009 * vc/vc-bzr.el (vc-compilation-mode): Declare.
16010 (vc-bzr-pull): Require vc-dispatcher.
16011 * vc/vc-git.el (vc-compilation-mode): Declare.
16012 (vc-git-pull): Require vc-dispatcher.
16014 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
16016 * progmodes/octave.el (help-button-action): Declare.
16018 * shell.el (shell-directory-tracker): Output error as a message
16019 rather than just returning it as a string.
16020 (shell-process-pushd): Remove useless use of message.
16022 * dframe.el (dframe-timer-fn):
16023 * files.el (dir-locals-read-from-file):
16024 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
16026 * reveal.el (reveal-post-command):
16027 * saveplace.el (load-save-place-alist-from-file):
16028 * shell.el (shell-resync-dirs):
16029 * w32-common-fns.el (x-get-selection-value):
16030 * emacs-lisp/copyright.el (copyright-find-copyright):
16031 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
16032 * emulation/tpu-edt.el (tpu-copy-keyfile):
16033 * play/bubbles.el (bubbles--mark-neighbourhood):
16034 * progmodes/executable.el
16035 (executable-make-buffer-file-executable-if-script-p):
16036 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
16038 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16040 Cleanup Eshell to rely less on dynamic scoping.
16041 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
16042 last-value, and ext-command here. Bind `args' closer to `body'.
16043 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
16044 (eshell--args): Declare new dynamic var.
16045 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
16046 last-value, and ext-command. Pass `args' to `body'.
16047 (eshell-process-args): Bind eshell--args.
16048 (eshell-set-option): Use eshell--args.
16049 * eshell/eshell.el (eshell): Use derived-mode-p.
16050 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
16051 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
16052 (eshell-glob-function): Declare.
16053 * eshell/esh-util.el: Require cl-lib.
16054 (eshell-read-hosts-file): Avoid add-to-list.
16055 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
16057 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
16059 (eshell/diff): Remove unused var `err'.
16060 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
16062 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
16063 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
16065 * eshell/em-glob.el (eshell-glob-matches, message-shown):
16066 Move declaration before first use.
16067 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
16068 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
16071 2013-09-12 Glenn Morris <rgm@gnu.org>
16073 * term/ns-win.el (global-map): Remove binding for ispell-next,
16074 deleted 1999-05-29. (Bug#15357)
16076 2013-09-11 Glenn Morris <rgm@gnu.org>
16078 * echistory.el (electric-command-history): Remove call to deleted func.
16080 * play/landmark.el (landmark-mode): Fix typos.
16082 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
16083 Check cvs-sort-ignore-file is bound.
16085 * savehist.el: No need for cl when compiling on Emacs.
16087 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16089 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
16091 (eshell-self-insert-command, eshell-send-invisible):
16092 Remove unused argument.
16093 (eshell-handle-control-codes): Remove unused var `orig'.
16094 Avoid delete-backward-char.
16096 * files.el (set-auto-mode): Simplify a bit further.
16098 2013-09-11 Glenn Morris <rgm@gnu.org>
16100 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
16101 (set-auto-mode): Don't regexp-quote elements.
16102 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
16103 * progmodes/cc-mode.el (interpreter-mode-alist):
16104 * progmodes/ruby-mode.el (interpreter-mode-alist):
16105 Revert previous change.
16107 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16109 * play/snake.el (snake-mode):
16110 * play/mpuz.el (mpuz-mode):
16111 * play/landmark.el (lm-mode):
16112 * play/blackbox.el (blackbox-mode):
16113 * play/5x5.el (5x5-mode):
16114 * obsolete/options.el (Edit-options-mode):
16115 * net/quickurl.el (quickurl-list-mode):
16116 * net/newst-treeview.el (newsticker-treeview-mode):
16117 * mail/rmailsum.el (rmail-summary-mode):
16118 * mail/mspools.el (mspools-mode):
16119 * locate.el (locate-mode):
16120 * ibuffer.el (ibuffer-mode):
16121 * emulation/ws-mode.el (wordstar-mode):
16122 * emacs-lisp/debug.el (debugger-mode):
16123 * array.el (array-mode):
16124 * net/eudc.el (eudc-mode): Use define-derived-mode.
16125 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
16126 Move initialization into declaration.
16127 (mairix-searches-mode): Use define-derived-mode.
16128 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
16129 (eudc-edit-hotlist): Use dolist.
16130 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
16131 (Man-mode): Use define-derived-mode.
16132 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
16133 (Info-edit-mode): Use define-derived-mode.
16134 (Info-cease-edit): Use Info-mode.
16135 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
16137 (eshell-mode): Use define-derived-mode.
16138 * chistory.el (command-history-mode-map): Rename from
16139 command-history-map.
16140 (command-history-mode): Use define-derived-mode.
16141 (Command-history-setup): Remove function.
16142 * calc/calc.el (calc-trail-mode-map): New var.
16143 (calc-trail-mode): Use define-derived-mode.
16144 (calc-trail-buffer): Set calc-main-buffer manually.
16145 * bookmark.el (bookmark-insert-annotation): New function.
16146 (bookmark-edit-annotation): Use it.
16147 (bookmark-edit-annotation-mode): Make it a proper major mode.
16148 (bookmark-send-edited-annotation): Use derived-mode-p.
16149 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
16150 closer to its ideal place. Use \' to match EOS.
16152 * profiler.el (profiler-calltree-find): Use function-equal.
16154 2013-09-10 Glenn Morris <rgm@gnu.org>
16156 * files.el (interpreter-mode-alist): Convert to regexps.
16157 (set-auto-mode): Adapt for this. (Bug#15306)
16158 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
16159 Comment out unused variable.
16160 * progmodes/cc-mode.el (interpreter-mode-alist):
16161 * progmodes/python.el (interpreter-mode-alist):
16162 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
16163 * progmodes/sh-script.el (sh-set-shell):
16164 No longer use interpreter-mode-alist to get list of shells.
16166 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
16168 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16170 * simple.el: Use set-temporary-overlay-map for universal-argument.
16171 (universal-argument-map): Don't use default-bindings (bug#15317).
16172 Bind switch-frame explicitly. Replace universal-argument-minus with
16173 a conditional binding.
16174 (universal-argument-num-events, saved-overriding-map): Remove.
16175 (restore-overriding-map): Remove.
16176 (universal-argument--mode): Rename from save&set-overriding-map,
16178 (universal-argument, universal-argument-more, negative-argument)
16179 (digit-argument): Adjust accordingly.
16180 (universal-argument-minus): Remove.
16181 (universal-argument-other-key): Remove.
16183 * subr.el (with-demoted-errors): Add `format' argument.
16185 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
16187 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
16188 `tramp-cleanup-connection'.
16190 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
16191 parameters KEEP-DEBUG and KEEP-PASSWORD.
16193 * net/tramp.el (tramp-file-name-handler):
16194 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16195 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16196 (tramp-maybe-open-connection):
16197 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
16198 Use `tramp-cleanup-connection'.
16200 * net/tramp-sh.el (tramp-maybe-open-connection):
16201 Catch 'uname-changed inside the progress reporter.
16203 2013-09-10 Glenn Morris <rgm@gnu.org>
16205 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
16207 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
16208 returns "alternate access method" in mode (eg "-rw-r--r--.").
16210 2013-09-08 Glenn Morris <rgm@gnu.org>
16212 * saveplace.el (load-save-place-alist-from-file):
16213 Demote errors. (Bug#15305)
16215 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
16217 Improve compatibility with older Emacsen, and XEmacs.
16219 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
16220 only if it is bound. It isn't for XEmacs.
16221 (with-tramp-progress-reporter): Do not let-bind `result'.
16222 This yields to scoping errors in XEmacs.
16223 (tramp-handle-make-auto-save-file-name): New function, moved from
16226 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
16227 for `make-auto-save-file-name'.
16228 (tramp-adb--gnu-switches-to-ash):
16229 Use `tramp-compat-replace-regexp-in-string'.
16231 * net/tramp-cache.el (tramp-cache-print): Call
16232 `substring-no-properties' only if it is bound. It isn't for XEmacs.
16234 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
16235 bound. It isn't for XEmacs.
16237 * net/tramp-compat.el (tramp-compat-copy-file):
16238 Catch `wrong-number-of-arguments' error.
16239 (tramp-compat-replace-regexp-in-string): New defun.
16241 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
16242 for `make-auto-save-file-name'.
16243 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
16245 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
16246 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
16247 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
16249 * net/tramp-gw.el (tramp-gw-open-network-stream):
16250 Use `tramp-compat-replace-regexp-in-string'.
16252 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16253 Call `tramp-handle-make-auto-save-file-name'.
16254 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
16255 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16256 (tramp-sh-file-inotifywait-process-filter):
16257 Use `tramp-compat-replace-regexp-in-string'.
16258 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
16260 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
16261 for `make-auto-save-file-name'.
16262 (tramp-smb-handle-copy-directory):
16263 Call `tramp-compat-replace-regexp-in-string'.
16264 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
16265 (tramp-smb-handle-copy-file): Improve error message.
16266 (tramp-smb-handle-rename-file): Rename directly only in case
16267 `newname' does not exist yet. This is a restriction of smbclient.
16268 (tramp-smb-maybe-open-connection): Rerun the function only when
16269 `auth-sources' is non-nil.
16271 2013-09-08 Kenichi Handa <handa@gnu.org>
16273 * international/characters.el: Set category "^" (Combining) for
16276 2013-09-07 Alan Mackenzie <acm@muc.de>
16278 Correctly fontify Java class constructors.
16279 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
16281 (c-recognize-typeless-decls): Set the Java value to t.
16282 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16283 While handling a "(", add a check for, effectively, Java, and handle a
16284 "typeless" declaration there.
16286 2013-09-07 Roland Winkler <winkler@gnu.org>
16288 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
16289 field subtitle for entry type book.
16291 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16293 * minibuffer.el: Make minibuffer-complete call completion-in-region
16294 rather than other way around.
16295 (completion--some, completion-pcm--find-all-completions):
16296 Don't delay signals when debugging.
16297 (minibuffer-completion-contents): Beware fields within the
16298 minibuffer contents.
16299 (completion-all-sorted-completions): Use defvar-local.
16300 (completion--do-completion, completion--cache-all-sorted-completions)
16301 (completion-all-sorted-completions, minibuffer-force-complete):
16302 Add args `beg' and `end'.
16303 (completion--in-region-1): New fun, extracted from minibuffer-complete.
16304 (minibuffer-complete): Use completion-in-region.
16305 (completion-complete-and-exit): New fun, extracted from
16306 minibuffer-complete-and-exit.
16307 (minibuffer-complete-and-exit): Use it.
16308 (completion--complete-and-exit): Rename from
16309 minibuffer--complete-and-exit.
16310 (completion-in-region--single-word): New function, extracted from
16311 minibuffer-complete-word.
16312 (minibuffer-complete-word): Use it.
16313 (display-completion-list): Make `common-substring' argument obsolete.
16314 (completion--in-region): Call completion--in-region-1 instead of
16315 minibuffer-complete.
16316 (completion-help-at-point): Pass boundaries to
16317 minibuffer-completion-help as args rather than via an overlay.
16318 (completion-pcm--string->pattern): Use `any-delim'.
16319 (completion-pcm--optimize-pattern): New function.
16320 (completion-pcm--pattern->regex): Handle `any-delim'.
16321 * icomplete.el (icomplete-forward-completions)
16322 (icomplete-backward-completions, icomplete-completions):
16323 Adjust calls to completion-all-sorted-completions and
16324 completion--cache-all-sorted-completions.
16325 (icomplete-with-completion-tables): Default to t.
16326 * emacs-lisp/crm.el (crm--current-element): Rename from
16327 crm--select-current-element. Don't put an overlay but return the
16328 boundaries instead.
16329 (crm--completion-command): Take two new args to bind to the boundaries.
16330 (crm-completion-help): Adjust accordingly.
16331 (crm-complete): Use completion-in-region.
16332 (crm-complete-word): Use completion-in-region--single-word.
16333 (crm-complete-and-exit): Use completion-complete-and-exit.
16335 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16337 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
16340 2013-09-06 Juri Linkov <juri@jurta.org>
16342 * info.el (Info-display-images-node): When image file doesn't exist
16343 display text version of the image if it's provided in the Info file.
16344 Otherwise, display the location of missing image from SRC attribute.
16345 Add help-echo text property from ALT attribute. (Bug#15279)
16347 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16349 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
16350 (edit-abbrevs-mode): Use define-derived-mode.
16352 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
16353 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
16355 (epa-key-list-mode, epa-key-mode, epa-info-mode):
16356 Use define-derived-mode.
16358 * epg.el (epg-start-encrypt): Minor CSE simplification.
16360 2013-09-06 William Xu <william.xwl@gmail.com>
16362 * arc-mode.el: Add support for 7za (bug#15264).
16363 (archive-7z-program): New var.
16364 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
16365 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
16366 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
16368 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
16372 * net/tramp.el (tramp-syntax, tramp-prefix-format)
16373 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
16374 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
16375 (tramp-postfix-host-format, tramp-file-name-regexp)
16376 (tramp-completion-file-name-regexp)
16377 (tramp-completion-dissect-file-name)
16378 (tramp-handle-substitute-in-file-name): Remove 'url case.
16379 (tramp-file-name-regexp-url)
16380 (tramp-completion-file-name-regexp-url): Remove constants.
16382 2013-09-06 Glenn Morris <rgm@gnu.org>
16384 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
16386 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
16388 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
16389 keywords" below "here-doc beginnings" (Bug#15270).
16391 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * subr.el (pop): Use `car-safe'.
16394 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
16395 to detect unused `pop' return value.
16397 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
16398 var `block-regexp'.
16399 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
16400 (python-fill-string): Remove unused var `marker'.
16401 (python-skeleton-add-menu-items): Remove unused var `items'.
16403 * international/mule-cmds.el: Require CL.
16404 (find-coding-systems-for-charsets): Avoid add-to-list.
16405 (sanitize-coding-system-list): New function, extracted from
16406 select-safe-coding-system-interactively.
16407 (select-safe-coding-system-interactively): Use it.
16408 (read-input-method-name): Accept symbols for `default'.
16410 * emacs-lisp/advice.el (defadvice): Add indent rule.
16412 2013-09-05 Daniel Hackney <dan@haxney.org>
16416 * net/browse-url.el:
16419 * net/eudcb-ldap.el:
16423 * vc/ediff-diff.el:
16424 * vc/ediff-init.el:
16425 * vc/ediff-merg.el:
16426 * vc/ediff-mult.el:
16427 * vc/ediff-util.el:
16428 * vc/ediff-wind.el:
16432 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
16433 byte compiler. Remove some unused let-bound variables.
16435 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
16437 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
16438 a "ref-cell", since it gets better optimized (bug#14883).
16440 2013-09-05 Glenn Morris <rgm@gnu.org>
16442 * progmodes/cc-awk.el (c-forward-sws): Declare.
16444 2013-09-04 Glenn Morris <rgm@gnu.org>
16446 * generic-x.el [rul-generic-mode]: Require cc-mode.
16447 (c++-mode-syntax-table): Declare.
16448 (rul-generic-mode-syntax-table): Init in the defvar.
16450 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16452 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
16453 (vc-do-command, vc-set-async-update):
16454 * vc/vc-mtn.el (vc-mtn-dir-status):
16455 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
16456 (vc-hg-pull, vc-hg-merge-branch):
16457 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
16458 (vc-git-merge-branch):
16459 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
16460 (vc-cvs-dir-status-files):
16461 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
16462 (vc-bzr-dir-status-files):
16463 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
16464 * vc/vc-annotate.el: Use lexical-binding.
16465 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
16466 (vc-sentinel-movepoint): Declare.
16467 (vc-annotate): Don't use `goto-line'.
16468 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
16469 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
16470 (vc-sentinel-movepoint): Declare.
16471 * vc/vc-svn.el: Use lexical-binding.
16472 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
16474 * vc/vc-rcs.el: Use lexical-binding.
16476 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
16477 `deleted'. Don't drop errors silently.
16479 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
16481 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
16483 * vc/vc.el (vc-ignore): Rewrite.
16484 (vc-default-ignore): New function.
16485 (vc-default-ignore-completion-table): Use find-ignore-file.
16487 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
16488 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
16489 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
16490 Remove. Most code moved to vc.el.
16492 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
16494 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
16495 * net/tramp-smb.el (tramp-smb-get-file-entries):
16496 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
16497 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
16499 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
16501 (eww-change-select): Remove unused var `properties'.
16502 (eww-make-unique-file-name): Remove unused var `base'.
16504 * finder.el (finder-compile-keywords): Don't mess with windows.
16506 * calculator.el (calculator-funcall): Fix typo in last change.
16508 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
16510 * emacs-lisp/package.el (package-activate-1): Don't let a missing
16511 <pkg>-autoloads.el file stop us.
16513 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
16514 warnings, and factor out common code.
16516 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
16518 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
16519 two-character operators and whether the character preceding them
16520 changes their meaning (Bug#15208).
16522 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
16524 Format code sent to Python shell for robustness.
16525 * progmodes/python.el (python-shell-buffer-substring):
16527 (python-shell-send-region, python-shell-send-buffer): Use it.
16529 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
16531 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
16532 * net/tramp.el (tramp-user-error): ... here.
16533 (tramp-find-method, tramp-check-proper-host)
16534 (tramp-dissect-file-name, tramp-debug-message)
16535 (tramp-handle-shell-command):
16536 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16537 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
16539 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
16541 2013-09-02 Martin Rudalics <rudalics@gmx.at>
16543 * avoid.el (mouse-avoidance-point-position)
16544 (mouse-avoidance-too-close-p): Handle case where posn-at-point
16547 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
16549 * progmodes/python.el (python-shell-completion-get-completions):
16550 Drop use of deleted `comint-last-prompt-overlay'.
16551 (python-nav-if-name-main): New command.
16553 2013-09-01 Glenn Morris <rgm@gnu.org>
16555 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
16556 Avoid leading space in $wins. Otherwise the sed command used by
16557 eg compile-main ends up containing "/*.el". (Bug#15170)
16559 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
16561 2013-08-30 Glenn Morris <rgm@gnu.org>
16563 * emacs-lisp/bytecomp.el (byte-recompile-directory):
16564 Fix is-this-a-directory logic. (Bug#15220)
16566 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16568 * textmodes/css-mode.el: Use SMIE.
16569 (css-smie-grammar): New var.
16570 (css-smie--forward-token, css-smie--backward-token)
16571 (css-smie-rules): New functions.
16572 (css-mode): Use them.
16573 (css-navigation-syntax-table): Remove var.
16574 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
16575 (css-indent-calculate, css-indent-line): Remove functions.
16577 Misc changes to reduce use of `(lambda...); and other cleanups.
16578 * cus-edit.el: Use lexical-binding.
16579 (customize-push-and-save, customize-apropos)
16580 (custom-buffer-create-internal): Use closures.
16581 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
16582 * progmodes/ada-xref.el: Use setq.
16583 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
16584 * dframe.el: Use lexical-binding.
16585 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
16586 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
16587 * descr-text.el: Use lexical-binding.
16588 (describe-text-widget, describe-text-sexp, describe-property-list):
16590 * comint.el (comint-history-isearch-push-state): Use a closure.
16591 * calculator.el: Use lexical-binding.
16592 (calculator-number-to-string): Make it work with lexical-binding.
16593 (calculator-funcall): Same and use cl-letf.
16595 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
16596 (lisp--company-doc-string, lisp--company-location): New functions.
16597 (lisp-completion-at-point): Use them to improve Company support.
16599 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
16600 params of lambda expressions.
16601 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
16602 (ruby-smie--opening-pipe-p): New function.
16603 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
16604 symbols and matched |...| for formal params.
16605 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
16606 from being treated as hanging. Handle "rescue".
16608 2013-08-29 Glenn Morris <rgm@gnu.org>
16610 * progmodes/cc-engine.el (c-pull-open-brace):
16611 Move definition before use.
16613 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16615 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
16616 are immutable. Don't use `unsafe' any more.
16617 (cl--defsubst-expand): Don't substitute at the same time as keeping
16618 a residual unused let-binding. Don't use `unsafe' any more.
16620 2013-08-29 Glenn Morris <rgm@gnu.org>
16622 * calendar/cal-china.el (calendar-chinese-year-cache):
16625 * nxml/nxml-util.el (nxml-debug-clear-inside):
16626 Use cl-loop rather than loop.
16628 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
16630 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
16632 2013-08-28 Glenn Morris <rgm@gnu.org>
16634 * progmodes/antlr-mode.el: No need to require cc-mode twice.
16636 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
16638 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
16640 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16642 * simple.el (repeat-complex-command--called-interactively-skip):
16644 (repeat-complex-command): Use it (bug#14136).
16646 * progmodes/cc-mode.el: Minor cleanup of var declarations.
16647 (c-define-abbrev-table): Add `doc' argument.
16648 (c-mode-abbrev-table, c++-mode-abbrev-table)
16649 (objc-mode-abbrev-table, java-mode-abbrev-table)
16650 (idl-mode-abbrev-table, pike-mode-abbrev-table)
16651 (awk-mode-abbrev-table): Use it.
16652 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
16653 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
16654 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
16655 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
16656 Move initialization into the declaration; and remove any
16659 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
16660 and dynamic let binding.
16662 * vc/smerge-mode.el: Remove redundant :group args.
16664 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
16667 2013-08-28 Juri Linkov <juri@jurta.org>
16669 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
16670 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
16671 (isearch-other-meta-char): Handle an undefined shifted printing
16672 character by downshifting it. (Bug#15200)
16674 2013-08-28 Juri Linkov <juri@jurta.org>
16676 * isearch.el (isearch-search): Change regexp error message for
16677 non-regexp searches. (Bug#15166)
16679 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
16681 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
16682 for portability to hosts where /bin/sh has problems.
16684 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16686 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
16688 2013-08-27 Juri Linkov <juri@jurta.org>
16690 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
16691 in the keyboard macro. (Bug#15126)
16693 2013-08-27 Juri Linkov <juri@jurta.org>
16695 * isearch.el (isearch-quote-char): Comment out converting unibyte
16696 to multibyte, thus syncing with its `quoted-insert' counterpart.
16699 2013-08-27 Martin Rudalics <rudalics@gmx.at>
16701 * window.el (display-buffer-use-some-window): Add missing
16702 argument in call of get-largest-window (Bug#15185).
16703 Reported by Stephen Leake.
16705 2013-08-27 Glenn Morris <rgm@gnu.org>
16707 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
16709 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16711 * progmodes/python.el (python-font-lock-keywords): Don't return nil
16712 from a matcher-function unless there's no more matches (bug#15161).
16714 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
16716 * minibuffer.el: Revert change from 2013-08-20.
16718 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
16719 with text property `tramp-default', if appropriate.
16720 (tramp-check-proper-host): New defun.
16721 (tramp-dissect-file-name): Do not check hostname. Revert change
16723 (tramp-backtrace): Make VEC-OR-PROC optional.
16725 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16726 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16727 * net/tramp-sh.el (tramp-maybe-open-connection):
16728 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
16729 Apply `tramp-check-proper-host'.
16731 2013-08-26 Tassilo Horn <tsdh@gnu.org>
16733 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
16734 lambda expression in order to have `describe-variable' display it.
16736 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
16738 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
16739 BUF can be optional. (Bug#15186)
16741 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
16743 * progmodes/flymake.el (flymake-get-real-file-name-function):
16744 Fix broken customization. (Bug#15184)
16746 2013-08-25 Alan Mackenzie <acm@muc.de>
16748 Improve indentation of bracelists defined by macros (without "=").
16750 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
16751 expansion begins with "{", regard it as bracelist when it doesn't
16754 Parse C++ inher-intro when there's a template split over 2 lines.
16756 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
16757 rigorously the search for "class" etc. followed by ":".
16759 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
16760 random languages a regexp which never matches rather than nil.
16762 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
16764 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
16765 (c-awk-regexp-one-line-possibly-open-char-list-re)
16766 (c-awk-one-line-possibly-open-regexp-re)
16767 (c-awk-one-line-non-syn-ws*-re): Remove.
16768 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
16769 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
16770 (c-awk-space*-unclosed-regexp-/-re): New constants.
16771 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
16772 aren't regexp delimiters.
16774 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
16775 handling for a rare situation in AWK Mode involving unterminated
16778 2013-08-23 Glenn Morris <rgm@gnu.org>
16780 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
16782 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
16784 * files.el (create-file-buffer): If the result would begin with
16785 spaces, prepend a "|" instead of removing them. (Bug#15162)
16787 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16789 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
16790 text-properties (bug#15155).
16792 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
16794 (calc-keypad-redraw): Remove unused var `pad'.
16795 (calc-keypad-press): Remove unused var `menu'.
16797 2013-08-23 Martin Rudalics <rudalics@gmx.at>
16799 * window.el (display-buffer-pop-up-frame):
16800 Call pop-up-frame-function with BUFFER current so `make-frame' will
16801 use it as the new frame's buffer (Bug#15133).
16803 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16805 * calendar/timeclock.el: Minor cleanups.
16806 (timeclock-ask-before-exiting, timeclock-use-display-time):
16808 (timeclock-modeline-display): Define as alias before the
16810 (timeclock-mode-line-display): Use define-minor-mode.
16811 (timeclock-day-list-template): Make it a function, add an argument.
16812 (timeclock-day-list-required, timeclock-day-list-length)
16813 (timeclock-day-list-debt, timeclock-day-list-span)
16814 (timeclock-day-list-break): Adjust calls accordingly.
16816 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16818 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
16819 Use read--expression so that completion works again.
16821 2013-08-21 Sam Steingold <sds@gnu.org>
16823 Add rudimentary inferior shell interaction
16824 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
16825 (sh-set-shell): Reset it.
16826 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
16827 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
16829 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
16831 * align.el: Use lexical-binding.
16832 (align-region): Simplify accordingly.
16834 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
16836 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
16838 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
16839 `non-essential' up.
16841 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
16844 * net/tramp-adb.el:
16845 * net/tramp-cmds.el:
16846 * net/tramp-ftp.el:
16847 * net/tramp-gvfs.el:
16849 * net/tramp-sh.el: Don't wrap external variable declarations by
16850 `eval-when-compile'.
16852 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16854 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
16855 now that Emacs supports ImageMagick animations.
16857 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
16859 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
16860 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
16862 2013-08-16 Martin Rudalics <rudalics@gmx.at>
16864 * window.el (mouse-autoselect-window-select): Do autoselect when
16865 mouse pointer is on margin.
16867 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
16869 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
16871 2013-08-16 Glenn Morris <rgm@gnu.org>
16873 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
16874 Handle "Remote Directory" response of some clients. (Bug#15058)
16876 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
16877 Tweak warning. (Bug#14926)
16879 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
16880 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
16882 * image-mode.el (image-mode-map): Add menu items to reverse,
16883 increase, decrease, reset animation speed.
16884 (image--set-speed, image-increase-speed, image-decrease-speed)
16885 (image-reverse-speed, image-reset-speed): New functions.
16886 (image-mode-map): Add bindings for speed commands.
16888 * image.el (image-animate-get-speed, image-animate-set-speed):
16890 (image-animate-timeout): Respect image :speed property.
16892 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16894 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
16895 previous line (bug#15101).
16896 (debugger-eval-expression, debugger-record-expression):
16897 Use read--expression (bug#15102).
16899 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
16901 Remove byte compiler warnings, visible when compiling with
16902 `byte-compile-force-lexical-warnings' set to t.
16904 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
16905 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
16906 (tramp-handle-unhandled-file-name-directory)
16907 (tramp-handle-file-notify-add-watch, tramp-action-login)
16908 (tramp-action-succeed, tramp-action-permission-denied)
16909 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
16910 arguments with "_".
16912 * net/tramp-adb.el (tramp-adb-parse-device-names)
16913 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
16914 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
16915 (tramp-adb-handle-file-truename): Remove unused arguments.
16917 * net/tramp-cache.el (tramp-flush-directory-property)
16918 (tramp-flush-connection-property, tramp-list-connections)
16919 (tramp-parse-connection-properties): Prefix unused arguments with "_".
16921 * net/tramp-compat.el (tramp-compat-make-temp-file):
16922 Rename FILENAME to F.
16924 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16925 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
16926 (tramp-zeroconf-parse-workstation-device-names)
16927 (tramp-zeroconf-parse-webdav-device-names)
16928 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
16930 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16931 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
16933 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
16935 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
16936 (tramp-sh-handle-insert-file-contents-literally)
16937 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
16939 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
16940 Remove unused variables.
16942 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16943 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
16944 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
16946 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
16947 Make them a defconst.
16948 (tramp-uuencode-region): Remove unused variable.
16950 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
16952 * frameset.el (frameset--prop-setter): New function.
16953 (frameset-prop): Add gv-setter declaration.
16954 (frameset-filter-minibuffer): Deal with the case that the minibuffer
16955 parameter was already set in FILTERED. Doc fix.
16956 (frameset--record-minibuffer-relationships): Allow saving a
16957 minibufferless frame without its corresponding minibuffer frame.
16958 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
16959 frame, if the frame id matches.
16960 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
16961 frames before orphaned ones.
16962 (frameset-restore): Warn about orphaned windows, instead of error out.
16964 2013-08-14 Martin Rudalics <rudalics@gmx.at>
16966 * window.el (window-make-atom): Don't overwrite parameter
16968 (display-buffer-in-atom-window): Handle special case where we
16969 split an already atomic window.
16970 (window--major-non-side-window, display-buffer-in-side-window)
16971 (window--side-check): Ignore minibuffer window when walking
16973 (window-deletable-p): Return 'frame only if no other frame uses
16974 our minibuffer window.
16975 (record-window-buffer): Run buffer-list-update-hook.
16976 (split-window): Make sure window--check-frame won't destroy an
16977 existing atomic window in case the new window gets nested
16979 (display-buffer-at-bottom): Ignore minibuffer window when
16980 walking window tree. Don't split a side window.
16981 (pop-to-buffer): Don't set-buffer here, the select-window call
16983 (mouse-autoselect-window-select): Autoselect only if we are in the
16984 text portion of the window.
16986 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16988 * net/shr.el (shr-parse-image-data): New function to grab both the
16989 data itself and the Content-Type.
16990 (shr-put-image): Use it.
16992 * net/eww.el (eww-display-image): Ditto.
16994 * image.el (image-content-type-suffixes): New variable.
16996 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16998 * progmodes/python.el (python-imenu--build-tree)
16999 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
17001 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
17003 * simple.el (backward-word): Mention the optional argument.
17005 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17007 * frameset.el (frameset--make): Rename constructor from make-frameset.
17008 (frameset-p, frameset-valid-p): Don't autoload.
17009 (frameset-valid-p): Use normal accessors.
17011 2013-08-13 Glenn Morris <rgm@gnu.org>
17013 * progmodes/compile.el (compile-command): Tweak example in doc.
17014 * obsolete/scribe.el (scribe-mode):
17015 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
17017 * mail/feedmail.el (feedmail-confirm-outgoing)
17018 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
17020 * cus-start.el (truncate-partial-width-windows): Fix type.
17022 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
17024 * net/shr.el (shr-table-horizontal-line): Fix custom type.
17026 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17028 * emacs-lisp/timer.el (timer--time-setter): New function.
17029 (timer--time): Use it as gv-setter.
17031 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
17032 setter is not a symbol.
17034 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
17036 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
17037 if sending fails. This makes debugging easier.
17039 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
17041 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
17042 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
17043 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
17045 2013-08-12 Eli Zaretskii <eliz@gnu.org>
17047 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
17049 2013-08-12 Glenn Morris <rgm@gnu.org>
17051 * format.el (format-annotate-function):
17052 Handle read-only text properties in the source. (Bug#14887)
17054 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17056 * net/eww.el (eww-display-html): Ignore coding system errors.
17057 One web site uses "utf-8lias" as the coding system.
17059 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
17061 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
17063 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
17065 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
17066 (tutorial--detailed-help): Remove unused local variables.
17067 (tutorial--save-tutorial-to): Use ignore-errors.
17068 (help-with-tutorial): Use looking-at-p.
17070 * view.el (view-buffer-other-window, view-buffer-other-frame):
17071 Mark unused arguments.
17073 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
17074 (woman-select-symbol-fonts, woman, woman-find-file)
17075 (woman-insert-file-contents, woman-non-underline-faces):
17076 Use string-match-p.
17077 (woman1-unquote): Move declaration.
17079 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
17080 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
17081 argument. Remove unused local variable.
17082 (xml-parse-elem-type): Use string-match-p.
17083 (xml-substitute-numeric-entities): Use ignore-errors.
17085 * calculator.el (calculator): Mark unused argument.
17086 (calculator-paste, calculator-quit, calculator-integer-p):
17088 (calculator-string-to-number, calculator-decimal, calculator-exp)
17089 (calculator-op-or-exp): Use string-match-p.
17091 * dired.el (dired-buffer-more-recently-used-p): Declare.
17092 (dired-insert-set-properties, dired-insert-old-subdirs):
17095 * dired-aux.el (dired-compress): Use ignore-errors.
17096 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
17097 (dired-do-async-shell-command, dired-do-shell-command)
17098 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
17099 (dired-insert-subdir-validate): Use string-match-p.
17100 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
17101 (dired-add-entry): Use string-match-p, looking-at-p.
17102 (dired-insert-subdir-newpos): Remove unused local variable.
17104 * filenotify.el (file-notify-callback): Remove unused local variable.
17106 * filesets.el (filesets-error): Mark unused argument.
17107 (filesets-which-command-p, filesets-filter-dir-names)
17108 (filesets-directory-files, filesets-get-external-viewer)
17109 (filesets-ingroup-get-data): Use string-match-p.
17111 * find-file.el (ff-other-file-name, ff-other-file-name)
17112 (ff-find-the-other-file, ff-cc-hh-converter):
17113 Remove unused local variables.
17114 (ff-get-file-name): Use string-match-p.
17115 (ff-all-dirs-under): Use ignore-errors.
17117 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
17118 (follow-select-if-visible): Remove unused local variable.
17120 * forms.el (read-file-filter): Move declaration.
17121 (forms--make-format, forms--make-parser, forms-insert-record):
17122 Quote function with #'.
17123 (forms--update): Use string-match-p. Quote function with #'.
17125 * help-mode.el (help-dir-local-var-def): Mark unused argument.
17126 (help-make-xrefs): Use looking-at-p.
17127 (help-xref-on-pp): Use looking-at-p, ignore-errors.
17129 * ibuffer.el (ibuffer-ext-visible-p): Declare.
17130 (ibuffer-confirm-operation-on): Use string-match-p.
17132 * msb.el (msb-item-handler, msb-dired-item-handler):
17133 Mark unused arguments.
17135 * ses.el (ses-decode-cell-symbol)
17136 (ses-kill-override): Remove unused local variable.
17137 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
17138 (ses-load): Use ignore-errors, looking-at-p.
17139 (ses-jump-safe): Use ignore-errors.
17140 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
17142 * tabify.el (untabify, tabify): Mark unused arguments.
17144 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
17145 Mark unused argument.
17146 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
17147 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
17149 * emacs-lisp/timer.el (timer--time): Define setter with
17150 gv-define-setter to avoid deprecation warning.
17152 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
17153 (*record-cmpl-statistics-p*): Remove (was commented out).
17154 (cmpl-statistics-block): Remove (body was commented out).
17155 All callers changed.
17156 (add-completions-from-buffer, load-completions-from-file):
17157 Remove unused variables.
17159 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17161 * filecache.el (file-cache-delete-file-list):
17162 Print message only when told so.
17163 (file-cache-files-matching): Use #' in mapconcat argument.
17165 * ffap.el (ffap-url-at-point): Fix reference to variable
17166 thing-at-point-default-mail-uri-scheme.
17168 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
17170 * subr.el (define-error): New function.
17171 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
17172 error-file-not-found and define with define-error.
17173 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
17174 and define with define-error.
17175 * userlock.el (file-locked, file-supersession):
17176 * simple.el (mark-inactive):
17177 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
17178 * progmodes/ada-mode.el (ada-mode-errors):
17179 * play/life.el (life-extinct):
17180 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
17181 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
17182 * nxml/rng-util.el (rng-error):
17183 * nxml/rng-uri.el (rng-uri-error):
17184 * nxml/rng-match.el (rng-compile-error):
17185 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
17186 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
17187 * nxml/nxml-rap.el (nxml-scan-error):
17188 * nxml/nxml-outln.el (nxml-outline-error):
17189 * net/soap-client.el (soap-error):
17190 * net/gnutls.el (gnutls-error):
17191 * net/ange-ftp.el (ftp-error):
17192 * mpc.el (mpc-proc-error):
17193 * json.el (json-error, json-readtable-error, json-unknown-keyword)
17194 (json-number-format, json-string-escape, json-string-format)
17195 (json-key-format, json-object-format):
17196 * jka-compr.el (compression-error):
17197 * international/quail.el (quail-error):
17198 * international/kkc.el (kkc-error):
17199 * emacs-lisp/ert.el (ert-test-failed):
17200 * calc/calc.el (calc-error, inexact-result, math-overflow)
17202 * bookmark.el (bookmark-error-no-filename):
17203 * epg.el (epg-error): Define with define-error.
17205 * time.el (display-time-event-handler)
17206 (display-time-next-load-average): Don't call sit-for since it seems
17207 unnecessary (bug#15045).
17209 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
17210 Use #' instead of ' to quote functions.
17211 (checkdoc-output-mode): Use setq-local.
17212 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
17213 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
17214 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
17215 (checkdoc-ispell, checkdoc-ispell-current-buffer)
17216 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
17217 (checkdoc-ispell-message-text, checkdoc-ispell-start)
17218 (checkdoc-ispell-continue, checkdoc-ispell-comments)
17219 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
17221 * ido.el (ido-completion-help): Fix up compiler warning.
17223 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17225 * frameset.el (frameset-p): Add autoload cookie.
17226 (frameset--jump-to-register): New function, based on code moved from
17228 (frameset-to-register): Move from register.el. Adapt to `registerv'.
17230 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
17231 (frameset-restore, frameset-save, frameset-session-filter-alist):
17232 Remove declarations.
17233 (register-alist): Doc fix.
17234 (frameset-to-register): Move to frameset.el.
17235 (jump-to-register, describe-register-1): Remove frameset-specific code.
17237 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17239 * allout-widgets.el (allout-widgets-pre-command-business)
17240 (allout-widgets-post-command-business)
17241 (allout-widgets-after-change-handler)
17242 (allout-decorate-item-and-context, allout-set-boundary-marker)
17243 (allout-body-modification-handler)
17244 (allout-graphics-modification-handler): Mark ignored arguments.
17245 (allout-widgets-post-command-business)
17246 (allout-widgets-exposure-change-processor)
17247 (allout-widgets-exposure-undo-processor)
17248 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
17249 (allout-parse-item-at-point, allout-decorate-item-guides)
17250 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
17251 * allout.el (epa-passphrase-callback-function): Declare.
17252 (allout-overlay-insert-in-front-handler)
17253 (allout-overlay-interior-modification-handler)
17254 (allout-isearch-end-handler, allout-chart-siblings)
17255 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
17256 (allout-yank-processing, allout-process-exposed)
17257 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
17258 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
17259 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
17260 (lisp-indent-defform): Mark ignored arguments.
17261 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
17262 (calculate-lisp-indent): Remove unused variables.
17263 * international/characters.el (indian-2-column, arabic-2-column)
17264 (tibetan): Mark ignored arguments.
17265 (use-cjk-char-width-table): Mark ignored arguments.
17266 Remove unused variables.
17267 * international/fontset.el (build-default-fontset-data)
17268 (x-compose-font-name, create-fontset-from-fontset-spec):
17269 Mark ignored arguments.
17270 (fontset-plain-name): Remove unused variables.
17271 * international/mule.el (charset-id, charset-bytes, generic-char-p)
17272 (keyboard-coding-system): Mark ignored arguments.
17273 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
17274 * help.el (resize-temp-buffer-window):
17275 * window.el (display-buffer-in-major-side-window)
17276 (display-buffer-in-side-window, display-buffer-in-previous-window):
17277 Remove unused variables.
17278 * isearch.el (isearch-forward-symbol):
17279 * version.el (emacs-bzr-version-bzr):
17280 * international/mule-cmds.el (current-language-environment):
17281 * term/common-win.el (x-handle-iconic, x-handle-geometry)
17282 (x-handle-display):
17283 * term/pc-win.el (x-list-fonts, x-display-planes)
17284 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
17285 (x-server-version, x-display-screens, x-display-mm-height)
17286 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
17287 (x-selection-owner-p, x-own-selection-internal)
17288 (x-disown-selection-internal, x-get-selection-internal)
17289 (msdos-initialize-window-system):
17290 * term/tty-colors.el (tty-color-alist, tty-color-clear):
17291 * term/x-win.el (x-handle-no-bitmap-icon):
17292 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
17293 (vc-default-find-file-hook, vc-default-extra-menu):
17294 Mark ignored arguments.
17296 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17298 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
17299 break-condition in the context of the debugged code (bug#12685).
17301 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
17304 Do not use an overlay to highlight the last prompt. (Bug#14744)
17305 (comint-mode): Make comint-last-prompt buffer local.
17306 (comint-last-prompt): New variable.
17307 (comint-last-prompt-overlay): Remove. Superseded by
17308 comint-last-prompt.
17309 (comint-snapshot-last-prompt, comint-output-filter):
17310 Use comint-last-prompt.
17312 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17314 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
17315 (frameset-save): Check validity of the resulting frameset.
17317 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
17319 * ido.el (ido-record-command): Add doc string.
17321 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17323 * frameset.el (frameset): Do not disable creation of the default
17324 frameset-p predicate. Doc fix.
17325 (frameset-valid-p): New function, copied from the old predicate-p.
17326 Add additional checks.
17327 (frameset-restore): Check with frameset-valid-p.
17328 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
17329 (frameset-name, frameset-description, frameset-properties)
17330 (frameset-states): Add docstring.
17331 (frameset-session-filter-alist, frameset-persistent-filter-alist)
17332 (frameset-filter-alist): Doc fixes.
17334 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17336 * frameset.el (frameset-p, frameset-prop): Doc fixes.
17338 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17340 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
17341 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
17342 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
17343 (byte-compile-normal-call): Remove obsolescence check.
17345 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17347 * frameset.el (frameset-restore): Doc fix.
17349 * register.el (frameset-frame-id, frameset-frame-with-id)
17350 (frameset-p, frameset-restore, frameset-save): Declare.
17351 (register-alist): Document framesets.
17352 (frameset-session-filter-alist): Declare.
17353 (frameset-to-register): New function.
17354 (jump-to-register): Implement jumping to framesets. Doc fix.
17355 (describe-register-1): Describe framesets.
17357 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
17359 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
17361 * desktop.el (desktop-save-frameset): Use new frameset-save args.
17362 Use lexical-binding.
17364 * frameset.el (frameset): Use type vector, not list (incompatible
17365 change). Do not declare a new constructor, use the default one.
17366 Upgrade suggested properties `app', `name' and `desc' to slots `app',
17367 `name' and `description', respectively, and add read-only slot
17368 `timestamp'. Doc fixes.
17369 (frameset-copy, frameset-persistent-filter-alist)
17370 (frameset-filter-alist, frameset-switch-to-gui-p)
17371 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
17372 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
17373 (frameset-filter-iconified, frameset-keep-original-display-p):
17375 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
17376 Rename from frameset-filter-(save|restore)-param. All callers changed.
17378 (frameset-p): Adapt to change to vector and be more thorough.
17379 Change arg name to OBJECT. Doc fix.
17380 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
17381 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
17382 All callers changed.
17383 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
17384 All callers changed.
17385 (frameset--record-minibuffer-relationships): Rename from
17386 frameset--process-minibuffer-frames. All callers changed.
17387 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
17388 Use new default constructor (again). Doc fix.
17389 (frameset--find-frame-if): Rename from `frameset--find-frame'.
17390 All callers changed.
17391 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
17392 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
17394 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
17395 PARAMETERS and WINDOW-STATE, respectively.
17396 (frameset-restore): Add new keyword argument PREDICATE.
17397 Reset frameset--target-display to nil. Doc fix.
17399 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17401 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
17402 (bat-mode): Use it.
17403 (bat-mode-syntax-table): Mark \n as end-of-comment.
17404 (bat-font-lock-keywords): Remove comment rule.
17406 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
17407 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
17409 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
17410 (byte-compile-callargs-warn): Use `push'.
17411 (byte-compile-arglist-warn): Ignore higher-order "calls".
17412 (byte-compile-file-form-autoload): Use `pcase'.
17413 (byte-compile-function-form): If quoting a symbol, check that it exists.
17415 2013-08-07 Eli Zaretskii <eliz@gnu.org>
17417 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
17418 and add a few popular commands found in batch files.
17419 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
17420 (dos-mode): Doc fixes.
17422 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17424 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
17425 (dos-mode): Use setq-local. Add space after "rem".
17426 (dos-mode-syntax-table): Don't use "w" for symbol chars.
17427 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
17429 2013-08-07 Arni Magnusson <arnima@hafro.is>
17431 * progmodes/dos.el: New file.
17432 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
17435 2013-08-06 Glenn Morris <rgm@gnu.org>
17437 * calendar/calendar.el: Add new faces, and day-header-array.
17438 (calendar-weekday-header, calendar-weekend-header)
17439 (calendar-month-header): New faces.
17440 (calendar-day-header-construct): New function.
17441 (calendar-day-header-width): Also :set calendar-day-header-array.
17442 (calendar-american-month-header, calendar-european-month-header)
17443 (calendar-iso-month-header): Use calendar- faces.
17444 (calendar-generate-month):
17445 Use calendar-day-header-array for day headers; apply faces to them.
17446 (calendar-mode): Check calendar-font-lock-keywords non-nil.
17447 (calendar-abbrev-construct): Add optional maxlen argument.
17448 (calendar-day-name-array): Doc fix.
17449 (calendar-day-name-array, calendar-abbrev-length)
17450 (calendar-day-abbrev-array):
17451 Also :set calendar-day-header-array, and maybe redraw.
17452 (calendar-day-header-array): New option. (Bug#15007)
17453 (calendar-font-lock-keywords): Set to nil and make obsolete.
17454 (calendar-day-name): Add option to use header array.
17456 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17458 * net/shr.el (shr-render-td): Remove debugging.
17459 (shr-render-td): Make width computation consistent by defaulting
17460 all zero-width columns to 10 characters. This may not be optimal,
17461 but it's at least consistent.
17462 (shr-make-table-1): Redo last change to fix the real problem in
17465 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
17467 * files.el (cache-long-line-scans):
17468 Make obsolete alias to `cache-long-scans'.
17470 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
17472 * frameset.el (frameset, frameset-filter-alist)
17473 (frameset-filter-params, frameset-save, frameset--reuse-frame)
17474 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
17475 (frameset-compute-pos): Rename from frameset--compute-pos,
17477 (frameset-move-onscreen): Use frameset-compute-pos.
17478 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
17480 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
17481 Fix typos in docstrings.
17483 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
17485 * frame.el (get-other-frame): Tiny cleanup.
17487 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
17489 * vc/vc.el (vc-default-ignore-completion-table):
17490 Silence byte-compiler warning.
17492 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
17493 slot, which can indeed be nil.
17494 (frameset-live-filter-alist, frameset-persistent-filter-alist):
17495 Move entry for `left' from persistent to live filter alist.
17496 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
17498 (frameset-filter-params): When restoring a frame, copy items added to
17499 `filtered', to avoid unwittingly modifying the original parameters.
17500 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
17501 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
17503 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
17504 to use looking-at-p instead of looking-at. (Bug#15028)
17506 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17508 Revert introduction of isearch-filter-predicates (bug#14714).
17509 Rely on add-function instead.
17510 * isearch.el (isearch-filter-predicates): Rename it back to
17511 isearch-filter-predicate.
17512 (isearch-message-prefix): Use advice-function-mapc and advice
17513 properties to get the isearch-message-prefix.
17514 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
17515 instead of run-hook-with-args-until-failure.
17516 (isearch-filter-visible): Not obsolete any more.
17517 * loadup.el: Preload nadvice.
17518 * replace.el (perform-replace): Revert to funcall
17519 instead of run-hook-with-args-until-failure.
17520 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
17521 * dired-aux.el (dired-isearch-filenames-mode): Rename from
17522 dired-isearch-filenames-toggle; make it into a proper minor mode.
17523 Use add/remove-function.
17524 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
17525 Call the minor-mode rather than add/remove-hook.
17526 (dired-isearch-filter-filenames):
17527 Remove isearch-message-prefix property.
17528 * info.el (Info--search-loop): New function, extracted from Info-search.
17529 Funcall isearch-filter-predicate instead of
17530 run-hook-with-args-until-failure isearch-filter-predicates.
17531 (Info-search): Use it.
17532 (Info-mode): Use isearch-filter-predicate instead of
17533 isearch-filter-predicates.
17535 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
17537 Do not call to `selected-window' where it is assumed by default.
17538 Affected functions are `window-minibuffer-p', `window-dedicated-p',
17539 `window-hscroll', `window-width', `window-height', `window-buffer',
17540 `window-frame', `window-start', `window-point', `next-window'
17541 and `window-display-table'.
17542 * abbrev.el (abbrev--default-expand):
17543 * bs.el (bs--show-with-configuration):
17544 * buff-menu.el (Buffer-menu-mouse-select):
17545 * calc/calc.el (calc):
17546 * calendar/calendar.el (calendar-generate-window):
17547 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
17548 (diary-make-entry):
17549 * comint.el (send-invisible, comint-dynamic-complete-filename)
17550 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
17551 * completion.el (complete):
17552 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
17553 * disp-table.el (describe-current-display-table):
17554 * doc-view.el (doc-view-insert-image):
17555 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
17556 * ehelp.el (with-electric-help):
17557 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17558 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
17559 * emacs-lisp/helper.el (Helper-help-scroller):
17560 * emulation/cua-base.el (cua--post-command-handler-1):
17561 * eshell/esh-mode.el (eshell-output-filter):
17562 * ffap.el (ffap-gnus-wrapper):
17563 * help-macro.el (make-help-screen):
17564 * hilit-chg.el (highlight-compare-buffers):
17565 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
17566 * hl-line.el (global-hl-line-highlight):
17567 * icomplete.el (icomplete-simple-completing-p):
17568 * isearch.el (isearch-done):
17569 * jit-lock.el (jit-lock-stealth-fontify):
17570 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
17571 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
17572 * mpc.el (mpc-tagbrowser, mpc):
17573 * net/rcirc.el (rcirc-any-buffer):
17574 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
17575 * play/landmark.el (landmark-max-width, landmark-max-height):
17576 * play/zone.el (zone):
17577 * progmodes/compile.el (compilation-goto-locus):
17578 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
17579 * progmodes/etags.el (find-tag-other-window):
17580 * progmodes/fortran.el (fortran-column-ruler):
17581 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17582 * progmodes/verilog-mode.el (verilog-point-text):
17583 * reposition.el (reposition-window):
17584 * rot13.el (toggle-rot13-mode):
17585 * server.el (server-switch-buffer):
17586 * shell.el (shell-dynamic-complete-command)
17587 (shell-dynamic-complete-environment-variable):
17588 * simple.el (insert-buffer, set-selective-display)
17589 (delete-completion-window):
17590 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
17591 (speedbar-recenter):
17592 * startup.el (fancy-splash-head):
17593 * textmodes/ispell.el (ispell-command-loop):
17594 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
17595 * tutorial.el (help-with-tutorial):
17596 * vc/add-log.el (add-change-log-entry):
17597 * vc/compare-w.el (compare-windows):
17598 * vc/ediff-help.el (ediff-indent-help-message):
17599 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
17600 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
17601 (ediff-setup-control-frame):
17602 * vc/emerge.el (emerge-position-region):
17603 * vc/pcvs-util.el (cvs-bury-buffer):
17604 * window.el (walk-windows, mouse-autoselect-window-select):
17605 * winner.el (winner-set-conf, winner-undo): Related users changed.
17607 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
17609 * frameset.el (frameset--set-id): Doc fix.
17610 (frameset-frame-id, frameset-frame-id-equal-p)
17611 (frameset-locate-frame-id): New functions.
17612 (frameset--process-minibuffer-frames, frameset--reuse-frame)
17613 (frameset-restore): Use them.
17615 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
17617 Do not call to `selected-frame' where it is assumed by default.
17618 Affected functions are `raise-frame', `redraw-frame',
17619 `frame-first-window', `frame-terminal' and `delete-frame'.
17620 * calendar/appt.el (appt-disp-window):
17621 * epg.el (epg-wait-for-completion):
17622 * follow.el (follow-delete-other-windows-and-split)
17623 (follow-avoid-tail-recenter):
17624 * international/mule.el (set-terminal-coding-system):
17625 * mail/rmail.el (rmail-mail-return):
17626 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17627 * progmodes/f90.el (f90-add-imenu-menu):
17628 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
17629 * server.el (server-switch-buffer):
17630 * simple.el (delete-completion-window):
17632 * term/xterm.el (terminal-init-xterm-modify-other-keys)
17633 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
17634 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
17635 * vc/ediff.el (ediff-documentation): Related users changed.
17636 * frame.el (selected-terminal): Remove the leftover.
17638 2013-08-05 Glenn Morris <rgm@gnu.org>
17640 * calendar/calendar.el (calendar-generate-month):
17641 Fix for calendar-column-width != 1 + calendar-day-digit-width.
17642 (calendar-generate-month, calendar-font-lock-keywords):
17643 Fix for calendar-day-header-width > length of any day name.
17645 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
17647 * desktop.el (desktop-clear): Use new name of sort predicate.
17649 * frameset.el (frameset): Add docstring. Move :version property to its
17650 own `version' slot.
17651 (frameset-copy): Rename from copy-frameset.
17652 (frameset-p): Check more thoroughly.
17653 (frameset-prop): Do not check for :version, which is no longer a prop.
17654 (frameset-live-filter-alist, frameset-persistent-filter-alist):
17655 Use new :never value instead of t.
17656 (frameset-filter-alist): Expand and clarify docstring.
17657 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
17658 (frameset-filter-minibuffer, frameset-filter-save-param)
17659 (frameset-filter-restore-param, frameset-filter-iconified):
17660 Add pointer to docstring of frameset-filter-alist.
17661 (frameset-filter-params): Rename filter values to be more meaningful:
17662 :never instead of t, and reverse the meanings of :save and :restore.
17663 (frameset--process-minibuffer-frames): Clarify error message.
17664 (frameset-save): Avoid unnecessary and confusing call to framep.
17665 Use new BOA constructor for framesets.
17666 (frameset--reuse-list): Doc fix.
17667 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
17668 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
17669 (frameset-minibufferless-first-p): Doc fix.
17670 Rename from frameset-sort-frames-for-deletion.
17671 (frameset-restore): Doc fixes. Use new function names.
17672 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
17674 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
17676 * desktop.el (desktop-restore-forces-onscreen)
17677 (desktop-restore-reuses-frames): Document :keyword constant values.
17678 (desktop-filter-parameters-alist): Remove, now identical to
17679 frameset-filter-alist.
17680 (desktop--filter-tty*): Remove, moved to frameset.el.
17681 (desktop-save-frameset, desktop-restore-frameset):
17682 Do not pass :filters argument.
17684 * frameset.el (frameset-live-filter-alist)
17685 (frameset-persistent-filter-alist): New variables.
17686 (frameset-filter-alist): Use them. Add autoload cookie.
17687 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
17688 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
17689 `frameset--id' (it's supposed to be internal to frameset.el).
17690 (frameset--process-minibuffer-frames): Ditto. Doc fix.
17691 (frameset--initial-params): New function.
17692 (frameset--get-frame): Use it. Doc fix.
17693 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
17694 Accept :all, not 'all.
17695 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
17696 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
17697 with fbound symbols. Fix frame id matching, and remove matching ids if
17698 the frame being restored is deleted. Obey :delete.
17700 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
17702 * subr.el (macrop): New function.
17703 (text-clone--maintaining): New var.
17704 (text-clone--maintain): Rename from text-clone-maintain. Use it
17705 instead of inhibit-modification-hooks.
17707 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
17708 a proxy, so as handle autoloads and redefinitions of the target.
17709 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
17711 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
17712 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
17713 (pcase--mutually-exclusive-p): New function.
17714 (pcase--split-consp): Use it.
17715 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
17716 mutually exclusive with the current predicate.
17718 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
17719 (edebug-macrop): Remove. Use `macrop' instead.
17720 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
17722 * eshell/esh-cmd.el (eshell-macrop):
17723 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
17725 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
17727 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
17728 (advice-mapc): New function, using it.
17729 (advice-function-member-p): New function.
17730 (advice--normalize): Store the cdr in advice--saved-rewrite since
17731 that's the part that will be changed.
17732 (advice--symbol-function): New function.
17733 (advice-remove): Handle removal before the function is defined.
17734 Adjust to new advice--saved-rewrite.
17735 (advice-member-p): Use advice-function-member-p and
17736 advice--symbol-function.
17738 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
17740 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
17741 (frameset-filter-minibuffer): Doc fix.
17742 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
17743 (frameset--set-id, frameset--process-minibuffer-frames)
17744 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
17745 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
17747 * desktop.el (desktop-clear): Only delete frames when called
17748 interactively and desktop-restore-frames is non-nil. Doc fix.
17749 (desktop-read): Set desktop-saved-frameset to nil.
17751 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
17753 * vc/vc.el (vc-ignore): Rewrite.
17754 (vc-default-ignore-completion-table, vc--read-lines)
17755 (vc--add-line, vc--remove-regexp): New functions.
17757 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
17758 (vc-svn-ignore-completion-table): New function.
17760 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
17761 (vc-hg-ignore-completion-table)
17762 (vc-hg-find-ignore-file): New functions.
17764 * vc/vc-git.el (vc-git-ignore): Rewrite.
17765 (vc-git-ignore-completion-table)
17766 (vc-git-find-ignore-file): New functions.
17768 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
17770 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
17771 (vc-bzr-ignore-completion-table)
17772 (vc-bzr-find-ignore-file): New functions.
17774 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
17776 * frameset.el (frameset-prop): New function and setter.
17777 (frameset-save): Do not modify frame list passed by the caller.
17779 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17781 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
17783 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
17785 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
17786 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
17788 * custom.el (custom-initialize-default, custom-initialize-set)
17789 (custom-initialize-reset, custom-initialize-changed): Affect the
17790 toplevel-default-value (bug#6275, bug#14586).
17791 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
17794 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
17796 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
17797 Add cl-def* expressions.
17799 * frameset.el (frameset-filter-params): Fix order of arguments.
17801 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
17803 Move code related to saving frames to frameset.el.
17804 * desktop.el: Require frameset.
17805 (desktop-restore-frames): Doc fix.
17806 (desktop-restore-reuses-frames): Rename from
17807 desktop-restoring-reuses-frames.
17808 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
17809 (desktop-clear): Clear frames too.
17810 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
17811 (desktop--filter-tty*, desktop-save, desktop-read):
17812 Use frameset functions.
17813 (desktop-before-saving-frames-functions, desktop--filter-*-color)
17814 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
17815 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
17816 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
17817 (desktop--process-minibuffer-frames, desktop-save-frames)
17818 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
17819 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
17820 (desktop--sort-states, desktop-restoring-frames-p)
17821 (desktop-restore-frames): Remove. Most code moved to frameset.el.
17822 (desktop-restoring-frameset-p, desktop-restore-frameset)
17823 (desktop--check-dont-save, desktop-save-frameset): New functions.
17824 (desktop--app-id): New constant.
17825 (desktop-first-buffer, desktop-buffer-ok-count)
17826 (desktop-buffer-fail-count): Move before first use.
17827 * frameset.el: New file.
17829 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17831 * files.el: Use lexical-binding.
17832 (dir-locals-read-from-file): Remove unused `err' variable.
17833 (hack-dir-local-variables--warned-coding): New var.
17834 (hack-dir-local-variables): Use it to avoid repeated warnings.
17835 (make-backup-file-name--default-function): New function.
17836 (make-backup-file-name-function): Use it as default.
17837 (buffer-stale--default-function): New function.
17838 (buffer-stale-function): Use it as default.
17839 (revert-buffer-insert-file-contents--default-function): New function.
17840 (revert-buffer-insert-file-contents-function): Use it as default.
17841 (insert-directory): Avoid add-to-list.
17843 * autorevert.el (auto-revert-handler): Simplify.
17844 Use buffer-stale--default-function.
17846 2013-08-01 Tassilo Horn <tsdh@gnu.org>
17848 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
17850 * whitespace.el (whitespace-ensure-local-variables): New function.
17851 (whitespace-cleanup-region): Call it.
17852 (whitespace-turn-on): Call it.
17854 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
17856 Complete file name handlers.
17858 * net/tramp.el (tramp-handle-set-visited-file-modtime)
17859 (tramp-handle-verify-visited-file-modtime)
17860 (tramp-handle-file-notify-rm-watch): New functions.
17861 (tramp-call-process): Do not bind `default-directory'.
17863 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17864 Order alphabetically.
17865 <access-file, add-name-to-file, dired-call-process>:
17866 <dired-compress-file, file-acl, file-notify-rm-watch>:
17867 <file-ownership-preserved-p, file-selinux-context>:
17868 <make-directory-internal, make-symbolic-link, set-file-acl>:
17869 <set-file-selinux-context, set-visited-file-modtime>:
17870 <verify-visited-file-modtime>: Add handler.
17871 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
17873 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
17874 <file-notify-add-watch, file-notify-rm-watch>:
17875 <set-file-times, set-visited-file-modtime>:
17876 <verify-visited-file-modtime>: Add handler.
17877 (with-tramp-gvfs-error-message)
17878 (tramp-gvfs-handle-set-visited-file-modtime)
17879 (tramp-gvfs-fuse-file-name): Remove.
17880 (tramp-gvfs-handle-file-notify-add-watch)
17881 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
17882 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
17884 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17885 Order alphabetically.
17886 <file-notify-rm-watch>: Use default Tramp handler.
17887 <executable-find>: Remove private handler.
17888 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
17889 `default-directory'.
17890 (tramp-sh-handle-executable-find)
17891 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
17892 (tramp-sh-file-gvfs-monitor-dir-process-filter)
17893 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
17894 Do not use `format' in `tramp-message'.
17896 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
17897 <file-notify-rm-watch, set-visited-file-modtime>:
17898 <verify-visited-file-modtime>: Add handler.
17899 (tramp-smb-call-winexe): Do not bind `default-directory'.
17901 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
17903 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
17905 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
17907 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
17909 (log-view-diff-changeset): Same.
17910 (log-view-diff-common): Call backend command `previous-revision'
17911 to find out the previous revision, in both cases. Swap the
17912 variables `to' and `fr', so that `fr' usually refers to the
17913 earlier revision (Bug#14989).
17915 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
17917 * ibuf-ext.el (ibuffer-filter-by-filename):
17918 Make it work with dired buffers too.
17920 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
17922 * emacs-lisp/re-builder.el (reb-color-display-p):
17923 * files.el (save-buffers-kill-terminal):
17924 * net/browse-url.el (browse-url):
17925 * server.el (server-save-buffers-kill-terminal):
17926 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
17927 Prefer nil to selected-frame for the first arg of frame-parameter.
17929 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
17931 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
17933 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
17935 * minibuffer.el (completion--twq-all): Try and preserve each
17936 completion's case choice (bug#14907).
17938 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17940 * net/network-stream.el (open-network-stream): Mention the new
17941 :nogreeting parameter.
17942 (network-stream-open-starttls): Use the :nogreeting parameter
17945 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
17947 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
17948 more natural than popping.
17950 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
17951 (shr-urlify): Highlight under mouse.
17953 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
17955 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
17957 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
17959 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
17962 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
17963 point-min==1. Fix search string. Fix parentheses missing.
17965 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
17966 assume point-min==1. Fix search string. Fix parentheses missing.
17968 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
17970 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
17973 2013-07-29 Eli Zaretskii <eliz@gnu.org>
17975 * frame.el (frame-notice-user-settings): Avoid inflooping when the
17976 initial frame is minibuffer-less. (Bug#14841)
17978 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
17980 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
17983 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17984 (tramp-maybe-open-connection): Use it.
17986 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
17988 * desktop.el (desktop--make-frame): Include `minibuffer' in the
17989 minimal set of parameters passed when creating a frame, because
17990 the minibuffer status of a frame cannot be changed later.
17992 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
17994 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
17995 replace-regexp-in-string and inadvertent omissions in previous change.
17996 (todo-filter-items): Ensure only file names are comma-separated in
17997 name of filtered items buffer.
17999 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18001 * desktop.el: Optionally force offscreen frames back onscreen.
18002 (desktop-restoring-reuses-frames): New option.
18003 (desktop--compute-pos, desktop--move-onscreen): New functions.
18004 (desktop--make-frame): Use desktop--move-onscreen.
18006 2013-07-27 Alan Mackenzie <acm@muc.de>
18008 Fontify a Java generic method as a function.
18009 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
18012 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
18014 * calendar/todo-mode.el: Add command to rename todo files.
18015 (todo-rename-file): New command.
18016 (todo-key-bindings-t): Add key binding for it. Change the
18017 bindings of todo-filter-regexp-items(-multifile) to use `x'
18018 instead of `r', since the latter is better suited to the new
18021 2013-07-27 Alan Mackenzie <acm@muc.de>
18023 Make Java try-with-resources statement parse properly.
18024 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
18025 (c-block-stmt-1-2-key): New language constants/variables.
18026 * progmodes/cc-engine.el (c-beginning-of-statement-1)
18027 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
18028 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
18029 with c-block-stmt-1-2-key.
18031 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
18033 * desktop.el (desktop--make-frame): Apply most frame parameters after
18034 creating the frame to force (partially or totally) offscreen frames to
18035 be restored as such.
18037 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
18039 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
18042 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18044 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
18045 `base' arg of backtrace-frame.
18047 2013-07-26 Eli Zaretskii <eliz@gnu.org>
18049 * simple.el (list-processes): Doc fix.
18051 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18053 * desktop.el (desktop--select-frame):
18054 Try harder to reuse existing frames.
18056 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18058 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
18059 (edebug-eval): Use backtrace-eval.
18060 (edebug--display, edebug--recursive-edit): Don't let-bind the
18061 edebug-outer-* vars that keep track of variables we locally let-bind.
18062 (edebug-outside-excursion): Don't restore outside values of locally
18064 (edebug--display): Use user-error.
18065 (cl-lexical-debug, cl-debug-env): Remove.
18067 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18069 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
18070 are restored to be sure that they are visible before deleting any
18073 2013-07-26 Matthias Meulien <orontee@gmail.com>
18075 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
18076 vc-print-root-log. (Bug#14948)
18078 2013-07-26 Richard Stallman <rms@gnu.org>
18080 Add aliases for encrypting mail.
18081 * epa.el (epa-mail-aliases): New option.
18082 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
18083 Bind inhibit-read-only so read-only text doesn't ruin everything.
18084 (epa-mail-default-recipients): New subroutine broken out.
18085 Handle epa-mail-aliases.
18087 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18089 Add support for lexical variables to the debugger's `e' command.
18090 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
18091 vars, except for debugger-outer-match-data.
18092 (debugger-frame-number): Move check for "on a function call" from
18093 callers into it. Add `skip-base' argument.
18094 (debugger-frame, debugger-frame-clear): Simplify accordingly.
18095 (debugger-env-macro): Only reset the state stored in non-variables,
18096 i.e. current-buffer and match-data.
18097 (debugger-eval-expression): Rewrite using backtrace-eval.
18098 * subr.el (internal--called-interactively-p--get-frame): Remove.
18099 (called-interactively-p):
18100 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
18101 `base' arg of backtrace-frame instead.
18103 2013-07-26 Glenn Morris <rgm@gnu.org>
18105 * align.el (align-regexp): Doc fix. (Bug#14857)
18106 (align-region): Explicit error if subexpression missing/does not match.
18108 * simple.el (global-visual-line-mode):
18109 Do not duplicate the mode lighter. (Bug#14858)
18111 2013-07-25 Martin Rudalics <rudalics@gmx.at>
18113 * window.el (display-buffer): In display-buffer bind
18114 split-window-keep-point to t, bug#14829.
18116 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18118 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
18119 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
18120 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
18121 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18122 Change accordingly.
18123 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18124 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
18126 2013-07-25 Glenn Morris <rgm@gnu.org>
18128 * dired-x.el (dired-mark-extension): Convert comment to doc string.
18130 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18132 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
18133 parameter to modify-frame-parameters if the value has not changed;
18134 this is a workaround for bug#14949.
18135 (desktop--make-frame): On cl-delete-if call, check parameter name,
18136 not full parameter.
18138 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18140 * vc/vc.el (vc-ignore): New function.
18142 * vc/vc-svn.el (vc-svn-ignore): New function.
18144 * vc/vc-hg.el (vc-hg-ignore): New function.
18146 * vc/vc-git.el (vc-git-ignore): New function.
18148 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
18149 (vc-dir-ignore): New function.
18151 * vc/vc-cvs.el (vc-cvs-ignore): New function.
18152 (cvs-append-to-ignore): Move here from pcvs.el.
18154 * vc/vc-bzr.el (vc-bzr-ignore): New function.
18156 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
18158 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
18160 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
18161 (desktop-restore-frames): Warn when deleting an existing frame failed.
18163 2013-07-24 Glenn Morris <rgm@gnu.org>
18165 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
18167 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
18169 * filenotify.el (file-notify-supported-p):
18170 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18173 * autorevert.el (auto-revert-use-notify)
18174 (auto-revert-notify-add-watch):
18175 * net/tramp.el (tramp-file-name-for-operation):
18176 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18177 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18178 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18179 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18180 Remove `file-notify-supported-p' entry.
18182 2013-07-24 Glenn Morris <rgm@gnu.org>
18184 * printing.el: Replace all uses of deleted ps-windows-system,
18185 ps-lp-system, ps-flatten-list with lpr- versions.
18187 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18189 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
18190 checked with memq (bug#14935).
18192 * files.el (revert-buffer-function): Use a non-nil default.
18193 (revert-buffer-preserve-modes): Declare var to
18194 provide access to the `preserve-modes' argument.
18195 (revert-buffer): Let-bind it.
18196 (revert-buffer--default): New function, extracted from revert-buffer.
18198 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18200 * lpr.el: Signal print errors more prominently.
18201 (print-region-function): Don't default to nil.
18202 (lpr-print-region): New function, extracted from print-region-1.
18203 Check lpr's return value and signal an error in case of problem.
18204 (print-region-1): Use it.
18205 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
18207 (ps-printer-name): Default to nil.
18208 (ps-printer-name-option): Default to lpr-printer-switch.
18209 (ps-print-region-function): Don't default to nil.
18210 (ps-postscript-code-directory): Simplify default.
18211 (ps-do-despool): Use lpr-print-region to properly check the outcome.
18212 (ps-string-list, ps-eval-switch, ps-flatten-list)
18213 (ps-flatten-list-1): Remove.
18214 (ps-multibyte-buffer): Avoid setq.
18215 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
18216 (print-region-function, ps-print-region-function): Don't set them here.
18218 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
18220 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
18221 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
18222 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
18223 (ido-decorations): Doc fix.
18225 * ansi-color.el: Fix old URL.
18227 2013-07-23 Michael R. Mauger <michael@mauger.com>
18229 * progmodes/sql.el: Version 3.3
18230 (sql-product-alist): Improve oracle :prompt-cont-regexp.
18231 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
18232 (sql-interactive-remove-continuation-prompt): Rewrite, use
18233 functions above. Fix continuation prompt and complete output line
18235 (sql-redirect-one, sql-execute): Use `read-only-mode' on
18236 redirected output buffer.
18237 (sql-mode): Restore deleted code (Bug#13591).
18239 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18241 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
18243 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
18245 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
18247 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18248 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18249 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
18251 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18253 * desktop.el (desktop-clear): Simplify; remove useless checks
18254 against invalid buffer names.
18255 (desktop-list*): Use cl-list*.
18256 (desktop-buffer-info, desktop-create-buffer): Simplify.
18258 2013-07-23 Leo Liu <sdl.web@gmail.com>
18260 * bookmark.el (bookmark-make-record): Restore NAME as a default
18263 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
18265 * emacs-lisp/autoload.el (autoload--setup-output): New function,
18266 extracted from autoload--insert-text.
18267 (autoload--insert-text): Remove.
18268 (autoload--print-cookie-text): New function, extracted from
18269 autoload--insert-cookie-text.
18270 (autoload--insert-cookie-text): Remove.
18271 (autoload-generate-file-autoloads): Adjust calls accordingly.
18273 * winner.el (winner-hook-installed-p): Remove.
18274 (winner-mode): Simplify accordingly.
18276 * subr.el (add-to-list): Fix compiler-macro when `append' is
18277 not constant. Don't use `cl-member' for the base case.
18279 * progmodes/subword.el: Fix boundary case (bug#13758).
18280 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
18282 (subword-backward-regexp): Make it a constant.
18283 (subword-forward-internal): Don't treat a trailing capital as the
18284 beginning of a word.
18286 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
18288 * emacs-lisp/package.el (package-menu-mode): Don't modify the
18289 global value of tabulated-list-revert-hook (bug#14930).
18291 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
18293 * desktop.el: Require 'cl-lib.
18294 (desktop-before-saving-frames-functions): New hook.
18295 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
18296 for frames being saved. Rename from desktop--save-minibuffer-frames.
18297 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
18298 Do not save frames with non-nil `desktop-dont-save' parameter.
18299 Filter out deleted frames.
18300 (desktop--find-frame): Use cl-find-if.
18301 (desktop--select-frame): Use cl-(first|second|third) to access values
18303 (desktop--make-frame): Use cl-delete-if.
18304 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
18305 (desktop-restore-frames): Use cl-(first|second|third) to access values
18306 of desktop-mini. Look for visible frame at the end, not while
18309 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
18310 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
18311 Use string-match-p, looking-at-p (bug#14927).
18313 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
18315 * desktop.el (desktop-saved-frame-states):
18316 Rename from desktop--saved-states; all users changed.
18317 (desktop-save-frames): Rename from desktop--save-frames.
18318 Do not save state to desktop file.
18319 (desktop-save): Save desktop-saved-frame-states to desktop file
18321 (desktop-restoring-frames-p): New function.
18322 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
18323 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
18324 buffer-lists when restoring frames. Suggested by Martin Rudalics.
18326 * desktop.el: Correctly restore iconified frames.
18327 (desktop--filter-iconified-position): New function.
18328 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
18330 2013-07-20 Glenn Morris <rgm@gnu.org>
18332 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
18333 Let `message' do the formatting.
18334 (def-gdb-preempt-display-buffer): Add explicit format.
18336 * image-dired.el (image-dired-track-original-file):
18337 Use with-current-buffer.
18338 (image-dired-track-thumbnail): Use with-current-buffer.
18339 Avoid changing point of wrong window.
18341 * image-dired.el (image-dired-track-original-file):
18342 Avoid changing point of wrong window. (Bug#14909)
18344 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
18346 * progmodes/gdb-mi.el (gdb-done-or-error):
18347 Guard against "%" in gdb output. (Bug#14127)
18349 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
18351 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
18354 * international/mule.el (coding-system-iso-2022-flags): Fix last
18357 2013-07-20 Kenichi Handa <handa@gnu.org>
18359 * international/mule.el (coding-system-iso-2022-flags):
18360 Add `8-bit-level-4'. (Bug#8522)
18362 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18364 * net/shr.el (shr-mouse-browse-url): New command and keystroke
18367 * net/eww.el (eww-process-text-input): Allow inputting when the
18368 point is at the start of the line, as the properties aren't
18371 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
18374 2013-07-19 Richard Stallman <rms@gnu.org>
18376 * epa.el (epa-popup-info-window): Doc fix.
18378 * subr.el (split-string): New arg TRIM.
18380 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
18382 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
18383 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
18385 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
18387 * filenotify.el (file-notify--library): Rename from
18388 `file-notify-support'. Do not autoload. Adapt all uses.
18389 (file-notify-supported-p): New defun.
18391 * autorevert.el (auto-revert-use-notify):
18392 Use `file-notify-supported-p' instead of `file-notify-support'.
18394 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
18396 * net/tramp.el (tramp-file-name-for-operation):
18397 Add `file-notify-supported-p'.
18399 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18401 (tramp-sh-file-name-handler-alist): Add it as handler for
18402 `file-notify-supported-p '.
18404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18405 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18406 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18407 Add `ignore' as handler for `file-notify-*' functions.
18409 2013-07-17 Eli Zaretskii <eliz@gnu.org>
18411 * simple.el (line-move-partial, line-move): Don't start vscroll or
18412 scroll-up if the current line is not taller than the window.
18415 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
18417 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
18418 highlight question marks in the method names as strings.
18419 (ruby-block-beg-keywords): Inline.
18420 (ruby-font-lock-keyword-beg-re): Extract from
18421 `ruby-font-lock-keywords'.
18423 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
18425 * frame.el (blink-cursor-blinks): New defcustom.
18426 (blink-cursor-blinks-done): New defvar.
18427 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
18428 (blink-cursor-timer-function): Check if number of blinks has been
18430 (blink-cursor-suspend, blink-cursor-check): New defuns.
18432 2013-07-15 Glenn Morris <rgm@gnu.org>
18434 * edmacro.el (edmacro-format-keys): Fix previous change.
18436 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
18438 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
18439 The hack didn't work outside English locales anyway.
18441 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
18443 * simple.el (define-alternatives): Rename from alternatives-define,
18444 per RMS' suggestion.
18446 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
18448 * desktop.el (desktop-restore-frames): Change default to t.
18449 (desktop-restore-in-current-display): Now offer more options.
18450 (desktop-restoring-reuses-frames): New customization option.
18451 (desktop--saved-states): Doc fix.
18452 (desktop-filter-parameters-alist): New variable, renamed and expanded
18453 from desktop--excluded-frame-parameters.
18454 (desktop--target-display): New variable.
18455 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
18456 (desktop--filter-tty*, desktop--filter-*-color)
18457 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18458 (desktop--filter-save-desktop-parm)
18459 (desktop-restore-in-original-display-p): New functions.
18460 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
18461 (desktop--save-minibuffer-frames): New function, inspired by a similar
18462 function from Martin Rudalics.
18463 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
18464 (desktop--restore-in-this-display-p): Remove.
18465 (desktop--find-frame): Rename from desktop--find-frame-in-display
18466 and add predicate argument.
18467 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
18468 (desktop--reuse-list): New variable.
18469 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
18471 (desktop--restore-frames): Add support for "minibuffer-special" frames.
18473 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
18475 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
18477 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
18479 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
18480 Highlight conversion methods on Kernel.
18482 2013-07-13 Alan Mackenzie <acm@muc.de>
18484 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
18485 and comment it out. This out-commenting enables certain C++
18486 declarations to be parsed correctly.
18488 2013-07-13 Eli Zaretskii <eliz@gnu.org>
18490 * international/mule.el (define-coding-system): Doc fix.
18492 * simple.el (default-font-height): Don't call font-info if the
18493 frame's default font didn't change since the frame was created.
18496 2013-07-13 Leo Liu <sdl.web@gmail.com>
18498 * ido.el (ido-read-file-name): Guard against non-symbol value.
18500 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
18502 * progmodes/python.el (python-imenu--build-tree): Fix corner case
18505 2013-07-13 Leo Liu <sdl.web@gmail.com>
18507 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
18508 ido-set-matches call. (Bug#6852)
18510 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
18512 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
18513 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
18515 (ruby-font-lock-keywords): Distinguish calls to functions with
18516 module-like names from module references. Highlight character
18519 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
18521 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
18522 (gdb-send): Handle continued commands. (Bug#14847)
18524 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
18526 * desktop.el (desktop--v2s): Remove unused local variable.
18527 (desktop-save-buffer): Make defvar-local; adjust docstring.
18528 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
18529 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
18531 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
18533 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
18535 2013-07-12 Eli Zaretskii <eliz@gnu.org>
18537 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
18540 2013-07-12 Glenn Morris <rgm@gnu.org>
18542 * doc-view.el: Require cl-lib at runtime too.
18543 (doc-view-remove-if): Remove.
18544 (doc-view-search-next-match, doc-view-search-previous-match):
18547 * edmacro.el: Require cl-lib at runtime too.
18548 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
18549 (edmacro-mismatch, edmacro-subseq): Remove.
18551 * shadowfile.el: Require cl-lib.
18552 (shadow-remove-if): Remove.
18553 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
18556 * wid-edit.el: Require cl-lib.
18557 (widget-choose): Use cl-remove-if.
18558 (widget-remove-if): Remove.
18560 * progmodes/ebrowse.el: Require cl-lib at runtime too.
18561 (ebrowse-delete-if-not): Remove.
18562 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
18563 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
18564 Use cl-delete-if-not.
18566 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
18568 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
18569 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
18571 2013-07-12 Leo Liu <sdl.web@gmail.com>
18573 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
18575 2013-07-11 Glenn Morris <rgm@gnu.org>
18577 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
18578 (edebug-gensym-index, edebug-gensym):
18579 Remove reimplementation of cl-gensym.
18580 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
18582 * thumbs.el: Require cl-lib at run-time too.
18583 (thumbs-gensym-counter, thumbs-gensym):
18584 Remove reimplementation of cl-gensym.
18585 (thumbs-temp-file): Use cl-gensym.
18587 * emacs-lisp/ert.el: Require cl-lib at runtime too.
18588 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
18589 (ert--intersection, ert--set-difference, ert--set-difference-eq)
18590 (ert--union, ert--gensym-counter, ert--gensym-counter)
18591 (ert--coerce-to-vector, ert--remove*, ert--string-position)
18592 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
18593 (ert-make-test-unbound, ert--expand-should-1)
18594 (ert--expand-should, ert--should-error-handle-error)
18595 (should-error, ert--explain-equal-rec)
18596 (ert--plist-difference-explanation, ert-select-tests)
18597 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
18598 Use cl-lib functions rather than reimplementations.
18600 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
18602 * net/tramp.el (tramp-methods): Extend docstring.
18603 (tramp-connection-timeout): New defcustom.
18604 (tramp-error-with-buffer): Reset timestamp only when appropriate.
18605 (with-tramp-progress-reporter): Simplify.
18606 (tramp-process-actions): Improve messages.
18608 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18609 * net/tramp-sh.el (tramp-maybe-open-connection):
18610 Use `tramp-connection-timeout'.
18611 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
18614 2013-07-11 Leo Liu <sdl.web@gmail.com>
18616 * ido.el (ido-read-file-name): Conform to the requirements of
18617 read-file-name. (Bug#11861)
18618 (ido-read-directory-name): Conform to the requirements of
18619 read-directory-name.
18621 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
18623 * subr.el (delay-warning): New function.
18625 2013-07-10 Eli Zaretskii <eliz@gnu.org>
18627 * simple.el (default-line-height): New function.
18628 (line-move-partial, line-move): Use it instead of computing the
18629 line height inline.
18630 (line-move-partial): Always compute ROWH. If the last line is
18631 partially-visible, but its text is completely visible, allow
18632 cursor to enter such a partially-visible line.
18634 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
18636 Improve error messages. (Bug#14808)
18638 * net/tramp.el (tramp-current-connection): New defvar, moved from
18640 (tramp-message-show-progress-reporter-message): Remove, not
18642 (tramp-error-with-buffer): Show message in minibuffer.
18643 Discard input before waiting. Reset connection timestamp.
18644 (with-tramp-progress-reporter): Improve messages.
18645 (tramp-process-actions): Use progress reporter. Delete process in
18646 case of error. Improve messages.
18648 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
18649 Call `tramp-error-with-buffer' with vector and buffer.
18650 (tramp-current-connection): Remove.
18651 (tramp-maybe-open-connection): The car of
18652 `tramp-current-connection' are the first 3 slots of the vector.
18654 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
18656 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
18657 inside continued strings.
18659 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
18661 Timestamp fixes for undo (Bug#14824).
18662 * files.el (clear-visited-file-modtime): Move here from fileio.c.
18664 2013-07-10 Leo Liu <sdl.web@gmail.com>
18666 * files.el (require-final-newline): Allow safe local value.
18669 2013-07-09 Leo Liu <sdl.web@gmail.com>
18671 * ido.el (ido-read-directory-name): Handle fallback.
18672 (ido-read-file-name): Update DIR to ido-current-directory.
18674 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
18676 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
18678 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
18679 "autoload". Remove "warn lower camel case" section, previously
18680 commented out. Highlight negation char. Do not highlight the
18681 target in singleton method definitions.
18683 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18685 * faces.el (tty-setup-hook): Declare the hook.
18687 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
18688 and detect when a guard/pred depends on local vars (bug#14773).
18689 (pcase--u1): Adjust caller.
18691 2013-07-08 Eli Zaretskii <eliz@gnu.org>
18693 * simple.el (line-move-partial, line-move): Account for
18695 (line-move-partial): Avoid setting vscroll when the last
18696 partially-visible line in window is of default height.
18698 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18700 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
18703 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
18705 * subr.el (read-quoted-char): Remove unused local variable `char'.
18707 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
18709 * vc/ediff.el (ediff-version): Version update.
18710 (ediff-files-command, ediff3-files-command, ediff-merge-command)
18711 (ediff-merge-with-ancestor-command, ediff-directories-command)
18712 (ediff-directories3-command, ediff-merge-directories-command)
18713 (ediff-merge-directories-with-ancestor-command): New functions.
18714 All are command-line interfaces to ediff: to facilitate calling
18715 Emacs with the appropriate ediff functions invoked.
18717 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
18719 (viper-save-kill-buffer): Check if buffer is modified.
18721 * emulation/viper.el (viper-version): Version update.
18722 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
18724 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
18726 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
18727 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
18728 (viper-intercept-ESC-key): Simplify.
18729 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
18731 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
18732 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
18733 (viper-setup-ESC-to-escape): New functions.
18734 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
18735 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
18737 2013-07-07 Eli Zaretskii <eliz@gnu.org>
18739 * simple.el (default-font-height, window-screen-lines):
18741 (line-move, line-move-partial): Use them instead of
18742 frame-char-height and window-text-height. This makes scrolling
18743 text smoother when the buffer's default face uses a font that is
18744 different from the frame's default font.
18746 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
18748 * files.el (write-file): Do not display confirm dialog for NS,
18749 it does its own dialog, which can't be canceled (Bug#14578).
18751 2013-07-06 Eli Zaretskii <eliz@gnu.org>
18753 * simple.el (line-move-partial): Adjust the row returned by
18754 posn-at-point for the current window-vscroll. (Bug#14567)
18756 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
18758 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
18759 (tramp-sh-file-inotifywait-process-filter): Handle file names with
18762 2013-07-06 Martin Rudalics <rudalics@gmx.at>
18764 * window.el (window-state-put-stale-windows): New variable.
18765 (window--state-put-2): Save list of windows without matching buffer.
18766 (window-state-put): Remove "bufferless" windows if possible.
18768 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
18770 * simple.el (alternatives-define): Remove leftover :group keyword.
18773 2013-07-06 Leo Liu <sdl.web@gmail.com>
18775 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
18776 (ido-enable-virtual-buffers): New variable.
18777 (ido-buffer-internal, ido-toggle-virtual-buffers)
18778 (ido-make-buffer-list): Use it.
18779 (ido-exhibit): Support turning on and off virtual buffers
18782 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
18784 * simple.el (alternatives-define): New macro.
18786 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
18788 * subr.el (read-quoted-char): Use read-key.
18789 (sit-for): Let read-event decode tty input (bug#14782).
18791 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
18793 * calendar/todo-mode.el: Add handling of file deletion, both by
18794 mode command and externally. Fix various related bugs.
18795 Clarify Commentary and improve some documentation strings and code.
18796 (todo-delete-file): New command.
18797 (todo-check-file): New function.
18798 (todo-show): Handle external deletion of the file we're trying to
18799 show (bug#14688). Replace called-interactively-p by an optional
18800 prefix argument to avoid problematic interaction with catch form
18801 when byte compiled (bug#14702).
18802 (todo-quit): Handle external deletion of the archive's todo file.
18803 Make sure the buffer that was visiting the archive file is still
18804 live before trying to bury it.
18805 (todo-category-completions): Handle external deletion of any
18806 category completion files.
18807 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
18808 of todo files, in case of external deletion.
18809 (todo-add-file): Replace unnecessary setq by let-binding.
18810 (todo-find-archive): Check whether there are any archives.
18811 Replace unnecessary setq by let-binding.
18812 (todo-archive-done-item): Use find-file-noselect to get the
18813 archive buffer whether or not the archive already exists.
18814 Remove superfluous code. Use file size instead of buffer-file-name to
18815 check if the archive is new; if it is, update list of archives.
18816 (todo-default-todo-file): Allow nil to be a valid value for when
18817 there are no todo files.
18818 (todo-reevaluate-default-file-defcustom): Use corrected definition
18819 of todo-default-todo-file.
18820 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
18821 (todo-delete-category, todo-show-categories-table)
18822 (todo-category-number): Clarify comment.
18823 (todo-filter-items): Clarify documentation string.
18824 (todo-show-current-file, todo-display-as-todo-file)
18825 (todo-reset-and-enable-done-separator): Tweak documentation string.
18826 (todo-done-separator): Make separator length window-width, since
18827 bug#2749 is now fixed.
18829 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
18831 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
18832 Support both "gvfs-monitor-dir" and "inotifywait".
18833 (tramp-sh-file-inotifywait-process-filter): Rename from
18834 `tramp-sh-file-notify-process-filter'.
18835 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18836 (tramp-get-remote-gvfs-monitor-dir): New defuns.
18838 2013-07-05 Leo Liu <sdl.web@gmail.com>
18840 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
18842 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18844 * frame.el (display-pixel-height, display-pixel-width)
18845 (display-mm-height, display-mm-width): Mention behavior on
18846 multi-monitor setups in docstrings.
18847 (w32-display-monitor-attributes-list): Declare function.
18848 (display-monitor-attributes-list): Use it.
18850 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
18852 * filenotify.el: New package.
18854 * autorevert.el (top): Require filenotify.el.
18855 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
18857 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18858 (auto-revert-notify-handler): Use `file-notify-*' functions.
18860 * subr.el (file-notify-handle-event): Move function to filenotify.el.
18862 * net/tramp.el (tramp-file-name-for-operation):
18863 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
18865 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
18866 for `file-notify-add-watch' and `file-notify-rm-watch'.
18867 (tramp-process-sentinel): Improve trace.
18868 (tramp-sh-handle-file-notify-add-watch)
18869 (tramp-sh-file-notify-process-filter)
18870 (tramp-sh-handle-file-notify-rm-watch)
18871 (tramp-get-remote-inotifywait): New defuns.
18873 2013-07-03 Juri Linkov <juri@jurta.org>
18875 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
18876 call of `occur-read-primary-args' to interactive spec.
18878 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
18879 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
18881 2013-07-03 Matthias Meulien <orontee@gmail.com>
18883 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
18884 `Buffer-menu-multi-occur'. Add it to the menu.
18885 (Buffer-menu-mode): Document it in docstring.
18886 (Buffer-menu-multi-occur): New command. (Bug#14673)
18888 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
18890 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
18891 keywords and built-ins.
18893 2013-07-03 Glenn Morris <rgm@gnu.org>
18895 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
18897 Make info-xref checks case-sensitive by default
18898 * info.el (Info-find-node, Info-find-in-tag-table)
18899 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
18900 Add option for exact case matching of nodes.
18901 * info-xref.el (info-xref): New custom group.
18902 (info-xref-case-fold): New option.
18903 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
18905 2013-07-03 Leo Liu <sdl.web@gmail.com>
18907 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
18909 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
18911 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
18912 middle of block statement initially, lower the depth. Remove
18913 FIXME comment, not longer valid. Remove middle of block statement
18914 detection, no need to do that anymore since we've been using
18915 `ruby-parse-region' here.
18917 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
18919 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
18921 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
18923 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
18925 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
18927 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
18928 (desktop-restore-in-current-display): New customization option.
18929 (desktop--excluded-frame-parameters): Add `font'.
18930 (desktop--save-frames): Rename from desktop--save-windows.
18931 (desktop--restore-in-this-display-p): New function.
18932 (desktop--make-full-frame): Remove unwanted width/height from
18933 full(width|height) frames.
18934 (desktop--restore-frames): Rename from desktop--restore-windows.
18935 Obey desktop-restore-current-display. Do not delete old frames or
18936 select a new frame unless we were able to restore at least one frame.
18938 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
18940 * files.el (find-file-noselect): Simplify conditional expression.
18942 * textmodes/remember.el (remember-append-to-file):
18943 Don't mix `find-buffer-visiting' and `get-file-buffer'.
18945 Add `remember-notes' function to store random notes across Emacs
18947 * textmodes/remember.el (remember-data-file): Add :set callback to
18948 affect notes buffer (if any).
18949 (remember-notes): New command.
18950 (remember-notes-buffer-name, bury-remember-notes-on-kill):
18951 New defcustoms for the `remember-notes' function.
18952 (remember-notes-save-and-bury-buffer): New command.
18953 (remember-notes-mode-map): New variable.
18954 (remember-mode): New minor mode.
18955 (remember-notes--kill-buffer-query): New function.
18956 * startup.el (initial-buffer-choice): Add notes to custom type.
18958 2013-06-30 Eli Zaretskii <eliz@gnu.org>
18960 * bindings.el (right-char, left-char): Don't call sit-for, this is
18961 no longer needed. Use arithmetic comparison only for numerical
18964 * international/mule-cmds.el (select-safe-coding-system):
18965 Handle the case of FROM being a string correctly. (Bug#14755)
18967 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18969 * net/shr.el (shr-make-table-1): Add a sanity check that allows
18970 progression on degenerate tables.
18971 (shr-rescale-image): ImageMagick animated images currently don't work.
18973 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
18975 Some fixes and improvements for desktop frame restoration.
18976 It is still experimental and disabled by default.
18977 * desktop.el (desktop--save-windows): Put the selected frame at
18978 the head of the list.
18979 (desktop--make-full-frame): New function.
18980 (desktop--restore-windows): Try to re-select the frame that was
18981 selected upon saving. Do not abort if some frames fail to restore,
18982 just show an error message and continue. Set up maximized frames
18983 so they have default non-maximized dimensions.
18985 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
18987 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
18988 Don't start heredoc inside a string or comment.
18990 2013-06-29 Eli Zaretskii <eliz@gnu.org>
18992 * bindings.el (visual-order-cursor-movement): New defcustom.
18993 (right-char, left-char): Provide visual-order cursor motion by
18994 calling move-point-visually. Update the doc strings.
18996 2013-06-28 Kenichi Handa <handa@gnu.org>
18998 * international/mule.el (define-coding-system): New coding system
18999 properties :inhibit-null-byte-detection,
19000 :inhibit-iso-escape-detection, and :prefer-utf-8.
19001 (set-buffer-file-coding-system): If :charset-list property of
19002 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
19003 appropriate for setting.
19005 * international/mule-cmds.el (select-safe-coding-system):
19006 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
19007 multibyte characters, return utf-8 (or one of its siblings).
19009 * international/mule-conf.el (prefer-utf-8): New coding system.
19010 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
19013 2013-06-28 Ivan Kanis <ivan@kanis.fr>
19015 * net/shr.el (shr-render-region): New function.
19017 * net/eww.el: Autoload `eww-browse-url'.
19019 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
19021 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19022 Adapt to `package-desc-version' being a list.
19023 Use `package--ac-desc-version' to retrieve version from a package
19026 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
19028 New experimental feature to save&restore window and frame setup.
19029 * desktop.el (desktop-save-windows): New defcustom.
19030 (desktop--saved-states): New var.
19031 (desktop--excluded-frame-parameters): New defconst.
19032 (desktop--filter-frame-parms, desktop--find-frame-in-display)
19033 (desktop--restore-windows, desktop--save-windows): New functions.
19034 (desktop-save): Call `desktop--save-windows'.
19035 (desktop-read): Call `desktop--restore-windows'.
19037 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19039 * net/shr.el (add-face-text-property): Remove compat definition.
19041 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19043 * info.el (Info-try-follow-nearest-node): Move search for footnote
19044 above search for node name to prevent missing a footnote (bug#14717).
19046 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19048 * obsolete/otodo-mode.el: Add obsolescence info to file header.
19050 2013-06-27 Leo Liu <sdl.web@gmail.com>
19052 * net/eww.el (eww-read-bookmarks): Check file size.
19054 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19056 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
19057 advice--pending if newdef is nil or an autoload (bug#13820).
19058 (advice-mapc): New function.
19060 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19062 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
19064 (eww-mode-map): Add a menu bar.
19065 (eww-add-bookmark): New command.
19066 (eww-bookmark-mode): New mode and commands.
19067 (eww-add-bookmark): Remove newlines from the title.
19068 (eww-bookmark-browse): Don't bug out if it's the only window.
19070 2013-06-26 Glenn Morris <rgm@gnu.org>
19072 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
19073 (hfy-size): Handle ttys. (Bug#14668)
19075 * info-xref.el: Update for Texinfo 5 change in *note format.
19076 (info-xref-node-re, info-xref-note-re): New constants.
19077 (info-xref-check-buffer): Use info-xref-note-re.
19079 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19081 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
19083 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
19084 nil terminate the loop (bug#14718).
19086 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19088 * net/eww.el: Rework history traversal. When going forward/back,
19089 put these actions into the history, too, so that they can be
19091 (eww-render): Move the history reset to the correct buffer.
19093 2013-06-25 Juri Linkov <juri@jurta.org>
19095 * files-x.el (modify-dir-local-variable): Change the header comment
19096 in the file with directory local variables. (Bug#14692)
19098 * files-x.el (read-file-local-variable-value): Add `default'.
19101 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19103 * net/eww.el (eww-make-unique-file-name): Create a unique file
19104 name before saving to entering `y' accidentally asynchronously.
19106 2013-06-25 Ivan Kanis <ivan@kanis.fr>
19108 * net/eww.el (eww-download): New command and keystroke.
19110 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19112 * net/eww.el (eww-copy-page-url): Change name of command.
19114 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
19115 be more consistent with Info and dired.
19117 * net/eww.el (eww-mode-map): Ditto.
19119 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19121 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
19122 packages from archives.
19123 (package-archive-contents): Change format; include obsolete packages.
19124 (package-desc): Use `dir' to mark builtin packages.
19125 (package--from-builtin): Set the `dir' field to `builtin'.
19126 (generated-autoload-file, version-control): Declare.
19127 (package-compute-transaction): Change first arg and return value to be
19128 lists of package-descs. Adjust to new package-archive-contents format.
19129 (package--add-to-archive-contents): Adjust to new
19130 package-archive-contents format.
19131 (package-download-transaction): Arg is now a list of package-descs.
19132 (package-install): If `pkg' is a package name, pass it as
19133 a requirement, so it is subject to the usual (e.g. disabled) checks.
19134 (describe-package): Accept package-desc as well.
19135 (describe-package-1): Describe a specific package-desc. Add links to
19136 other package-descs for the same package name.
19137 (package-menu-describe-package): Pass the actual package-desc.
19138 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
19140 (package-desc-status): New function.
19141 (package-menu--refresh): New function, extracted
19142 from package-menu--generate.
19143 (package-menu--generate): Use it.
19144 (package-delete): Update package-alist.
19145 (package-menu-execute): Don't call package-initialize.
19147 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
19148 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
19149 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
19150 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
19151 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
19152 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
19154 2013-06-25 Martin Rudalics <rudalics@gmx.at>
19156 * window.el (window--state-get-1): Workaround for bug#14527.
19157 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
19159 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19161 * net/eww.el (eww-back-url): Implement the history by stashing all
19162 the data into a list.
19163 (eww-forward-url): Allow going forward in the history, too.
19165 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19167 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
19168 for values and use read--expression for expressions (bug#14710).
19169 (read-file-local-variable): Avoid setq.
19170 (read-file-local-variable-mode): Use minor-mode-list.
19172 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19174 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
19177 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19179 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
19180 Update imenu-support when dialect changes.
19182 2013-06-25 Leo Liu <sdl.web@gmail.com>
19184 * ido.el (ido-read-internal): Allow forward slash on windows.
19186 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19188 * net/eww.el (eww): Start of strings is \\`, not ^.
19190 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19192 * net/shr.el (shr-browse-url): Fix interactive spec.
19194 * net/eww.el (eww): Add a trailing slash to domain names.
19196 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
19198 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
19200 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19202 * net/shr.el (shr-browse-url): Use an external browser if given a
19205 * net/eww.el (eww-external-browser): Move to shr.
19207 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19209 * net/eww.el (eww): Work more correctly for file: URLs.
19210 (eww-detect-charset): Allow quoted charsets.
19211 (eww-yank-page-url): New command and keystroke.
19213 2013-06-24 Daiki Ueno <ueno@gnu.org>
19215 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
19216 file name of gpg executable.
19217 (epg-context-program): New function.
19218 (epg-context-home-directory): New function.
19219 (epg-context-set-program): New function.
19220 (epg-context-set-home-directory): New function.
19221 (epg--start): Use `epg-context-program' instead of
19223 (epg--list-keys-1): Likewise.
19225 2013-06-24 Leo Liu <sdl.web@gmail.com>
19227 * ido.el (ido-read-internal): Fix bug#14620.
19229 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19231 * faces.el (face-documentation): Simplify.
19232 (read-face-attribute, tty-find-type, x-resolve-font-name):
19233 Use `string-match-p'.
19234 (list-faces-display): Use `string-match-p'. Simplify.
19235 (face-spec-recalc): Check face to avoid face alias loops.
19236 (read-color): Use `string-match-p' and non-capturing parenthesis.
19238 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19240 * net/shr.el (shr-rescale-image): Use the new
19241 :max-width/:max-height functionality.
19243 2013-06-23 Ivan Kanis <ivan@kanis.fr>
19245 * net/eww.el (eww-search-prefix): New variable.
19247 (eww-external-browser): New variable.
19248 (eww-mode-map): New keystroke.
19249 (eww-browse-with-external-browser): New command.
19251 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
19253 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19255 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
19256 Don't skip aligning the next header field when padding is 0;
19257 otherwise, field width is not respected unless the title is as
19260 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
19262 * emacs-lisp/package.el (package-el-version): Remove.
19263 (package-process-define-package): Fix inf-loop.
19264 (package-install): Allow symbols as arguments again.
19266 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19268 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
19269 add some more keyword-like methods.
19270 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
19272 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
19274 * bs.el (bs-buffer-show-mark): Make defvar-local.
19275 (bs-mode): Use setq-local.
19277 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
19278 (emacs-lock--try-unlocking): Make defvar-local.
19280 2013-06-22 Glenn Morris <rgm@gnu.org>
19282 * play/cookie1.el (cookie-apropos): Minor simplification.
19284 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
19286 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19288 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
19289 `regexp-opt', it breaks the build during dumping.
19291 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
19293 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19294 Highlight keyword-like methods on Kernel and Module with
19295 font-lock-builtin-face.
19296 (auto-mode-alist): Consolidate different entries into one regexp
19297 and add more *file-s.
19299 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
19301 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
19303 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
19304 (diary-entry): Use it in the action of this button type instead of
19307 * calendar/todo-mode.el: New version.
19308 (todo-add-category): Append new category to end of file and give
19309 it the highest number, instead of putting it at the beginning and
19310 giving it 0. Incorporate noninteractive functionality.
19311 (todo-forward-category): Adapt to 1-based category numbering.
19312 Allow skipping over archived categories.
19313 (todo-backward-category): Derive from todo-forward-category.
19314 (todo-backward-item, todo-forward-item): Make noninteractive and
19315 delegate interactive part to new commands. Make sensitive to done items.
19316 (todo-categories): Make value an alist of category names and
19317 vectors of item counts.
19318 (todo-category-beg): Make a defconst.
19319 (todo-category-number): Use 1 instead of 0 as initial value.
19320 (todo-category-select): Make sensitive to overlays, optional item
19321 highlighting and done items.
19322 (todo-delete-item): Make sensitive to overlays and marked and done items.
19323 (todo-edit-item): Make sensitive to overlays and editing of
19324 date/time header optional. Add format checks.
19325 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
19326 no-op if point is not on an item. Advertise using todo-edit-quit.
19327 (todo-edit-mode): Make sensitive to new format, font-locking, and
19328 multiple todo files.
19329 (todo-insert-item, todo-insert-item-here): Derive from
19330 todo-basic-insert-item and extend functionality.
19331 (todo-item-end, todo-item-start): Make sensitive to done items.
19332 (todo-item-string): Don't return text properties. Restore point.
19333 (todo-jump-to-category): Make sensitive to multiple todo files and
19334 todo archives. Use extended category completion.
19335 (todo-lower-item, todo-raise-item): Rename to *-priority and
19336 derive from todo-set-item-priority.
19337 (todo-mode): Derive from special-mode. Make sensitive to new
19338 format, font-locking and multiple todo files. Make read-only.
19339 (todo-mode-map): Don't suppress digit keys, so they can supply
19340 prefix arguments. Add many new key bindings.
19341 (todo-prefix): Insert as an overlay instead of file text.
19342 Change semantics from diary date expression to purely visual mark.
19343 (todo-print): Rename to todo-print-buffer. Make buffer display
19344 features printable. Remove option to restrict number of items
19345 printed. Add option to print to file.
19346 (todo-print-function): Rename to todo-print-buffer-function.
19347 (todo-quit): Extend to handle exiting new todo modes.
19348 (todo-remove-item): Make sensitive to overlays.
19349 (todo-save): Extend to buffers of filtered items.
19350 (todo-show): Make sensitive to done items, multiple todo files and
19351 new todo modes. Offer to convert legacy todo file before creating
19352 first new todo file.
19353 (todo-show-priorities): Rename to todo-top-priorities.
19354 Change semantics of value 0.
19355 (todo-top-priorities): Rename to todo-filter-top-priorities,
19356 derive from todo-filter-items and extend functionality.
19357 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
19358 and extend functionality to other types of filtered items.
19359 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
19360 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
19361 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
19362 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
19363 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
19364 (todo-edit-mode-hook, todo-entry-prefix-function)
19365 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
19366 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
19367 (todo-initials, todo-insert-threshold, todo-item-string-start)
19368 (todo-line-string, todo-menu, todo-mode-hook)
19369 (todo-more-important-p, todo-previous-answer, todo-previous-line)
19370 (todo-print-priorities, todo-remove-separator)
19371 (todo-save-top-priorities-too, todo-string-count-lines)
19372 (todo-string-multiline-p, todo-time-string-format)
19373 (todo-tmp-buffer-name): Remove.
19374 (todo-add-file, todo-archive-done-item, todo-choose-archive)
19375 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
19376 (todo-edit-category-diary-inclusion)
19377 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
19378 (todo-edit-file, todo-edit-item-date-day)
19379 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
19380 (todo-edit-item-date-month, todo-edit-item-date-to-today)
19381 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
19382 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
19383 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
19384 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
19385 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
19386 (todo-filter-top-priorities-multifile, todo-find-archive)
19387 (todo-find-filtered-items-file, todo-go-to-source-item)
19388 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
19389 (todo-jump-to-archive-category, todo-lower-category)
19390 (todo-mark-category, todo-marked-item-p, todo-merge-category)
19391 (todo-move-category, todo-move-item, todo-next-button)
19392 (todo-next-item, todo-padded-string, todo-powerset)
19393 (todo-previous-button, todo-previous-item)
19394 (todo-print-buffer-to-file, todo-raise-category)
19395 (todo-rename-category, todo-repair-categories-sexp, todo-search)
19396 (todo-set-category-number, todo-set-item-priority)
19397 (todo-set-top-priorities-in-category)
19398 (todo-set-top-priorities-in-file, todo-show-categories-table)
19399 (todo-sort-categories-alphabetically-or-numerically)
19400 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
19401 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
19402 (todo-toggle-item-header, todo-toggle-item-highlighting)
19403 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
19404 (todo-toggle-view-done-items, todo-toggle-view-done-only)
19405 (todo-unarchive-items, todo-unmark-category): New commands.
19406 (todo-absolute-file-name, todo-add-to-buffer-list)
19407 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
19408 (todo-basic-insert-item, todo-category-completions)
19409 (todo-category-number, todo-category-string-matcher-1)
19410 (todo-category-string-matcher-2, todo-check-filtered-items-file)
19411 (todo-check-format, todo-clear-matches)
19412 (todo-comment-string-matcher, todo-convert-legacy-date-time)
19413 (todo-current-category, todo-date-string-matcher)
19414 (todo-define-insertion-command, todo-diary-expired-matcher)
19415 (todo-diary-goto-entry, todo-diary-item-p)
19416 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
19417 (todo-display-categories, todo-display-sorted, todo-done-item-p)
19418 (todo-done-item-section-p, todo-done-separator)
19419 (todo-done-string-matcher, todo-files, todo-filter-items)
19420 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
19421 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
19422 (todo-insert-category-line, todo-insert-item-from-calendar)
19423 (todo-insert-sort-button, todo-insert-with-overlays)
19424 (todo-insertion-command-name, todo-insertion-key-bindings)
19425 (todo-label-to-key, todo-longest-category-name-length)
19426 (todo-make-categories-list, todo-mode-external-set)
19427 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
19428 (todo-modes-set-3, todo-multiple-filter-files)
19429 (todo-nondiary-marker-matcher, todo-prefix-overlays)
19430 (todo-read-category, todo-read-date, todo-read-dayname)
19431 (todo-read-file-name, todo-read-time)
19432 (todo-reevaluate-category-completions-files-defcustom)
19433 (todo-reevaluate-default-file-defcustom)
19434 (todo-reevaluate-filelist-defcustoms)
19435 (todo-reevaluate-filter-files-defcustom)
19436 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
19437 (todo-reset-done-separator, todo-reset-done-separator-string)
19438 (todo-reset-done-string, todo-reset-global-current-todo-file)
19439 (todo-reset-highlight-item, todo-reset-nondiary-marker)
19440 (todo-reset-prefix, todo-set-categories)
19441 (todo-set-date-from-calendar, todo-set-show-current-file)
19442 (todo-set-top-priorities, todo-short-file-name)
19443 (todo-show-current-file, todo-sort, todo-time-string-matcher)
19444 (todo-total-item-counts, todo-update-buffer-list)
19445 (todo-update-categories-display, todo-update-categories-sexp)
19446 (todo-update-count, todo-validate-name, todo-y-or-n-p):
19448 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
19450 (todo-categories, todo-display, todo-edit, todo-faces)
19451 (todo-filtered): New defgroups.
19452 (todo-archived-only, todo-button, todo-category-string, todo-date)
19453 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
19454 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
19455 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
19456 (todo-add-item-if-new-category, todo-always-add-time-string)
19457 (todo-categories-align, todo-categories-archived-label)
19458 (todo-categories-category-label, todo-categories-diary-label)
19459 (todo-categories-done-label, todo-categories-number-separator)
19460 (todo-categories-todo-label, todo-categories-totals-label)
19461 (todo-category-completions-files, todo-completion-ignore-case)
19462 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
19463 (todo-done-separator-string, todo-done-string)
19464 (todo-files-function, todo-filter-done-items, todo-filter-files)
19465 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
19466 (todo-initial-category, todo-initial-file, todo-item-mark)
19467 (todo-legacy-date-time-regexp, todo-mode-line-function)
19468 (todo-nondiary-marker, todo-number-prefix)
19469 (todo-print-buffer-function, todo-show-current-file)
19470 (todo-show-done-only, todo-show-first, todo-show-with-done)
19471 (todo-skip-archived-categories, todo-top-priorities-overrides)
19472 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
19473 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
19475 (todo-category-done, todo-date-pattern, todo-date-string-start)
19476 (todo-diary-items-buffer, todo-done-string-start)
19477 (todo-filtered-items-buffer, todo-item-start)
19478 (todo-month-abbrev-array, todo-month-name-array)
19479 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
19480 (todo-top-priorities-buffer): New defconsts.
19481 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
19482 (todo-categories-with-marks, todo-category-string-face)
19483 (todo-comment-face, todo-comment-string, todo-current-todo-file)
19484 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
19485 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
19486 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
19487 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
19488 (todo-font-lock-keywords, todo-global-current-todo-file)
19489 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
19490 (todo-insertion-commands-args)
19491 (todo-insertion-commands-args-genlist)
19492 (todo-insertion-commands-names, todo-insertion-map)
19493 (todo-key-bindings-t, todo-key-bindings-t+a)
19494 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
19495 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
19496 (todo-nondiary-face, todo-print-buffer, todo-time-face)
19497 (todo-visited): New variables.
19499 2013-06-21 Glenn Morris <rgm@gnu.org>
19501 * play/cookie1.el (cookie-apropos): Add optional display argument.
19502 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
19503 (psychoanalyze-pinhead): Use cookie-doctor.
19505 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
19507 * emacs-lisp/package.el (tar-get-file-descriptor)
19508 (tar--extract): Declare.
19510 2013-06-21 Eduard Wiebe <usenet@pusto.de>
19512 Extend flymake's warning predicate to be a function (bug#14217).
19513 * progmodes/flymake.el (flymake-warning-predicate): New.
19514 (flymake-parse-line): Use it.
19515 (flymake-warning-re): Make obsolete alias to
19516 `flymake-warning-predicate'.
19518 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19520 * emacs-lisp/package.el (package-alist): Include obsolete packages.
19521 (package-obsolete-list): Remove.
19522 (package-activate): Remove min-version argument. Add `force' argument.
19523 Adjust to new package-alist format.
19524 (package-mark-obsolete): Remove.
19525 (package-unpack): Force reload of the package's autoloads.
19526 (package-installed-p): Check builtins if the installed package is not
19528 (package-initialize): Don't reset package-obsolete-list.
19529 Don't specify which package version to activate.
19530 (package-process-define-package, describe-package-1)
19531 (package-menu--generate): Adjust to new package-alist format.
19533 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
19535 * allout-widgets.el (allout-widgets-mode-off)
19536 (allout-widgets-mode-on, allout-widgets-pre-command-business)
19537 (allout-widgets-post-command-business)
19538 (allout-widgets-after-copy-or-kill-function)
19539 (allout-widgets-after-undo-function, allout-test-range-overlaps)
19540 (allout-decorate-item-and-context)
19541 (allout-graphics-modification-handler): Fix typos in docstrings.
19542 (allout-get-or-create-parent-widget): Use `looking-at-p'.
19544 * cmuscheme.el (scheme-start-file): Doc fix.
19545 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
19546 (scheme-input-filter): Use `string-match-p'.
19548 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
19550 * dired-x.el: Use Dired consistently in docstrings.
19552 * dired.el: Use Dired consistently in docstrings.
19553 (dired-readin, dired-mode): Use `setq-local'.
19554 (dired-switches-alist): Make defvar-local.
19555 (dired-buffers-for-dir): Use `zerop'.
19556 (dired-safe-switches-p, dired-switches-escape-p)
19557 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
19558 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
19559 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
19560 (dired-goto-next-nontrivial-file): Use `string-match-p'.
19561 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
19562 (dired-toggle-marks, dired-mark-files-containing-regexp)
19563 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
19564 (dired-flag-auto-save-files, dired-flag-backup-files):
19565 Use `looking-at-p'.
19566 (dired-mark-files-regexp, dired-build-subdir-alist):
19567 Use `string-match-p', `looking-at-p'.
19569 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
19570 (direct-print-region-helper): Use `string-match-p'.
19572 2013-06-21 Leo Liu <sdl.web@gmail.com>
19574 * comint.el (comint-redirect-results-list-from-process):
19577 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19579 * net/eww.el (eww-update-header-line-format): Quote % characters.
19581 2013-06-21 Glenn Morris <rgm@gnu.org>
19583 * play/cookie1.el (cookie): New custom group.
19584 (cookie-file): New option.
19585 (cookie-check-file): New function.
19586 (cookie): Make it interactive. Make start and end messages optional.
19587 Interactively, display the result. Default to cookie-file.
19588 (cookie-insert): Default to cookie-file.
19589 (cookie-snarf): Make start and end messages optional.
19590 Default to cookie-file. Use with-temp-buffer.
19591 (cookie-read): Rename from read-cookie.
19592 Make start and end messages optional. Default to cookie-file.
19593 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
19594 Do not autoload it.
19595 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
19596 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
19598 2013-06-21 Leo Liu <sdl.web@gmail.com>
19600 * progmodes/octave.el (octave-mode): Backward compatibility fix.
19602 2013-06-21 Glenn Morris <rgm@gnu.org>
19604 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
19606 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19607 Daniel Hackney <dan@haxney.org>
19609 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
19610 Consolidate the single-file vs tarball code.
19611 (package-desc-suffix): New function.
19612 (package-desc-full-name): Don't bother inlining it.
19613 (package-load-descriptor): Return the new package-desc.
19614 (package-mark-obsolete): Remove unused arg `package'.
19615 (package-unpack): Make it work for single files as well.
19616 Make it update package-alist.
19617 (package--make-autoloads-and-stuff): Rename from
19618 package--make-autoloads-and-compile. Don't compile any more.
19619 (package--compile): New function.
19620 (package-generate-description-file): New function, extracted from
19621 package-unpack-single.
19622 (package-unpack-single): Remove.
19623 (package--with-work-buffer): Add indentation and debugging info.
19624 (package-download-single): Remove.
19625 (package-install-from-archive): Rename from package-download-tar, make
19626 it take a pkg-desc, and make it work for single files as well.
19627 (package-download-transaction): Simplify.
19628 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
19629 external tar program.
19630 (package-install-from-buffer): Remove `pkg-desc' argument.
19631 Use package-tar-file-info for tar-mode buffers.
19632 (package-install-file): Simplify accordingly.
19633 (package-archive-base): Change to take a pkg-desc.
19634 * tar-mode.el (tar--check-descriptor): New function, extracted from
19635 tar-get-descriptor.
19636 (tar-get-descriptor): Use it.
19637 (tar-get-file-descriptor): New function.
19638 (tar--extract): New function, extracted from tar-extract.
19639 (tar--extract): Use it.
19640 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
19641 case the summary uses non-ascii. Adjust to new calling convention of
19642 package-tar-file-info.
19644 2013-06-21 Leo Liu <sdl.web@gmail.com>
19646 * comint.el (comint-redirect-results-list-from-process):
19647 Fix random delay. (Bug#14681)
19649 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
19651 * profiler.el (profiler-format-number): Use log, not log10.
19653 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
19655 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
19657 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19659 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
19660 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
19662 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
19663 (AUTOGENEL): ... here.
19664 * emacs-lisp/cl-macs.el (cl--sublis): New function.
19665 (cl--defsubst-expand): Use it.
19667 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
19669 * subr.el (log10): Move here from C code, and declare as obsolete.
19670 All uses of (log10 X) replaced with (log X 10).
19672 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
19674 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
19675 Declare with `defvar-local'.
19676 (tabulated-list-use-header-line, tabulated-list-entries)
19677 (tabulated-list-padding, tabulated-list-printer)
19678 (tabulated-list-sort-key): Declare with `defvar-local'.
19679 (tabulated-list-init-header, tabulated-list-print-fake-header):
19682 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
19684 * arc-mode.el (archive-mode): Add `archive-write-file' to
19685 `write-contents-functions' also for remote files. (Bug#14652)
19687 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
19689 * cus-edit.el (custom-commands): Fix typos.
19690 (custom-display): Fix tooltip text.
19691 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
19692 Fix typos in docstrings.
19693 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
19694 (custom-unlispify-menu-entry, custom-magic-value-create)
19695 (custom-add-see-also, custom-group-value-create): Use ?\s.
19696 (custom-guess-type, customize-apropos, editable-field)
19697 (custom-face-value-create): Use `string-match-p'.
19698 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
19700 * custom.el (custom-load-symbol): Use `string-match-p'.
19702 * ansi-color.el: Convert to lexical binding.
19703 (ansi-colors): Fix URL.
19704 (ansi-color-context, ansi-color-context-region): Use defvar-local.
19705 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
19706 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
19708 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19710 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
19712 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
19714 2013-06-19 Tom Tromey <tromey@redhat.com>
19716 * net/eww.el (eww-top-url): Remove.
19717 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
19718 (eww-render): Set new variables. Don't set eww-top-url.
19719 (eww-handle-link): Handle "prev", "home", and "contents".
19720 Downcase the rel text.
19721 (eww-top-url): Choose best top URL.
19723 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19725 * net/eww.el: Rewrite to implement form elements "by hand" instead of
19726 relying in widget.el. Using widget.el leads to too many
19727 user interface inconsistencies.
19728 (eww-self-insert): Implement entering commands in text fields.
19729 (eww-process-text-input): New function to make text input field editing
19731 (eww-submit): Rewrite to use the new-style form methods.
19732 (eww-select-display): Display the correct selected item.
19733 (eww-change-select): Implement changing the select value.
19734 (eww-toggle-checkbox): Implement radio/checkboxes.
19735 (eww-update-field): Fix compilation error.
19736 (eww-tag-textarea): Implement <textarea>.
19738 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
19739 we don't shadow mode-specific bindings.
19741 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
19744 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
19746 2013-06-19 Glenn Morris <rgm@gnu.org>
19748 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
19750 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
19752 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
19755 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
19757 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19759 * net/browse-url.el (browse-url-browser-function):
19760 `eww-browse-url' has the right calling signature, `eww' does not.
19762 2013-06-19 Glenn Morris <rgm@gnu.org>
19764 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
19765 Only eval autoloaded macros.
19766 (byte-compile-autoload): Only give the macro warning for macros.
19768 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
19769 (ps-underlined-faces): Declare.
19771 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
19772 (speedbar-add-supported-extension): Declare.
19774 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
19775 Don't include a date stamp in the header of the generated file;
19776 it leads to needless differences between output files.
19778 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
19780 * net/secrets.el (secrets-struct-secret-content-type):
19781 Replace check of introspection data by a test call of "CreateItem".
19782 Some servers do not offer introspection.
19784 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
19786 * electric.el (electric-pair-mode): Improve interaction with
19787 electric-layout-mode.
19788 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
19789 (electric-pair-syntax): Use text-mode-syntax-table in comments
19791 (electric-pair--insert): New function.
19792 (electric-pair-post-self-insert-function): Use it and
19793 electric--after-char-pos.
19795 2013-06-19 Leo Liu <sdl.web@gmail.com>
19797 * progmodes/octave.el (octave-help): Fix regexp.
19799 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19801 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
19802 (shr-table-horizontal-line): Allow nil as a value, and change the
19804 (shr-insert-table-ruler): Respect the nil value.
19806 2013-06-18 Tom Tromey <tromey@barimba>
19808 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
19810 (eww-open-file): New defun.
19811 (eww-render): Initialize new variables.
19812 (eww-display-html): Handle "link" and "a".
19813 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
19814 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
19815 (eww-back-url): Rename from eww-previous-url.
19816 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
19819 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
19821 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
19822 Distinguish ternary operator tokens from slash symbol and slash
19825 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
19827 Convert symbol prettification into minor mode and global minor mode.
19829 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
19830 `prog-prettify-symbols', and make a local defvar instead of defcustom.
19831 (prettify-symbols--keywords): Rename from
19832 `prog-prettify-symbols-alist' and make a local defvar.
19833 (prettify-symbols--compose-symbol): Rename from
19834 `prog--prettify-font-lock-compose-symbol'.
19835 (prettify-symbols--make-keywords): Rename from
19836 `prog-prettify-font-lock-symbols-keywords' and simplify.
19837 (prog-prettify-install): Remove.
19838 (prettify-symbols-mode): New minor mode, based on
19839 `prog-prettify-install'.
19840 (turn-on-prettify-symbols-mode): New function.
19841 (global-prettify-symbols-mode): New globalized minor mode.
19843 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
19844 * progmodes/cfengine.el (cfengine3-mode):
19845 * progmodes/perl-mode.el (perl-mode): Don't call
19846 `prog-prettify-install'; set `prettify-symbols-alist' instead.
19848 2013-06-18 Juri Linkov <juri@jurta.org>
19850 * files-x.el (modify-file-local-variable-message): New function.
19851 (modify-file-local-variable)
19852 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
19853 and call `modify-file-local-variable-message' when it's non-nil.
19854 (add-file-local-variable, delete-file-local-variable)
19855 (add-file-local-variable-prop-line)
19856 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
19857 and use it. (Bug#9820)
19859 2013-06-18 Juri Linkov <juri@jurta.org>
19861 * emulation/vi.el (vi-shell-op):
19862 * emulation/vip.el (vip-execute-com, ex-command):
19863 * emulation/viper-cmd.el (viper-exec-bang):
19864 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
19865 the call of `shell-command-on-region'. (Bug#14637)
19867 * simple.el (shell-command-on-region): Doc fix.
19869 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
19871 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
19874 2013-06-18 Glenn Morris <rgm@gnu.org>
19876 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
19878 * newcomment.el (comment-search-forward, comment-search-backward):
19879 Doc fix. (Bug#14376)
19881 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
19883 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
19884 (buffer-face-mode-invoke): Doc fix.
19886 2013-06-18 Matthias Meulien <orontee@gmail.com>
19888 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
19889 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
19891 2013-06-18 Glenn Morris <rgm@gnu.org>
19893 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
19894 Replace obsolete function generic-make-keywords with its expansion.
19896 * progmodes/python.el (ffap-alist): Declare.
19898 * textmodes/reftex.el (bibtex-mode-map): Declare.
19900 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
19902 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
19903 (package-unpack, package-unpack-single): Return the pkg-dir.
19904 (package-download-transaction): Use it to update package-alist.
19906 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19908 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
19911 2013-06-17 Juri Linkov <juri@jurta.org>
19913 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
19915 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
19917 * emacs-lisp/package.el (package-load-descriptor):
19918 Remove `with-syntax-table' call, `read' doesn't need it.
19919 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
19921 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
19923 * startup.el (command-line): Expand package name returned by
19924 `package--description-file' (bug#14639).
19926 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
19928 * emacs-lisp/package.el (package-load-descriptor): Do not call
19929 `emacs-lisp-mode', just use its syntax table.
19931 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
19933 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
19934 `font-lock-extra-managed-props' if any prettifying keyword is added.
19935 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
19936 (prog-mode): Use `setq-local'.
19938 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19940 * international/characters.el (standard-case-table): Set syntax of ?»
19941 and ?« to punctuation.
19943 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
19945 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
19946 Save relevant match data before calling `syntax-ppss' (bug#14595).
19948 2013-06-15 Juri Linkov <juri@jurta.org>
19950 * files-x.el (modify-file-local-variable-prop-line): Add local
19951 variables to the end of the existing comment on the first line.
19952 Use `file-auto-mode-skip' to skip interpreter magic line,
19953 and also skip XML declaration.
19955 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19957 * startup.el (package--builtin-versions): New var.
19958 (package-subdirectory-regexp): Remove.
19959 (package--description-file): Hard code its value instead.
19961 * emacs-lisp/package.el: Don't activate packages older than builtin.
19962 (package-obsolete-list): Rename from package-obsolete-alist, and make
19963 it into a simple list of package-desc.
19964 (package-strip-version): Remove.
19965 (package-built-in-p): Use package--builtin-versions.
19966 (package-mark-obsolete): Simplify.
19967 (package-process-define-package): Mark it obsolete if older than the
19969 (package-handle-response): Use line-end-position.
19970 (package-read-archive-contents, package--download-one-archive):
19972 (package--add-to-archive-contents): Skip if older than the builtin or
19974 (package-menu-describe-package): Fix last change.
19975 (package-list-unversioned): New var.
19976 (package-menu--generate): Use it.
19978 * emacs-lisp/autoload.el: Manage package--builtin-versions.
19979 (autoload--insert-text, autoload--insert-cookie-text): New functions.
19980 (autoload-builtin-package-versions): New variable.
19981 (autoload-generate-file-autoloads): Use them.
19982 Remove the list of autoloaded functions/macros from the
19983 (autoload...) comments.
19985 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
19987 2013-06-15 Eli Zaretskii <eliz@gnu.org>
19989 * simple.el (line-move-partial): Don't jump to the next screen
19990 line as soon as it becomes visible. Instead, continue enlarging
19991 the vscroll until the portion of a tall screen line that's left on
19992 display is about the height of the frame's default font.
19995 2013-06-15 Glenn Morris <rgm@gnu.org>
19997 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
19998 compilation-error-regexp-alist void, or local while let-bound.
20000 * progmodes/make-mode.el (makefile-mode-syntax-table):
20001 Treat "=" as punctuation. (Bug#14614)
20003 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
20005 * help-fns.el (describe-variable):
20006 Add extra line for permanent-local variables.
20008 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
20010 * progmodes/scheme.el (scheme-font-lock-keywords-2):
20011 Add export, import, library. (Bug#9164)
20012 (library): Set indent function.
20014 2013-06-14 Glenn Morris <rgm@gnu.org>
20016 * term/xterm.el (xterm--query):
20017 Stop after first matching handler. (Bug#14615)
20019 2013-06-14 Ivan Kanis <ivan@kanis.fr>
20021 Add support for dired in saveplace.
20022 * dired.el (dired-initial-position-hook): New variable.
20023 (dired-initial-position): Call hook to place cursor position.
20024 * saveplace.el (save-place-to-alist): Add dired position.
20025 (save-place-dired-hook): New function.
20027 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
20029 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
20030 through a symbol rather than letrec.
20032 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
20033 (package-desc): Add `dir' field.
20034 (package-desc-full-name): New function.
20035 (package-load-descriptor): Combine the two arguments. Don't use `load'.
20036 (package-maybe-load-descriptor): Remove.
20037 (package-load-all-descriptors): Just call package-load-descriptor.
20038 (package--disabled-p): New function.
20039 (package-desc-vers, package-desc-doc): Remove aliases.
20040 (package--dir): Remove function.
20041 (package-activate): Check if a package is disabled.
20042 (package-process-define-package): New function, extracted from
20044 (define-package): Turn into a place holder.
20045 (package-unpack-single, package-tar-file-info):
20046 Use package--description-file.
20047 (package-compute-transaction): Use package--disabled-p.
20048 (package-download-transaction): Don't call
20049 package-maybe-load-descriptor since they're all loaded anyway.
20050 (package-install): Change argument to be a pkg-desc.
20051 (package-delete): Use a single pkg-desc argument.
20052 (describe-package-1): Use package-desc-dir instead of package--dir.
20053 Use package-desc property instead of package-symbol.
20054 (package-install-button-action): Adjust accordingly.
20055 (package--push): Rewrite.
20056 (package-menu--print-info): Adjust accordingly. Change the ID format
20058 (package-menu-describe-package, package-menu-get-status)
20059 (package-menu--find-upgrades, package-menu-mark-upgrades)
20060 (package-menu-execute, package-menu--name-predicate):
20061 Adjust accordingly.
20062 * startup.el (package--description-file): New function.
20063 (command-line): Use it.
20064 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20065 Use package-desc-version.
20067 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
20068 (byte-compile-preprocess): Use it.
20069 (byte-compile-file-form-defalias): Try a bit harder to use macros we
20070 can't quite recognize.
20071 (byte-compile-add-to-list): Remove.
20072 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
20073 (cconv-closure-convert): Add assertion.
20075 * emacs-lisp/map-ynp.el: Use lexical-binding.
20076 (map-y-or-n-p): Remove unused vars `tail' and `object'.
20077 Factor out some repeated code.
20079 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20081 * subr.el (with-eval-after-load): New macro.
20082 (eval-after-load): Allow form to be a function.
20083 take advantage of lexical-binding.
20084 (do-after-load-evaluation): Use dolist and adjust to new format.
20085 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
20087 2013-06-13 Juri Linkov <juri@jurta.org>
20089 * replace.el (perform-replace): Display "symbol " and other search
20090 modes from `isearch-message-prefix' in the *Help* buffer.
20092 * isearch.el (isearch-query-replace): Add " symbol" and other
20093 possible search modes from `isearch-message-prefix' to the prompt.
20094 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
20095 when reading a regexp to collect.
20097 2013-06-13 Juri Linkov <juri@jurta.org>
20099 * isearch.el (word-search-regexp): Match whitespace if the search
20100 string begins or ends in whitespace. The LAX arg is applied to
20101 both ends of the search string. Use `regexp-quote' and explicit
20102 \< and \> instead of \b. Use \` and \' instead of ^ and $.
20103 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
20104 boundaries are replaced with symbol boundaries, and characters
20105 between symbols match non-word non-symbol syntax. (Bug#14602)
20107 2013-06-13 Juri Linkov <juri@jurta.org>
20109 * isearch.el (isearch-del-char): Don't exceed the length of
20110 `isearch-string' by the prefix arg. (Bug#14563)
20112 2013-06-13 Juri Linkov <juri@jurta.org>
20114 * isearch.el (isearch-yank-word, isearch-yank-line)
20115 (isearch-char-by-name, isearch-quote-char)
20116 (isearch-printing-char, isearch-process-search-char):
20117 Add optional count prefix arg. (Bug#14563)
20119 * international/isearch-x.el
20120 (isearch-process-search-multibyte-characters):
20121 Add optional count prefix arg.
20123 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20125 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
20126 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
20129 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
20131 * subr.el (set-temporary-overlay-map): Add on-exit argument.
20133 2013-06-13 Glenn Morris <rgm@gnu.org>
20135 * startup.el (tty-handle-args):
20136 Don't just discard "--" and anything after. (Bug#14608)
20138 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
20140 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
20142 Implement changes in Secret Service API. Make it backward compatible.
20143 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
20144 (secrets-create-item): Use it. Prefix properties with interface.
20146 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
20148 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
20149 (term-emulate-terminal): Respect term-suppress-hard-newline.
20151 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
20153 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
20154 Only remove a `thumb-file' overlay. (Bug#14548)
20156 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
20158 * mail/reporter.el (reporter-submit-bug-report):
20159 Handle missing package-name. (Bug#14600)
20161 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20163 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
20164 (reftex-citation-prompt, reftex-default-bibliography)
20165 (reftex-bib-or-thebib, reftex-get-bibfile-list)
20166 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
20167 (reftex-bib-sort-author, reftex-bib-sort-year)
20168 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
20169 (reftex-extract-bib-entries-from-thebibliography)
20170 (reftex-get-bibkey-default, reftex-get-bib-names)
20171 (reftex-parse-bibtex-entry, reftex-get-bib-field)
20172 (reftex-format-bib-entry, reftex-parse-bibitem)
20173 (reftex-format-bibitem, reftex-do-citation)
20174 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
20175 (reftex-restrict-bib-matches, reftex-extract-bib-file)
20176 (reftex-insert-bib-matches, reftex-format-citation)
20177 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
20178 (reftex-create-bibtex-file): Add docstrings, mostly by converting
20179 existing comments into docstrings.
20181 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20183 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
20185 2013-06-12 Andreas Schwab <schwab@suse.de>
20187 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
20188 for auto-save files.
20190 2013-06-12 Glenn Morris <rgm@gnu.org>
20192 * ido.el (ido-delete-ignored-files): Remove.
20193 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
20194 Go back to calling ido-ignore-item-p directly.
20196 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
20198 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
20200 * ido.el (ido-delete-ignored-files): New function,
20201 split from ido-make-file-list-1.
20202 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
20203 (ido-make-file-list-1): Use ido-delete-ignored-files.
20205 2013-06-12 Leo Liu <sdl.web@gmail.com>
20207 * progmodes/octave.el (inferior-octave-startup)
20208 (inferior-octave-completion-table)
20209 (inferior-octave-track-window-width-change)
20210 (octave-eldoc-function-signatures, octave-help)
20211 (octave-find-definition): Use single quoted strings.
20212 (inferior-octave-startup-args): Change default value.
20213 (inferior-octave-startup): Do not hard code "-i" and
20214 "--no-line-editing".
20215 (inferior-octave-resync-dirs): Add optional arg NOERROR.
20216 (inferior-octave-directory-tracker): Use it.
20217 (octave-goto-function-definition): Robustify.
20218 (octave-help): Support highlighting operators in 'See also'.
20219 (octave-find-definition): Find subfunctions only in Octave mode.
20221 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20223 * help-fns.el (help-fns--compiler-macro): If the handler function is
20224 named, then put a link to it.
20225 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
20226 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
20227 (cl-typep): Use it.
20228 (cl-eval-when): Simplify debug spec.
20229 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
20230 compiler-macro function instead of setting `compiler-macro-file'.
20232 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20234 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
20235 * vc/vc-hooks.el (vc-stay-local): Doc fix.
20237 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20238 Daniel Hackney <dan@haxney.org>
20240 First part of Daniel Hackney's patch to package.el.
20241 * emacs-lisp/package.el: Use defstruct.
20242 (package-desc): New, main struct.
20243 (package--bi-desc, package--ac-desc): New structs, used to describe the
20244 format in external files.
20245 (package-desc-vers): Replace with package-desc-version accessor.
20246 (package-desc-doc): Replace with package-desc-summary accessor.
20247 (package-activate-1): Remove `package' arg since the pkg-vec now
20249 (define-package): Use package-desc-from-define.
20250 (package-unpack-single): Change file-name arg to be a symbol.
20251 (package--add-to-archive-contents): Use package-desc-create and new
20252 accessor functions to package--ac-desc.
20253 (package-buffer-info, package-tar-file-info): Return a package-desc.
20254 (package-install-from-buffer): Remove `type' argument. Change pkg-info
20255 arg to be a package-desc.
20256 (package-install-file): Adjust accordingly. Use \' to match EOS.
20257 (package--from-builtin): New function.
20258 (describe-package-1, package-menu--generate): Use it.
20259 (package--make-autoloads-and-compile): Change name arg to be a symbol.
20260 (package-generate-autoloads): Idem and return the name of the file.
20261 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20262 Change pkg-info arg to be a package-desc.
20263 Use package-make-ac-desc.
20264 (package-upload-file): Use \' to match EOS.
20265 * finder.el (finder-compile-keywords): Use package-make-builtin.
20267 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20269 * vc/vc.el (vc-deduce-fileset): Change error message.
20270 (vc-read-backend): New function.
20271 (vc-next-action): Use it.
20273 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
20275 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
20276 (prolog-font-lock-keywords): Use regexp-opt instead.
20277 Don't manually highlight strings.
20278 (prolog-mode-variables): Simplify comment-start-skip.
20279 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
20281 * emacs-lisp/generic.el (generic--normalise-comments)
20282 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
20283 (generic-mode-set-comments): Use them.
20284 (generic-bracket-support): Use setq-local.
20285 (generic-make-keywords-list): Declare obsolete.
20287 2013-06-11 Glenn Morris <rgm@gnu.org>
20289 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20290 Prettify after setting font-lock-defaults. (Bug#14574)
20292 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
20294 * replace.el (query-replace, occur-read-regexp-defaults-function)
20296 * subr.el (declare-function, number-sequence, local-set-key)
20297 (substitute-key-definition, locate-user-emacs-file)
20298 (with-silent-modifications, split-string, eval-after-load):
20299 Fix typos, remove unneeded backslashes and reflow some docstrings.
20301 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20303 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
20304 default for Elisp files.
20306 2013-06-11 Glenn Morris <rgm@gnu.org>
20308 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
20309 although define-derived-mode was doing this anyway. (Bug#14583)
20311 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
20313 * allout.el (allout-encryption-plaintext-sanitization-regexps):
20314 Fix make-variable-buffer-local call to refer to the correct variable.
20316 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
20318 * eshell/em-term.el (eshell-visual-commands)
20319 (eshell-visual-subcommands, eshell-visual-options):
20320 Add summary line to docstrings. Add cross-references.
20322 2013-06-10 Glenn Morris <rgm@gnu.org>
20324 * epa.el (epa-read-file-name): New function. (Bug#14510)
20325 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
20327 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20329 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
20330 output redirection to be ignored with visual commands.
20332 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20334 * eshell/em-term.el (eshell-visual-command-p): New function.
20335 (eshell-term-initialize): Move long lambda to separate function
20336 eshell-visual-command-p.
20337 * eshell/em-dirs.el (eshell-dirs-initialize):
20338 * eshell/em-script.el (eshell-script-initialize):
20339 Add missing #' to lambda.
20341 2013-06-08 Leo Liu <sdl.web@gmail.com>
20343 * progmodes/octave.el (octave-add-log-current-defun): New function.
20344 (octave-mode): Set add-log-current-defun-function.
20345 (octave-goto-function-definition): Do not move point if not found.
20346 (octave-find-definition): Enhance to try subfunctions first.
20348 2013-06-08 Glenn Morris <rgm@gnu.org>
20350 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20351 (byte-compile-backward-char, byte-compile-backward-word):
20352 Improve previous change, to handle non-explicit nil.
20354 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
20356 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
20357 (smie--opener/closer-at-point): New function.
20358 (smie--matching-block-data): Use it. Don't match from right after an
20359 opener or right before a closer. Obey smie-blink-matching-inners.
20360 Don't signal a mismatch for repeated inners like "switch..case..case".
20362 2013-06-07 Leo Liu <sdl.web@gmail.com>
20364 * progmodes/octave.el (octave-mode): Set comment-use-global-state
20366 (octave-function-header-regexp): Fix. (Bug#14570)
20367 (octave-help-mode-finish-hook, octave-help-mode-finish):
20368 Remove. Just use temp-buffer-show-hook.
20370 * newcomment.el (comment-search-backward): Revert last change.
20373 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
20375 2013-06-07 Eli Zaretskii <eliz@gnu.org>
20377 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
20378 through xargs, to avoid failure due to MS-Windows limitations on
20379 command-line length.
20381 2013-06-06 Glenn Morris <rgm@gnu.org>
20383 * font-lock.el (lisp-font-lock-keywords-2):
20384 Treat user-error like error.
20386 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20387 (byte-compile-backward-char, byte-compile-backward-word):
20388 Handle explicit nil arguments. (Bug#14565)
20390 2013-06-05 Alan Mackenzie <acm@muc.de>
20392 * isearch.el (isearch-allow-prefix): New user option.
20393 (isearch-other-meta-char): Don't exit isearch when a prefix
20394 argument is typed whilst `isearch-allow-prefix' is non-nil.
20397 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20399 * autorevert.el (auto-revert-notify-handler): Use memq.
20400 Hide assertion failure.
20402 * skeleton.el: Use cl-lib.
20403 (skeleton-further-elements): Use defvar-local.
20404 (skeleton-insert): Use cl-progv.
20406 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20408 * progmodes/prog-mode.el (prog-prettify-symbols)
20409 (prog-prettify-install): Update docstrings.
20411 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20413 * simple.el: Move all the prog-mode code to prog-mode.el.
20414 * progmodes/prog-mode.el: New file.
20415 * loadup.el: Add prog-mode.el.
20417 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20419 * simple.el (prog-prettify-symbols): Add version.
20420 (prog-prettify-install): Add convenience function to prettify symbols.
20422 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
20423 (perl--augmented-font-lock-keywords-1)
20424 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
20425 variables and use it.
20427 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
20428 (cfengine3-mode): Remove unneeded variable and use it.
20430 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
20431 (lisp--augmented-font-lock-keywords-1)
20432 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
20433 Remove unneeded variables and use it.
20435 2013-06-05 João Távora <joaotavora@gmail.com>
20437 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
20438 to point when opening the connection. (Bug#14380)
20440 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20442 * subr.el (load-history-regexp, load-history-filename-element)
20443 (eval-after-load, after-load-functions, do-after-load-evaluation)
20444 (eval-next-after-load, display-delayed-warnings)
20445 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
20446 definition of save-match-data.
20447 (overriding-local-map): Remove accidental obsolescence declaration.
20449 * emacs-lisp/edebug.el (edebug-result): Move before first use.
20451 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20453 Generalize symbol prettify support to prog-mode and implement it
20454 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
20455 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
20456 (prog--prettify-font-lock-compose-symbol)
20457 (prog-prettify-font-lock-symbols-keywords): New variables and
20458 functions to support symbol prettification.
20459 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
20460 (lisp--augmented-font-lock-keywords-1)
20461 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
20462 (lisp--prettify-symbols-alist): Implement prettify of lambda.
20463 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
20464 (cfengine3--prettify-symbols-alist, cfengine3-mode):
20465 Implement prettify of -> => :: strings.
20466 * progmodes/perl-mode.el (perl-prettify-symbols)
20467 (perl--font-lock-compose-symbol)
20468 (perl--font-lock-symbols-keywords): Move to prog-mode.
20469 (perl--prettify-symbols-alist): Prettify -> => :: strings.
20470 (perl-font-lock-keywords-1)
20471 (perl-font-lock-keywords-2): Remove explicit prettify support.
20472 (perl--augmented-font-lock-keywords)
20473 (perl--augmented-font-lock-keywords-1)
20474 (perl--augmented-font-lock-keywords-2, perl-mode):
20475 Implement prettify support.
20477 2013-06-05 Leo Liu <sdl.web@gmail.com>
20479 Re-implement SMIE matching block highlight using
20480 show-paren-data-function. (Bug#14395)
20481 * emacs-lisp/smie.el (smie-matching-block-highlight)
20482 (smie--highlight-matching-block-overlay)
20483 (smie--highlight-matching-block-lastpos)
20484 (smie-highlight-matching-block)
20485 (smie-highlight-matching-block-mode): Remove.
20486 (smie--matching-block-data-cache): New variable.
20487 (smie--matching-block-data): New function.
20488 (smie-setup): Use smie--matching-block-data for
20489 show-paren-data-function.
20491 * progmodes/octave.el (octave-mode-menu): Fix.
20492 (octave-find-definition): Skip garbage lines.
20494 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20496 Fix compilation error with simultaneous dynamic+lexical scoping.
20497 Add warning when a defvar appears after the first let-binding.
20498 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
20499 (byte-compile-close-variables): Initialize it.
20500 (byte-compile--declare-var): New function.
20501 (byte-compile-file-form-defvar)
20502 (byte-compile-file-form-define-abbrev-table)
20503 (byte-compile-file-form-custom-declare-variable): Use it.
20504 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
20505 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
20506 (byte-compile-bind): Handle dynamic bindings that shadow
20508 (byte-compile-unbind): Make arg non-optional.
20509 (byte-compile-let): Simplify.
20510 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
20511 (cconv--analyse-function, cconv-analyse-form): Populate it.
20512 Protect byte-compile-bound-variables to limit the scope of defvars.
20513 (cconv-analyse-form): Add missing rule for (defvar <foo>).
20514 Remove unneeded rule for `declare'.
20516 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
20517 so as to avoid depending on cl-adjoin at run-time.
20518 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
20520 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
20521 (macroexp--warn-and-return): Use it.
20523 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20525 * subr.el: Convert to lexical binding.
20526 (overriding-local-map): Make obsolete.
20527 (add-to-list): Doc fix. Add compiler macro.
20528 (read-key): Swap values of local maps.
20530 2013-06-05 Leo Liu <sdl.web@gmail.com>
20532 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
20534 2013-06-04 Leo Liu <sdl.web@gmail.com>
20536 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
20537 (compilation-auto-jump): Suppress the "Mark set" message to give
20538 way to exit message.
20540 2013-06-04 Alan Mackenzie <acm@muc.de>
20542 Remove faulty optimization from indentation calculation.
20543 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
20544 search limit based on 2000 characters back from indent-point.
20546 2013-06-03 Tassilo Horn <tsdh@gnu.org>
20548 * eshell/em-term.el (cl-lib): Require `cl-lib'.
20550 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
20552 * emacs-lisp/lisp.el: Use lexical-binding.
20553 (lisp--local-variables-1, lisp--local-variables): New functions.
20554 (lisp--local-variables-completion-table): New var.
20555 (lisp-completion-at-point): Use it complete let-bound vars.
20557 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
20558 eagerly (bug#14422).
20560 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
20562 * autorevert.el (auto-revert-notify-enabled)
20563 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20564 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
20565 (auto-revert-notify-handler): Handle also gfilenotify.
20567 * subr.el (file-notify-handle-event): New defun. Replacing ...
20568 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
20571 2013-06-03 Juri Linkov <juri@jurta.org>
20573 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
20574 `M-s h .'. (Bug#14427)
20576 * hi-lock.el (highlight-symbol-at-point): New alias for the new
20577 command `hi-lock-face-symbol-at-point'.
20578 (hi-lock-face-symbol-at-point): New command.
20579 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
20580 (hi-lock-menu): Add `highlight-symbol-at-point'.
20581 (hi-lock-mode): Doc fix.
20583 * isearch.el (isearch-forward-symbol-at-point): New command.
20584 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
20585 (isearch-highlight-regexp): Add a regexp which matches
20586 words/symbols for word/symbol mode.
20588 * subr.el (find-tag-default-bounds): New function with the body
20589 mostly moved from `find-tag-default'.
20590 (find-tag-default): Move most code to `find-tag-default-bounds',
20591 call it and apply `buffer-substring-no-properties' afterwards.
20593 2013-06-03 Tassilo Horn <tsdh@gnu.org>
20595 * eshell/em-term.el (eshell-term-initialize):
20596 Use `cl-intersection' rather than `intersection'.
20598 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
20600 * vc/log-view.el: Doc fix.
20601 (log-view-mode-map): Copy keymap from `special-mode-map'.
20603 2013-06-02 Eric Ludlam <zappo@gnu.org>
20605 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
20606 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
20607 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
20608 (eieio-unbound, eieio-default-superclass)
20609 (eieio--define-field-accessors, method-static, method-before)
20610 (method-primary, method-after, method-num-lists)
20611 (method-generic-before, method-generic-primary)
20612 (method-generic-after, method-num-slots)
20613 (eieio-specialized-key-to-generic-key)
20614 (eieio--check-type, class-v, class-p)
20615 (eieio-class-name, define-obsolete-function-alias)
20616 (eieio-class-parents-fast, eieio-class-children-fast)
20617 (same-class-fast-p, class-constructor, generic-p)
20618 (generic-primary-only-p, generic-primary-only-one-p)
20619 (class-option-assoc, class-option, eieio-object-p)
20620 (class-abstract-p, class-method-invocation-order)
20621 (eieio-defclass-autoload-map, eieio-defclass-autoload)
20622 (eieio-class-un-autoload, eieio-defclass)
20623 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
20624 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
20625 (eieio--defgeneric-init-form, eieio-defgeneric-form)
20626 (eieio-defgeneric-reset-generic-form)
20627 (eieio-defgeneric-form-primary-only)
20628 (eieio-defgeneric-reset-generic-form-primary-only)
20629 (eieio-defgeneric-form-primary-only-one)
20630 (eieio-defgeneric-reset-generic-form-primary-only-one)
20631 (eieio-unbind-method-implementations)
20632 (eieio--defmethod, eieio--typep)
20633 (eieio-perform-slot-validation, eieio-validate-slot-value)
20634 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
20635 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
20636 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
20637 (eieio-slot-name-index, eieio-class-slot-name-index)
20638 (eieio-set-defaults, eieio-initarg-to-attribute)
20639 (eieio-attribute-to-initarg, eieio-c3-candidate)
20640 (eieio-c3-merge-lists, eieio-class-precedence-c3)
20641 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
20642 (eieio-class-precedence-list, eieio-generic-call-methodname)
20643 (eieio-generic-call-arglst, eieio-generic-call-key)
20644 (eieio-generic-call-next-method-list)
20645 (eieio-pre-method-execution-functions, eieio-generic-call)
20646 (eieio-generic-call-primary-only, eieiomt-method-list)
20647 (eieiomt-optimizing-obarray, eieiomt-install)
20648 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
20649 (eieio-generic-form, eieio-defmethod, make-obsolete)
20650 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
20651 (defclass): Remove `eval-and-compile' from macro.
20652 (call-next-method, shared-initialize): Instead of using
20653 `scoped-class' variable, use new eieio--scoped-class, and
20654 eieio--with-scoped-class.
20655 (initialize-instance): Rename local variable 'scoped-class' to
20656 'this-class' to remove ambiguitity from old global.
20658 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
20660 (eieio--scoped-class-stack): New variable.
20661 (eieio--scoped-class): New fcn.
20662 (eieio--with-scoped-class): New scoping macro.
20663 (eieio-defclass): Use pushnew instead of add-to-list.
20664 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
20665 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
20666 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
20667 `scoped-class' variable, use new eieio--scoped-class, and
20668 eieio--with-scoped-class.
20670 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
20672 2013-06-02 Tassilo Horn <tsdh@gnu.org>
20674 * eshell/esh-ext.el (eshell-external-command): Pass args to
20675 `eshell-find-interpreter'.
20676 (eshell-find-interpreter): Add new second parameter ARGS.
20678 * eshell/em-script.el (eshell-script-initialize): Add second arg
20679 to the function added as MATCH to `eshell-interpreter-alist'.
20681 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
20682 the function added as MATCH to `eshell-interpreter-alist'.
20684 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
20685 (eshell-visual-options): New defcustom.
20686 (eshell-escape-control-x): Adapt docstring.
20687 (eshell-term-initialize): Test `eshell-visual-subcommands' and
20688 `eshell-visual-options' in addition to `eshell-visual-commands'.
20689 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
20691 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
20693 * progmodes/python.el (python-indent-block-enders): Add break,
20694 continue and raise keywords.
20696 2013-06-01 Glenn Morris <rgm@gnu.org>
20698 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
20700 Plain (f)boundp silences compilation warnings since Emacs 22.1.
20701 * progmodes/cc-cmds.el (delete-forward-p):
20702 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
20703 * progmodes/cc-engine.el (buffer-syntactic-context):
20704 * progmodes/cc-fonts.el (face-property-instance):
20705 * progmodes/cc-mode.el (set-keymap-parents):
20706 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
20707 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
20708 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
20709 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
20710 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
20712 * progmodes/cc-vars.el (other): Emacs has this widget since
20713 at least 21.1, so don't (re)define it.
20715 * eshell/em-cmpl.el (eshell-cmpl-initialize):
20716 Replace the obsolete alias pcomplete-arg-quote-list.
20718 2013-06-01 Leo Liu <sdl.web@gmail.com>
20720 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
20721 punctuation syntax.
20722 (inferior-octave-minimal-columns)
20723 (inferior-octave-last-column-width): New variables.
20724 (inferior-octave-track-window-width-change): New function.
20725 (inferior-octave-mode): Adjust column width so that Octave output,
20726 for example from 'ls', can fit into the window nicely.
20728 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
20730 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
20731 Highlight expansions inside regexp literals.
20733 2013-05-31 Glenn Morris <rgm@gnu.org>
20735 * obsolete/sym-comp.el (symbol-complete):
20736 Replace obsolete completion-annotate-function.
20738 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
20740 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
20742 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
20743 New function, checks if point is inside a literal that allows
20744 expression expansion.
20745 (ruby-syntax-propertize-expansion): Use it.
20746 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
20749 2013-05-30 Juri Linkov <juri@jurta.org>
20751 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
20753 (isearch-invisible): New variable.
20754 (isearch-forward): Doc fix.
20755 (isearch-mode): Set `isearch-invisible'
20756 to the value of `search-invisible'.
20757 (isearch-toggle-case-fold): Doc fix.
20758 (isearch-toggle-invisible): New command.
20759 (isearch-query-replace): Let-bind `search-invisible'
20760 to the value of `isearch-invisible'.
20761 (isearch-search): Use `isearch-invisible' instead of
20762 `search-invisible'. Let-bind `search-invisible'
20763 to the value of `isearch-invisible'. (Bug#11378)
20765 2013-05-30 Juri Linkov <juri@jurta.org>
20767 * replace.el (perform-replace): Avoid `isearch-range-invisible'
20768 call when `query-flag' is nil and `search-invisible' is non-nil.
20771 2013-05-30 Glenn Morris <rgm@gnu.org>
20773 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
20775 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
20776 (cc-require): Suppress spurious "noruntime" warnings.
20777 (cc-require-when-compile): Use fboundp, for sake of compiler.
20779 * progmodes/cc-mode.el: Move load of cc-vars before that of
20780 cc-langs (which in turn loads cc-vars), to quieten compiler.
20782 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20784 * paren.el: Simplify the code.
20785 (show-paren-mode): Always start the timer.
20786 (show-paren--idle-timer): Rename from show-paren-idle-timer.
20787 (show-paren--overlay, show-paren--overlay-1): Rename from
20788 show-paren-overlay and show-paren-overlay-1, and initialize to an
20789 overlay rather than to nil.
20790 (show-paren-function): Misc cleanup and simplifications.
20792 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20794 * paren.el (show-paren-data-function): New hook.
20795 (show-paren--default): New function, extracted from show-paren-function.
20796 (show-paren-function): Use show-paren-data-function.
20798 2013-05-30 Glenn Morris <rgm@gnu.org>
20800 * ielm.el (ielm-map, ielm-complete-symbol):
20801 Use completion-at-point rather than obsolete functions.
20802 (inferior-emacs-lisp-mode): Doc fix.
20803 Set completion-at-point-functions, rather than
20804 comint-dynamic-complete-functions.
20806 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
20807 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
20808 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
20810 * image.el (image-animated-p): Tweak definition.
20812 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
20813 (rlogin-process-connection-type): Tweak default. Add set-after.
20814 (rlogin-host): Doc fix.
20815 (rlogin): Tweak prompt.
20816 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
20818 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
20819 * progmodes/tcl.el (inferior-tcl-mode-map):
20820 Use completion-at-point rather than obsolete alias.
20822 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
20824 * minibuffer.el (read-file-name-completion-ignore-case):
20825 Move before completion--in-region, for eager macro expansion.
20827 2013-05-29 Juri Linkov <juri@jurta.org>
20829 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
20830 for total count of matching lines. Add `global-matches' for total
20831 count of matches. Rename `matches' to `lines' for count of
20832 matching lines. Add `matches' for count of matches.
20833 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
20834 to `prev-line' for line number of prev match endpt.
20835 Increment `matches' for every match. Print the number of
20836 matching lines in the header.
20837 (occur-context-lines): Rename `lines' to `curr-line'.
20838 Rename `prev-lines' to `prev-line'. (Bug#14017)
20840 2013-05-29 Juri Linkov <juri@jurta.org>
20842 * replace.el (perform-replace): Add `skip-read-only-count',
20843 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
20844 Increment them for corresponding conditions and report the number
20845 of skipped occurrences in the final message. (Bug#11746)
20846 (query-replace, query-replace-regexp, query-replace-regexp-eval)
20847 (replace-string, replace-regexp): Doc fix.
20849 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
20851 * emacs-lisp/trace.el (trace--read-args): Provide a default.
20853 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
20854 prog-mode-map (bug#14504).
20856 2013-05-29 Leo Liu <sdl.web@gmail.com>
20858 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
20859 (octave-help): Small simplification.
20861 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
20862 off the highlight first.
20864 2013-05-29 Glenn Morris <rgm@gnu.org>
20866 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
20867 Handle idlwave-last-system-routine-info-cons-cell being nil.
20869 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
20870 (idlwave-write-paths): Simplify via with-temp-buffer.
20872 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
20873 * emulation/cua-rect.el: Also load cua-base at run time.
20875 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
20876 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
20877 (cperl-imenu-on-info): Require imenu.
20879 2013-05-28 Alan Mackenzie <acm@muc.de>
20881 Handle "capitalised keywords" correctly.
20882 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
20884 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
20886 * eshell/em-unix.el: Add -r option to cp.
20888 2013-05-28 Glenn Morris <rgm@gnu.org>
20890 * vc/vc-arch.el (vc-exec-after): Declare.
20891 (vc-switches): Autoload.
20892 * vc/vc-bzr.el: No need to require vc when compiling.
20893 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
20894 (vc-resynch-buffer, vc-dir-refresh): Declare.
20895 (vc-setup-buffer, vc-switches): Autoload.
20896 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
20897 (vc-resynch-buffer): Declare.
20898 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
20899 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
20900 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
20901 (grep-read-regexp, grep-read-files, grep-expand-template)
20902 (vc-dir-refresh): Declare.
20903 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
20904 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
20905 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
20906 * vc/vc-mtn.el (vc-exec-after): Declare.
20907 (vc-switches): Autoload.
20908 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
20909 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
20910 (vc-file-tree-walk): Declare.
20911 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
20912 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
20913 (vc-tag-precondition, vc-rename-master): Autoload.
20914 * vc/vc-svn.el (vc-exec-after): Declare.
20915 (vc-switches, vc-setup-buffer): Autoload.
20916 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
20918 (vc-resynch-buffer): Declare.
20920 * obsolete/fast-lock.el (byte-compile-warnings):
20921 Don't warn about obsolete features in this obsolete file.
20923 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
20924 Move definition before use.
20926 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
20927 (dun-unix-verbs): Remove dun-zippy.
20928 (dun-zippy): Remove function.
20930 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
20932 2013-05-27 Juri Linkov <juri@jurta.org>
20934 * replace.el (replace-search): New function with code moved out
20935 from `perform-replace'.
20936 (replace-highlight, replace-dehighlight): Move function definitions
20937 up closer to `replace-search'. (Bug#11746)
20939 2013-05-27 Juri Linkov <juri@jurta.org>
20941 * replace.el (perform-replace): Ignore invisible matches.
20942 In addition to checking `query-replace-skip-read-only', also
20943 filter out matches by calling `run-hook-with-args-until-failure'
20944 on `isearch-filter-predicates', and also check `search-invisible'
20945 for t or call `isearch-range-invisible'.
20946 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
20948 2013-05-27 Juri Linkov <juri@jurta.org>
20950 * isearch.el (isearch-filter-predicates): Rename from
20951 `isearch-filter-predicate'. Doc fix. (Bug#11378)
20952 (isearch-message-prefix): Display text from the property
20953 `isearch-message-prefix' of the currently active filters.
20954 (isearch-search): Don't compare `isearch-filter-predicate' with
20955 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
20956 on `isearch-filter-predicates'. Also check `search-invisible' for t
20957 or call `isearch-range-invisible'.
20958 (isearch-filter-visible): Make obsolete.
20959 (isearch-lazy-highlight-search):
20960 Call `run-hook-with-args-until-failure' on
20961 `isearch-filter-predicates' and use `isearch-range-invisible'.
20963 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
20964 `isearch-filter-predicates' instead of `funcall'ing
20965 `isearch-filter-predicate'.
20966 (Info-mode): Set `Info-isearch-filter' to
20967 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
20969 * dired-aux.el (dired-isearch-filter-predicate-orig):
20971 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
20972 (dired-isearch-filenames-end): Add and remove
20973 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
20974 instead of changing the value of `isearch-filter-predicate'.
20975 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
20976 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
20977 Put property `isearch-message-prefix' to "filename " on
20978 `dired-isearch-filter-filenames'.
20980 * wdired.el (wdired-change-to-wdired-mode):
20981 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
20982 locally instead of changing `isearch-filter-predicate'.
20983 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
20985 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
20987 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
20988 return the commit hash (Bug#14459). Also set the
20989 `vc-git-detached' property.
20990 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
20991 (vc-git-mode-line-string): Use the same help-echo format whether
20992 in detached mode or not, because we know the actual revision now.
20993 When in detached mode, shorten the revision to 7 chars.
20995 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
20997 * emacs-lisp/easy-mmode.el (define-minor-mode):
20998 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
20999 mode hook and provide a docstring.
21001 2013-05-27 Alan Mackenzie <acm@muc.de>
21003 Remove spurious syntax-table text properties inserted by C-y.
21004 * progmodes/cc-mode.el (c-after-change): Also clear hard
21005 syntax-table property with value nil.
21007 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
21009 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
21010 when reading the events; the buffer layout shall not be changed.
21012 2013-05-27 Leo Liu <sdl.web@gmail.com>
21014 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
21016 (inferior-octave-directory-tracker): Automatically re-sync
21018 (octave-help): Improve handling of 'See also'.
21020 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21022 * doc-view.el: Minor naming convention tweaks.
21023 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
21025 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
21026 even if there's no `display' property yet (bug#14435).
21028 2013-05-25 Eli Zaretskii <eliz@gnu.org>
21030 * subr.el (unmsys--file-name): Rename from reveal-filename.
21032 * Makefile.in (custom-deps, finder-data, autoloads)
21033 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21034 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21035 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
21037 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21039 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
21040 error-completion on the first 2 args of condition-case (bug#14446).
21043 2013-05-25 Leo Liu <sdl.web@gmail.com>
21045 * comint.el (comint-previous-matching-input): Do not flood the
21046 *Messages* buffer with trivial messages.
21048 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21050 * progmodes/flymake.el (flymake-nop): Don't return a string.
21051 (flymake-set-at): Fix typo.
21053 * simple.el (read--expression): New function, extracted from
21054 eval-expression. Set completion-at-point-functions (bug#14465).
21055 (eval-expression, eval-minibuffer): Use it.
21057 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
21059 * progmodes/flymake.el (flymake-save-buffer-in-file)
21060 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
21061 (flymake-selected-frame, flymake-log, flymake-ins-after)
21062 (flymake-set-at, flymake-get-buildfile-from-cache)
21063 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
21064 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
21065 Refine the doc string.
21066 (flymake-get-file-name-mode-and-masks): Reformat.
21067 (flymake-get-real-file-name-function): Fix a minor bug.
21069 2013-05-24 Juri Linkov <juri@jurta.org>
21071 * progmodes/grep.el (grep-mode-font-lock-keywords):
21072 Support =linenumber= format used by git-grep for lines with
21073 function names. (Bug#13549)
21075 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21077 * progmodes/octave.el (octave-smie-rules): Return nil rather than
21078 0 after a semi-colon; it works better for smie-auto-fill.
21079 (octave--indent-new-comment-line): New function.
21080 (octave-indent-new-comment-line): Use it (indirectly).
21081 (octave-mode): Don't disable smie-auto-fill. Use add-function to
21082 modify comment-line-break-function.
21084 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
21085 (smie-setup): Use add-function to set it.
21087 2013-05-24 Sam Steingold <sds@gnu.org>
21089 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
21090 argument (before the `interactive' argument).
21092 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21094 * image-mode.el (image-mode-winprops): Add winprops to
21095 image-mode-winprops-alist before running
21096 image-mode-new-window-functions.
21097 * doc-view.el (doc-view-new-window-function): Don't delay
21098 doc-view-goto-page via timers (bug#14435).
21100 2013-05-24 Tassilo Horn <tsdh@gnu.org>
21102 * doc-view.el: Integrate with desktop.el. (Bug#14435)
21103 (doc-view-desktop-save-buffer): New function.
21104 (doc-view-restore-desktop-buffer): New function.
21105 (desktop-buffer-mode-handlers):
21106 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
21108 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
21109 `desktop-save-buffer' function.
21111 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
21113 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
21114 (tramp-gvfs-file-name-handler): Raise a user error when
21115 `tramp-gvfs-enabled' is nil.
21116 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
21117 Do not raise a user error when loading package. (Bug#14447)
21119 * net/xesam.el: Move to obsolete/.
21121 2013-05-24 Glenn Morris <rgm@gnu.org>
21123 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
21125 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
21127 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
21128 (Info-find-node, Man-getpage-in-background): Declare.
21130 * mail/unrmail.el (unrmail):
21131 Replace obsolete detect-coding-with-priority.
21133 * net/socks.el (socks-split-string): Use this rather than split-string.
21134 (socks-nslookup-host): Update for above change.
21135 (dynamic-choice, s5-dynamic-choice-match)
21136 (s5-dynamic-choice-match-inline, s5-widget-value-create):
21137 Comment out unused code.
21139 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
21140 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
21141 (gud-tooltip-echo-area): Make obsolete.
21142 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
21144 * progmodes/js.el (js--optimize-arglist): Declare.
21146 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
21148 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
21149 (ediff-window-C): Declare.
21151 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
21152 Tweak requires to silence compiler.
21154 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
21155 (he-search-string, he-tried-table, he-expand-list)
21156 (he-init-string, he-string-member, he-substitute-string)
21157 (he-reset-string): Declare.
21159 * obsolete/options.el (list-options): Use custom-variable-p,
21160 rather than obsolete alias.
21162 2013-05-23 Sam Steingold <sds@gnu.org>
21164 * simple.el (shell-command-on-region): Pass the `replace' argument
21165 down to `call-process-region' to comply with the doc as reported on
21166 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
21168 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21170 * emacs-lisp/smie.el (smie-indent-forward-token)
21171 (smie-indent-backward-token): Handle string tokens (bug#14381).
21173 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21175 * ielm.el (ielm-menu): New menu.
21176 (inferior-emacs-lisp-mode): Set comment-start.
21178 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21180 * textmodes/reftex.el (reftex-ref-style-toggle):
21181 Fix deactivate action.
21183 * textmodes/reftex-vars.el (reftex-ref-style-alist):
21184 Add cleveref macros.
21186 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
21187 Accept options for bibliography commands.
21188 * textmodes/reftex-vars.el (reftex-bibliography-commands):
21189 Add addbibresource. Basic Biblatex support.
21191 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
21193 * net/tramp-gvfs.el (top):
21194 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
21195 when loading package. (Bug#14447)
21197 2013-05-23 Glenn Morris <rgm@gnu.org>
21199 * progmodes/js.el: No need to load comint when compiling.
21200 (ring-insert, comint-send-string, comint-send-input)
21201 (comint-last-input-end, ido-chop): Declare.
21203 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
21204 * vc/ediff-mult.el: Adjust requires.
21205 (ediff-directories-internal, ediff-directory-revisions-internal)
21206 (ediff-patch-file-internal): Declare.
21207 * vc/ediff-ptch.el: Adjust requires.
21208 (ediff-use-last-dir, ediff-buffers-internal): Declare.
21209 (ediff-find-file): Autoload.
21210 * vc/ediff-util.el: No need to load ediff when compiling.
21211 (ediff-regions-internal): Declare.
21212 * vc/ediff-wind.el: Adjust requires.
21213 (ediff-compute-toolbar-width): Define when compiling.
21214 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
21215 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
21216 (dired-get-filename, dired-get-marked-files)
21217 (ediff-last-dir-patch, ediff-patch-default-directory)
21218 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
21219 (ediff-patch-buffer-internal): Declare.
21221 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
21222 (ispell-process, ispell-buffer-local-words, lm-summary)
21223 (lm-section-start, lm-section-end): Declare.
21224 (checkdoc-ispell-init): Simplify.
21226 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
21227 (he-string-member, he-reset-string, he-substitute-string): Declare.
21229 * eshell/em-ls.el: Adjust requires.
21230 (eshell-glob-regexp): Declare.
21231 * eshell/em-tramp.el: Adjust requires.
21232 (eshell-parse-command): Autoload.
21233 * eshell/em-xtra.el: Adjust requires.
21234 (eshell-parse-command): Autoload.
21235 * eshell/esh-ext.el: Adjust requires.
21236 (eshell-parse-command, eshell-close-handles): Autoload.
21237 * eshell/esh-io.el: Adjust requires.
21238 (eshell-output-filter): Autoload.
21239 * eshell/esh-util.el: No need to load tramp when compiling.
21240 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
21242 (eshell-parse-ange-ls): Require ange-ftp and tramp.
21243 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
21244 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
21245 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
21246 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
21247 * eshell/esh-opt.el, eshell/esh-proc.el:
21248 * eshell/esh-var.el: Adjust requires.
21249 * eshell/eshell.el: Do not require esh-util twice.
21250 (eshell-add-input-to-history): Declare.
21251 (eshell-command): Check history module is active before using it.
21253 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
21255 2013-05-22 Leo Liu <sdl.web@gmail.com>
21257 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
21259 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
21261 * autorevert.el (auto-revert-notify-add-watch)
21262 (auto-revert-notify-handler): Add `attrib' for the inotify case,
21263 it indicates changes in file modification time.
21265 2013-05-22 Glenn Morris <rgm@gnu.org>
21267 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21268 Always delete the autoloaded function from the noruntime and
21269 unresolved functions lists.
21271 * allout.el: No need to load epa, epg, overlay when compiling.
21272 (epg-context-set-passphrase-callback, epg-list-keys)
21273 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
21274 (epg-key-user-id-list): Declare.
21276 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
21277 (viper-set-parsing-style-toggling-macro)
21278 (viper-set-emacs-state-searchstyle-macros):
21279 Use called-interactively-p on Emacs.
21280 (viper-looking-back): Make it an obsolete alias. Update callers.
21281 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
21282 Use looking-back rather than viper-looking-back.
21283 (viper-tmp-insert-at-eob, viper-enlarge-region)
21284 (viper-read-string-with-history, viper-register-to-point)
21285 (viper-append-to-register, viper-change-state-to-vi)
21286 (viper-backward-char-carefully, viper-forward-char-carefully)
21287 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
21288 (viper-change-state-to-emacs): Declare.
21289 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
21290 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
21291 * emulation/viper-mous.el: Do not load viper-cmd.
21292 (viper-backward-char-carefully, viper-forward-char-carefully)
21293 (viper-forward-word, viper-adjust-window): Declare.
21295 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
21297 * progmodes/idlw-help.el (idlwave-help-fontify):
21298 Use called-interactively-p.
21300 * term/w32console.el (w32-get-console-codepage)
21301 (w32-get-console-output-codepage): Declare.
21303 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
21304 Remove unnecessary declarations.
21305 (dframe-message): Doc fix.
21307 * info.el (dframe-select-attached-frame, dframe-current-frame):
21310 * speedbar.el (speedbar-message): Make it an obsolete alias.
21311 Update all callers.
21312 (speedbar-with-attached-buffer)
21313 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
21314 (speedbar-with-writable): Use backquote.
21315 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
21316 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
21317 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
21318 rather than speedbar- aliases.
21319 * mail/rmail.el: Load dframe rather than speedbar when compiling.
21320 (speedbar-make-specialized-keymap, speedbar-insert-button)
21321 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
21322 (speedbar-do-function-pointer): Declare.
21323 (rmail-speedbar-button, rmail-speedbar-find-file)
21324 (rmail-speedbar-move-message):
21325 Use dframe-with-attached-buffer rather than speedbar- alias.
21326 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
21327 (dframe-message, speedbar-make-specialized-keymap)
21328 (speedbar-add-expansion-list, speedbar-mode-functions-list)
21329 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
21330 (speedbar-insert-button, dframe-select-attached-frame)
21331 (dframe-maybee-jump-to-attached-frame)
21332 (speedbar-change-initial-expansion-list)
21333 (speedbar-previously-used-expansion-list-name): Declare.
21334 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
21335 Use dframe-message, dframe-with-attached-buffer rather than
21337 (gud-sentinel): Silence compiler.
21338 * progmodes/vhdl-mode.el (speedbar-refresh)
21339 (speedbar-do-function-pointer, speedbar-add-supported-extension)
21340 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
21341 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
21342 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
21343 (speedbar-file-lists, speedbar-make-tag-line)
21344 (speedbar-line-directory, speedbar-goto-this-file)
21345 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
21346 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
21347 (speedbar-make-button, speedbar-reset-scanners)
21348 (speedbar-files-item-info, speedbar-line-text)
21349 (speedbar-find-file-in-frame, speedbar-set-timer)
21350 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
21351 (speedbar-with-writable): Do not (re)define it.
21352 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
21353 rather than speedbar- alias.
21355 2013-05-21 Leo Liu <sdl.web@gmail.com>
21357 * progmodes/octave.el (octave-mode-menu): Update and re-organize
21359 (octave-mode): Tweak fill-nobreak-predicate.
21360 (inferior-octave-startup): Check process to avoid infinite loop.
21361 (inferior-octave): Pop to buffer first to show abornmal process
21364 2013-05-21 Glenn Morris <rgm@gnu.org>
21366 * printing.el (pr-menu-bar): Define when compiling.
21368 2013-05-21 Leo Liu <sdl.web@gmail.com>
21370 * progmodes/octave.el (octave-auto-fill): Remove.
21371 (octave-indent-new-comment-line): Improve.
21372 (octave-mode): Use auto fill mode through
21373 comment-line-break-function and fill-nobreak-predicate.
21374 (octave-goto-function-definition): Support DEFUN_DLD.
21375 (octave-beginning-of-defun): Small tweak.
21376 (octave-help): Show parent directory.
21378 2013-05-21 Glenn Morris <rgm@gnu.org>
21380 * files.el (dired-unmark):
21381 * progmodes/gud.el (gdb-input): Update declarations.
21383 * calculator.el (electric, ehelp): No need to load when compiling.
21384 (Electric-command-loop, electric-describe-mode): Declare.
21386 * doc-view.el (doc-view-current-converter-processes): Move before use.
21388 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
21389 Move MODE-set-explicitly definition before use.
21391 * international/mule-diag.el (mule-diag):
21392 Don't use obsolete window-system-version.
21394 * mail/feedmail.el (smtpmail): No need to load when compiling.
21395 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
21397 * mail/mail-utils.el (rfc822): No need to load when compiling.
21398 (rfc822-addresses): Autoload it.
21399 (mail-strip-quoted-names): Trivial simplification.
21401 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
21402 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
21404 * net/snmp-mode.el (tempo): Don't duplicate requires.
21406 * progmodes/prolog.el (info): No need to load when compiling.
21407 (comint): Require before shell requires it.
21408 (Info-goto-node): Autoload it.
21409 (Info-follow-nearest-node): Declare.
21410 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
21412 * textmodes/artist.el (picture-mode-exit): Declare.
21414 * textmodes/reftex-parse.el (reftex-parse-from-file):
21415 Trivial rewrite so the compiler can parse it better.
21417 2013-05-20 Leo Liu <sdl.web@gmail.com>
21419 * progmodes/octave.el (octave-help-mode-map)
21420 (octave-help-mode-finish-hook): New variables.
21421 (octave-help-mode, octave-help-mode-finish): New functions.
21422 (octave-help): Use octave-help-mode.
21424 2013-05-20 Glenn Morris <rgm@gnu.org>
21426 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
21428 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
21430 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
21431 start at point, so that expansion starting right after opening
21432 slash in a regexp is recognized.
21433 (ruby-syntax-before-regexp-re): New defvar, extracted from
21434 ruby-syntax-propertize-function. Since the value of this regexp
21435 is looked up at runtime now, we should be able to turn
21436 `ruby-syntax-methods-before-regexp' into a defcustom later.
21437 (ruby-syntax-propertize-function): Split regexp matching into two
21438 parts, for opening and closing slashes. That allows us to skip
21439 over string interpolations and support multiline regexps.
21440 Don't call `ruby-syntax-propertize-expansions', instead use another rule
21441 for them, which calls `ruby-syntax-propertize-expansion'.
21442 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
21443 call to `ruby-syntax-propertize-function'.
21444 (ruby-syntax-propertize-expansion): Extracted from
21445 `ruby-syntax-propertize-expansions'. Handles one expansion.
21446 (ruby-syntax-propertize-percent-literal): Leave point right after
21447 the percent symbol, so that the expression expansion rule can
21448 propertize the contents.
21449 (ruby-syntax-propertize-heredoc): Leave point at bol following the
21451 (ruby-syntax-propertize-expansions): Remove.
21453 2013-05-18 Juri Linkov <juri@jurta.org>
21455 * man.el (Man-default-man-entry): Remove `-' from the end
21456 of the default value. (Bug#14400)
21458 2013-05-18 Glenn Morris <rgm@gnu.org>
21460 * comint.el (comint-password-prompt-regexp):
21461 Allow "password for XXX" where XXX contains colons (eg https://...).
21463 2013-05-18 Leo Liu <sdl.web@gmail.com>
21465 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
21466 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
21467 (octave-source-directories): Don't check process.
21468 (octave-source-directories, octave-find-definition): Doc fix.
21470 2013-05-18 Glenn Morris <rgm@gnu.org>
21472 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
21473 Remove backspace/delete bindings. (Bug#14392)
21475 * cus-dep.el (custom-make-dependencies): Sort the output.
21476 (custom-versions-load-alist): Convert comment to doc.
21478 2013-05-17 Leo Liu <sdl.web@gmail.com>
21480 * newcomment.el (comment-search-backward): Stricter in finding
21481 comment start. (Bug#14303)
21483 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
21484 (octave-comment-start-skip): Properly anchored.
21486 2013-05-17 Leo Liu <sdl.web@gmail.com>
21488 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
21489 Clean up when turned off. (Bug#14395)
21490 (smie--highlight-matching-block-overlay): No longer buffer-local.
21491 (smie-highlight-matching-block): Adjust.
21493 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
21495 Doc string fix for "nanoseconds" (Bug#14406).
21496 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
21497 Fix doc string typo that had "nanoseconds" instead of "microseconds".
21499 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
21501 * calc/calc-units.el (math-extract-units): Preserve powers
21504 2013-05-17 Leo Liu <sdl.web@gmail.com>
21506 * subr.el (delete-consecutive-dups): New function.
21507 * ido.el (ido-set-matches-1): Use it.
21508 * progmodes/octave.el (inferior-octave-completion-table): Use it.
21509 * ido.el (ido-remove-consecutive-dups): Remove.
21511 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21513 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21514 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
21515 regexp-opt's `words'.
21517 2013-05-16 Leo Liu <sdl.web@gmail.com>
21519 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
21520 (smie--highlight-matching-block-overlay)
21521 (smie--highlight-matching-block-lastpos)
21522 (smie--highlight-matching-block-timer): New variables.
21523 (smie-highlight-matching-block): New function.
21524 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
21525 (smie-setup): Conditionally enable smie-blink-matching-open.
21527 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
21529 Sync with upstream verilog-mode r840.
21530 * progmodes/verilog-mode.el (verilog-mode-version)
21531 (verilog-mode-release-date): Update.
21532 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
21533 (verilog-sig-tieoff): Fix string error on
21534 AUTORESET with colon define, bug594. Reported by Andrew Hou.
21535 (verilog-read-decls): Fix parameters confusing
21536 AUTOINST interfaces, bug565. Reported by Leith Johnson.
21538 2013-05-16 Eli Zaretskii <eliz@gnu.org>
21540 * subr.el (reveal-filename): New function.
21542 * loadup.el: Compute Emacs executable versions on MS-Windows,
21543 where executables have the .exe extension. Add a hard link
21544 emacs-XX.YY.ZZ.exe on MS-Windows.
21546 * Makefile.in (XARGS_LIMIT): New variable.
21547 (custom-deps, finder-data, autoloads)
21548 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21549 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21550 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
21551 (compile-main): Limit xargs according to $(XARGS_LIMIT).
21553 2013-05-16 Leo Liu <sdl.web@gmail.com>
21555 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
21556 (octave-mode-menu, octave-mode-map): Remove its uses.
21558 2013-05-16 Reto Zimmermann <reto@gnu.org>
21560 Sync with upstream vhdl mode v3.34.2.
21561 * progmodes/vhdl-mode.el: Use `push' throughout.
21562 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
21563 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
21564 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
21565 (vhdl-actual-generic-name): New option to derive actual generic name.
21566 (vhdl-port-paste-signals): Replace formal by actual generics.
21567 (vhdl-beautify): New name for old group vhdl-align. Update users.
21568 (vhdl-beautify-options): New option.
21569 (vhdl-last-input-event): New compat alias. Use throughout.
21570 (vhdl-goto-line): Replace user level function `goto-line'.
21571 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
21572 vhdl-fix-statement-buffer.
21573 (vhdl-create-mode-menu): Add some entries.
21574 (vhdl-align-region-groups): Respect vhdl-beautify-options.
21575 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
21576 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
21577 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
21578 to force statements on one line.
21579 (vhdl-remove-trailing-spaces-region):
21580 New, split from vhdl-remove-trailing-spaces.
21581 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
21582 Respect vhdl-beautify-options.
21583 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
21584 (vhdl-update-sensitivity-list): Not add with index if exists without.
21585 Not include array index with signal. Ignore keywords in comments.
21586 (vhdl-get-visible-signals): Regexp tweaks.
21587 (vhdl-template-component-inst): Handle empty library.
21588 (vhdl-template-type): Add template for 'enum' type.
21589 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
21590 Use vhdl-replace-string.
21591 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
21592 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
21593 (vhdl-speedbar-initialize): Update for above name change.
21594 (vhdl-compose-wire-components): Fix in handling of constants.
21595 (vhdl-error-regexp-emacs-alist): New variable.
21596 (vhdl-error-regexp-add-emacs): New function;
21597 adds support for new compile.el (Emacs 22+)
21598 (vhdl-generate-makefile-1): Change target order for single lib. units.
21599 Allow use of absolute file names.
21601 2013-05-16 Leo Liu <sdl.web@gmail.com>
21603 * simple.el (prog-indent-sexp): Indent enclosing defun.
21605 2013-05-15 Glenn Morris <rgm@gnu.org>
21607 * cus-start.el (show-trailing-whitespace): Move to editing basics.
21608 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
21609 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
21610 (whitespace-highlight): Move to whitespace group.
21612 * comint.el (comint-source):
21613 * pcmpl-linux.el (pcmpl-linux):
21614 * shell.el (shell-faces):
21615 * eshell/esh-opt.el (eshell-opt):
21616 * international/ccl.el (ccl): Remove empty custom groups.
21618 * completion.el (dynamic-completion-mode):
21619 * jit-lock.el (jit-lock-debug-mode):
21620 * minibuffer.el (completion-in-region-mode):
21621 * type-break.el (type-break-mode-line-message-mode)
21622 (type-break-query-mode):
21623 * emulation/tpu-edt.el (tpu-edt-mode):
21624 * progmodes/subword.el (global-subword-mode, global-superword-mode):
21625 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
21626 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
21628 * term/xterm.el (xterm): Change parent group to terminals.
21630 * master.el (master): Remove empty custom group.
21631 (master-mode): Remove unused :group argument.
21632 * textmodes/refill.el (refill): Remove empty custom group.
21633 (refill-mode): Remove unused :group argument.
21635 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
21637 * cus-dep.el: Provide a feature.
21638 (custom-make-dependencies): Ignore dotfiles (dir-locals).
21639 Don't mistakenly ignore files whose basenames match a basename
21640 from preloaded-file-list (eg cedet/ede/simple.el).
21641 Add a fallback method for getting :group.
21643 2013-05-15 Juri Linkov <juri@jurta.org>
21645 * isearch.el (isearch-char-by-name): Rename from
21646 `isearch-insert-char-by-name'. Doc fix.
21647 (isearch-forward): Mention `isearch-char-by-name' in
21648 the docstring. (Bug#13348)
21650 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
21651 `exit-minibuffer' instead of
21652 `isearch-nonincremental-exit-minibuffer'.
21653 (isearch-edit-string): Remove mention of
21654 `isearch-nonincremental-exit-minibuffer' from docstring.
21655 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
21656 (isearch-forward-exit-minibuffer)
21657 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
21659 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
21661 * loadup.el: Just use unversioned DOC.
21663 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
21664 literals as extending to EOB.
21665 (nxml-last-fontify-end): Remove unused variable.
21666 (nxml-after-change1): Use with-silent-modifications.
21667 (nxml-extend-after-change-region): Simplify.
21668 (nxml-extend-after-change-region1): Remove function.
21669 (nxml-after-change1): Don't adjust for dependent regions.
21670 (nxml-fontify-matcher): Simplify.
21671 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
21672 (xmltok-add-dependent): Remove function.
21673 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
21674 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
21675 (xmltok-scan-prolog-after-processing-instruction-open): Treat
21676 unclosed <[[, <?, comment, and other literals as extending to EOB.
21677 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
21678 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
21680 (rng-do-some-validation-1): Don't mark dependent regions.
21681 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
21682 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
21683 (nxml-clear-dependent-regions): Remove functions.
21684 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
21685 (nxml-ensure-scan-up-to-date):
21686 Don't clear&mark dependent regions.
21688 2013-05-15 Leo Liu <sdl.web@gmail.com>
21690 * progmodes/octave.el (octave-goto-function-definition):
21691 Improve and fix callers.
21693 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
21695 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
21696 the setter (bug#14387).
21698 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
21699 surrounding group (bug#14402).
21701 2013-05-14 Juri Linkov <juri@jurta.org>
21703 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
21706 2013-05-14 Glenn Morris <rgm@gnu.org>
21708 * progmodes/f90.el (f90-imenu-generic-expression):
21709 Fix typo in 2013-05-08 change. (Bug#14402)
21711 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
21713 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
21714 Remove signals for which replies are never received.
21716 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
21718 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
21719 (gdb-handler-alist, gdb-handler-number): Remove variables.
21720 (gdb-handler-list): New variable.
21721 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
21722 (gdb-pending-handler-p, gdb-handle-reply)
21723 (gdb-remove-all-pending-triggers): New functions.
21724 (gdb-discard-unordered-replies): New defcustom.
21725 (gdb-handler): New defstruct.
21726 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
21727 instead of gdb-pending-triggers. Update docstring.
21728 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
21729 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
21730 (gdb-var-update-handler, def-gdb-auto-update-trigger)
21731 (def-gdb-auto-update-handler, gdb-get-changed-registers)
21732 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
21733 (gdb-frame-handler): Pending triggers are now automatically managed.
21734 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
21736 (gdb-input): Automatically handles pending triggers. Update docstring.
21737 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
21738 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
21740 (gdb-done-or-error): Now use gdb-handle-reply.
21742 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
21744 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
21747 2013-05-14 Glenn Morris <rgm@gnu.org>
21749 * subr.el (user-emacs-directory-warning): New option.
21750 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
21752 2013-05-14 Leo Liu <sdl.web@gmail.com>
21754 * progmodes/octave.el (octave-font-lock-keywords): Fix error
21756 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
21757 (octave-font-lock-texinfo-comment): Fix invalid search bound
21758 error: wrong side of point.
21760 2013-05-14 Glenn Morris <rgm@gnu.org>
21762 * progmodes/flymake.el (flymake-xml-program): New option.
21763 (flymake-xml-init): Use it.
21765 * term/xterm.el: Provide a feature.
21767 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
21769 2013-05-13 Glenn Morris <rgm@gnu.org>
21771 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
21772 Add compat aliases as a hack workaround. (Bug#14384)
21774 2013-05-13 Leo Liu <sdl.web@gmail.com>
21776 * progmodes/octave.el (octave-indent-comment): Fix indentation for
21778 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
21780 (octave-comment-start-skip): Include %!.
21781 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
21783 2013-05-12 Leo Liu <sdl.web@gmail.com>
21785 * progmodes/octave.el (inferior-octave-startup): Store the value
21786 of __octave_srcdir__ for octave-source-directories.
21787 (inferior-octave-check-process): New function refactored out of
21788 inferior-octave-send-list-and-digest.
21789 (octave-source-directories)
21790 (octave-find-definition-filename-function): New variables.
21791 (octave-source-directories)
21792 (octave-find-definition-default-filename): New functions.
21793 (octave-find-definition): Improve to find functions implemented in C++.
21795 2013-05-12 Glenn Morris <rgm@gnu.org>
21797 * calendar/diary-lib.el (diary-outlook-format-1):
21798 Don't include dayname in the output. (Bug#14349)
21800 2013-05-11 Glenn Morris <rgm@gnu.org>
21802 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
21804 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
21805 Treat cc-provide like provide.
21807 2013-05-11 Kevin Ryde <user42@zip.com.au>
21809 * cus-dep.el (custom-make-dependencies):
21810 Use generated-autoload-load-name for the sake of files such
21811 such cedet/semantic/bovine/c.el, where the base file name
21812 is not in load-path. (Bug#5277)
21814 2013-05-11 Glenn Morris <rgm@gnu.org>
21816 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
21819 2013-05-11 Leo Liu <sdl.web@gmail.com>
21821 * progmodes/octave.el (octave-indent-comment): Improve.
21822 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
21823 (octave-eldoc-function-signatures, octave-eldoc-function):
21825 (octave-mode, inferior-octave-mode): Add eldoc support.
21827 2013-05-11 Richard Stallman <rms@gnu.org>
21829 * epa.el (epa-decrypt-file): Take output file name as argument
21830 and read it using `interactive'.
21832 2013-05-11 Leo Liu <sdl.web@gmail.com>
21834 * progmodes/octave.el (octave-beginning-of-line)
21835 (octave-end-of-line): Check before using up-list because it jumps
21836 out of more syntactic contructs since moving to smie.
21837 (octave-indent-comment): New function.
21838 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
21839 (octave-begin-keywords, octave-end-keywords)
21840 (octave-reserved-words, octave-smie-bnf-table)
21841 (octave-smie-rules): Add new keywords from Octave 3.6.4.
21843 2013-05-11 Glenn Morris <rgm@gnu.org>
21845 * faces.el (internal-face-x-get-resource):
21846 * frame.el (ns-display-monitor-attributes-list):
21847 * calc/calc-aent.el (math-to-radians-2):
21848 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
21851 * calc/calc-menu.el: Make it loadable in isolation.
21853 * net/eudcb-bbdb.el: Make it loadable without bbdb.
21854 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
21855 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
21856 (eudc-bbdb-query-internal): Require 'bbdb.
21858 * lpr.el (lpr-headers-switches):
21859 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
21861 * progmodes/sql.el (sql-login-params): Fix and improve :type.
21863 * emulation/edt-mapper.el: In batch mode, error rather than hang.
21865 * term.el (term-set-escape-char): Make it idempotent.
21867 2013-05-10 Leo Liu <sdl.web@gmail.com>
21869 * progmodes/octave.el (inferior-octave-completion-table):
21870 No longer a function and all uses changed. Use cache to speed up
21871 completion due to bug#11906.
21872 (octave-beginning-of-defun): Re-write to be more general.
21874 2013-05-10 Glenn Morris <rgm@gnu.org>
21876 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
21878 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
21880 * comint.el (comint-redirect-send-command-to-process): Use :around
21881 rather than :override for comint-redirect-filter.
21882 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
21883 Call it instead of comint-redirect-original-filter-function (which
21884 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
21886 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
21888 * frame.el (display-monitor-attributes-list): Add NS case.
21889 (ns-display-monitor-attributes-list): Declare.
21891 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
21893 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
21895 2013-05-09 Glenn Morris <rgm@gnu.org>
21897 * international/fontset.el (vertical-centering-font-regexp):
21898 Set standard-value.
21900 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
21902 * bookmark.el (bookmark-search-delay):
21903 * cus-start.el (vertical-centering-font-regexp):
21904 * ps-mule.el (ps-mule-font-info-database-default):
21905 * ps-print.el (ps-default-fg, ps-default-bg):
21906 * type-break.el (type-break-good-break-interval):
21907 * whitespace.el (whitespace-indentation-regexp)
21908 (whitespace-space-after-tab-regexp):
21909 * emacs-lisp/testcover.el (testcover-1value-functions)
21910 (testcover-noreturn-functions, testcover-progn-functions)
21911 (testcover-prog1-functions):
21912 * emulation/viper-init.el (viper-emacs-state-cursor-color):
21913 * eshell/em-glob.el (eshell-glob-translate-alist):
21914 * play/tetris.el (tetris-tty-colors):
21915 * progmodes/cpp.el (cpp-face-default-list):
21916 * progmodes/flymake.el (flymake-allowed-file-name-masks):
21917 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
21918 (idlwave-help-browser-generic-args):
21919 * progmodes/make-mode.el (makefile-special-targets-list):
21920 * progmodes/python.el (python-shell-virtualenv-path):
21921 * progmodes/verilog-mode.el (verilog-active-low-regexp)
21922 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
21923 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
21924 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
21925 * textmodes/reftex-vars.el (reftex-format-label-function):
21926 * textmodes/remember.el (remember-diary-file): Fix custom types.
21928 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
21931 2013-05-09 Leo Liu <sdl.web@gmail.com>
21933 * progmodes/octave.el (inferior-octave-completion-at-point):
21934 Restore file completion. (Bug#14300)
21935 (inferior-octave-startup): Fix incorrect highlighting for the
21938 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21940 * progmodes/ruby-mode.el: First cut at SMIE support.
21941 (ruby-use-smie): New var.
21942 (ruby-smie-grammar): New constant.
21943 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
21944 (ruby-smie--forward-token, ruby-smie--backward-token)
21945 (ruby-smie-rules): New functions.
21946 (ruby-mode-variables): Setup SMIE if applicable.
21948 2013-05-08 Eli Zaretskii <eliz@gnu.org>
21950 * simple.el (line-move-visual): Signal beginning/end of buffer
21951 only if vertical-motion moved less than it was requested. Avoids
21952 silly incorrect error messages when there are display strings with
21953 multiple newlines at EOL.
21955 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21957 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
21958 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
21959 (prolog-char-quote-workaround):
21960 * progmodes/cperl-mode.el (cperl-under-as-char):
21961 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
21963 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
21965 (vhdl-mode-syntax-table-init): Remove.
21967 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
21970 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
21972 (ld-script-font-lock-keywords):
21973 Change regexps to use things like \_< and \_>.
21975 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
21976 Change all regexps to use things like \_< and \_>.
21978 * progmodes/autoconf.el (autoconf-definition-regexp)
21979 (autoconf-font-lock-keywords, autoconf-current-defun-function):
21980 Handle a _ with symbol syntax.
21981 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
21983 * progmodes/ada-mode.el (ada-mode-abbrev-table):
21984 Consolidate declaration.
21985 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
21987 (ada-create-syntax-table): Remove.
21988 (ada-capitalize-word): Don't mess with the syntax of "_" since it
21989 already has the right syntax nowadays.
21990 (ada-goto-next-word): Don't change the syntax of "_".
21992 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
21995 2013-05-08 Sam Steingold <sds@gnu.org>
21997 * thingatpt.el (thing-at-point): Accept optional second argument
21998 NO-PROPERTIES to strip the text properties from the return value.
21999 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
22000 to `thing-at-point' instead of stripping the properties ourselves.
22001 Also, when `thing-at-point' fails to find a url, prepend "http://"
22002 to the filename at point on the assumption that the user is
22003 pointing at something like gnu.org/gnu.
22005 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
22007 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
22008 * faces.el (crm-separator):
22009 Silence byte-compiler.
22011 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
22012 (tool-bar-map): Remove unneeded defvars.
22014 2013-05-08 Leo Liu <sdl.web@gmail.com>
22016 Re-work a fix for bug#10994 based on Le Wang's patch.
22017 * ido.el (ido-remove-consecutive-dups): New helper.
22018 (ido-completing-read): Use it.
22019 (ido-chop): Revert fix for bug#10994.
22021 2013-05-08 Adam Spiers <emacs@adamspiers.org>
22023 * cus-edit.el (custom-save-variables):
22024 Pretty-print long values. (Bug#14187)
22026 2013-05-08 Glenn Morris <rgm@gnu.org>
22028 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
22029 (m4-mode-syntax-table): Init in the defvar.
22030 (m4-mode-abbrev-table): Let define-derived-mode define it.
22032 2013-05-08 Tom Tromey <tromey@redhat.com>
22034 * progmodes/m4-mode.el (m4-mode-syntax-table):
22035 Do not treat "_" as word constituent. (Bug#14167)
22037 2013-05-07 Glenn Morris <rgm@gnu.org>
22039 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
22040 Remove explicit eshell-isearch-cancel-map.
22042 * progmodes/f90.el (f90-smart-end-names): New option.
22043 (f90-smart-end): Doc fix.
22044 (f90-end-block-optional-name): New constant.
22045 (f90-block-match): Respect f90-smart-end-names.
22047 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22049 * progmodes/octave.el (octave-smie-forward-token): Be more careful
22050 about implicit semi-colons (bug#14218).
22052 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22054 * frame.el (display-monitor-attributes-list)
22055 (frame-monitor-attributes): New functions.
22057 2013-05-06 Leo Liu <sdl.web@gmail.com>
22059 * progmodes/octave.el (octave-syntax-propertize-function): Change
22060 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
22061 (octave-font-lock-keywords): Use octave-operator-regexp.
22062 (octave-completion-at-point): Rename from
22063 octave-completion-at-point-function.
22064 (inferior-octave-directory-tracker): Robustify.
22065 (octave-text-functions): Remove and fix its uses. No such things
22068 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22070 * emacs-lisp/trace.el (trace--display-buffer): New function.
22071 (trace-make-advice): Use it.
22073 2013-05-06 Juri Linkov <juri@jurta.org>
22075 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
22076 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
22078 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
22079 in the help string. (Bug#12985)
22081 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
22083 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
22085 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22087 * progmodes/perl-mode.el: Add support for here documents.
22088 (perl-syntax-propertize-function): Match here-doc markers.
22089 (perl-syntax-propertize-special-constructs): Find their end.
22090 (perl-imenu-generic-expression): Use [:alnum:].
22092 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
22093 (advice--add-function): Refresh the advice if already present
22096 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
22098 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
22100 2013-05-06 Glenn Morris <rgm@gnu.org>
22102 * w32-fns.el (w32-charset-info-alist): Declare.
22104 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
22105 of its defcustom properties.
22106 (eshell-cmpl-initialize): No need to load pcomplete.
22108 * generic-x.el: No need to require comint when compiling.
22110 * net/eudc-export.el: Make it loadable without bbdb.
22111 (top-level): Use require rather than load-library.
22112 (eudc-create-bbdb-record, eudc-bbdbify-phone)
22113 (eudc-batch-export-records-to-bbdb)
22114 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
22117 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22119 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
22120 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
22121 some tweaks, instead.
22123 2013-05-05 Leo Liu <sdl.web@gmail.com>
22125 * progmodes/octave.el (octave-font-lock-keywords)
22126 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
22127 (inferior-octave-send-list-and-digest): Improve error message.
22128 (octave-mode, inferior-octave-mode): Use setq-local.
22129 (octave-help): Set info-lookup-mode.
22131 2013-05-05 Richard Stallman <rms@gnu.org>
22133 * vc/compare-w.el (compare-windows-whitespace):
22134 Treat no-break space as whitespace.
22136 * mail/rmailsum.el (rmail-summary-rmail-update):
22137 Detect empty summary and don't change selected message.
22138 (rmail-summary-goto-msg): Likewise.
22140 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
22141 Doc fixes, rename args.
22143 2013-05-05 Alan Mackenzie <acm@muc.de>
22145 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
22147 2013-05-05 Juri Linkov <juri@jurta.org>
22149 * info.el (Info-read-subfile): Use (point-min) instead of (point)
22150 to not add the length of the summary segment to the return value.
22153 2013-05-05 Leo Liu <sdl.web@gmail.com>
22155 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
22156 (inferior-octave-output-filter): Remove.
22157 (octave-send-region, inferior-octave-startup): Fix callers.
22158 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
22159 (octave-binary-file-extensions): New user variable.
22160 (octave-find-definition): Confirm if opening binary files.
22161 (octave-help-file): Use octave-find-definition to get the binary
22163 (octave-help): Adjust for octave-help-file change.
22165 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22167 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
22168 Merge the two entries that handle function definitions.
22169 (pascal--syntax-propertize): New const.
22170 (pascal-mode): Use it. Use setq-local.
22172 2013-05-04 Glenn Morris <rgm@gnu.org>
22174 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
22175 (diary-from-outlook): Respect diary-from-outlook-function.
22177 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22179 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
22180 Move the declaration from C.
22181 (read-minibuffer, eval-minibuffer): Move from C.
22182 (completion-setup-function): Avoid minibuffer-completion-contents.
22184 2013-05-03 Leo Liu <sdl.web@gmail.com>
22186 * progmodes/octave.el (octave-font-lock-keywords): Do not
22187 dehighlight 'end' in comments or strings.
22188 (octave-completing-read, octave-goto-function-definition):
22190 (octave-help-buffer): New user variable.
22191 (octave-help-file, octave-help-function): New button types.
22192 (octave-help): New command and bind it to C-h ;.
22193 (octave-find-definition): New command and bind it to M-.
22194 (user-error): Alias to error if not defined.
22196 2013-05-02 Leo Liu <sdl.web@gmail.com>
22198 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
22200 (octave-font-lock-keywords): Include [ and {.
22202 2013-05-02 Leo Liu <sdl.web@gmail.com>
22204 * progmodes/octave.el (inferior-octave-startup-file): Change default.
22205 (inferior-octave): Remove calling comint-mode and return the buffer.
22206 (inferior-octave-startup): Cosmetic changes.
22208 2013-05-02 Leo Liu <sdl.web@gmail.com>
22210 * progmodes/octave.el (octave-syntax-propertize-function):
22211 Include the case when ' is at line beginning. (Bug#14336)
22213 2013-05-02 Glenn Morris <rgm@gnu.org>
22215 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
22216 * desktop.el (vc-dir-mode): Just autoload it here.
22218 2013-05-02 Alan Mackenzie <acm@muc.de>
22220 Eliminate variable c-standard-font-lock-fontify-region-function.
22221 * progmodes/cc-mode.el
22222 (c-standard-font-lock-fontify-region-function): Remove.
22223 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
22225 2013-05-01 Leo Liu <sdl.web@gmail.com>
22227 * progmodes/octave.el: Compatible with older emacs-24 releases.
22228 (inferior-octave-has-built-in-variables): Remove. Built-in
22229 variables were removed from Octave in 2007.
22230 (inferior-octave-startup): Fix uses.
22231 (comint-line-beginning-position): Remove compatibility code for
22234 2013-05-01 Juri Linkov <juri@jurta.org>
22236 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
22238 2013-05-01 Juri Linkov <juri@jurta.org>
22240 * comint.el (comint-previous-matching-input): Don't print message
22241 "History item: %d" when `isearch-mode' is active.
22242 (comint-history-isearch-message): Print message "History item: %d"
22243 when `comint-input-ring-index' is not empty and this function is
22244 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
22246 2013-05-01 Leo Liu <sdl.web@gmail.com>
22248 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
22249 definitions. Use completion-at-point to insert keywords.
22250 (octave-abbrev-start): Remove.
22251 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
22253 2013-04-30 Leo Liu <sdl.web@gmail.com>
22255 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
22258 2013-04-30 Alan Mackenzie <acm@muc.de>
22260 Handle arbitrarily long C++ member initialisation lists.
22261 * progmodes/cc-engine.el (c-back-over-member-initializers):
22263 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
22264 (most) member init lists.
22266 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22268 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
22271 2013-04-30 Leo Liu <sdl.web@gmail.com>
22273 * progmodes/octave.el (octave-variables): Remove. No builtin
22274 variables any more. All converted to functions.
22275 (octave-font-lock-keywords, octave-completion-at-point-function):
22277 (octave-font-lock-texinfo-comment): New user variable.
22278 (octave-texinfo-font-lock-keywords): New variable for texinfo
22280 (octave-function-comment-block): New face.
22281 (octave-font-lock-texinfo-comment): New function.
22282 (octave-mode): Font lock texinfo comment block.
22284 2013-04-29 Leo Liu <sdl.web@gmail.com>
22286 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
22287 indexing expression.
22288 (octave-continuation-string): Do not use \.
22289 (inferior-octave-complete-impossible): Remove.
22290 (inferior-octave-completion-table)
22291 (inferior-octave-completion-at-point): Remove its uses.
22292 (inferior-octave-startup): completion_matches was introduced to
22293 Octave in 1996 so safe to assume it.
22294 (octave-function-file-comment): Improve to follow how Octave does it.
22295 (octave-update-function-file-comment): Tweak.
22297 2013-04-29 Leo Liu <sdl.web@gmail.com>
22299 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
22300 (inferior-octave-startup): Remove inferior-octave-startup-hook.
22301 (octave-function-file-comment): Fix typo.
22302 (octave-sync-function-file-names): Use read-char-choice.
22304 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
22306 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
22307 to t for the less important warnings.
22309 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
22311 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
22313 2013-04-27 Glenn Morris <rgm@gnu.org>
22315 * vc/log-view.el (log-view-current-entry):
22316 Treat "---" separator lines as part of the following rev. (Bug#14169)
22318 2013-04-27 Juri Linkov <juri@jurta.org>
22320 * subr.el (read-number): Doc fix about using it by interactive
22321 code letter `n'. (Bug#14254)
22323 2013-04-27 Juri Linkov <juri@jurta.org>
22325 * desktop.el (desktop-auto-save-timeout): New option.
22326 (desktop-file-checksum): New variable.
22327 (desktop-save): Add optional arg `auto-save' and don't auto-save
22328 if nothing changed.
22329 (desktop-auto-save-timer): New variable.
22330 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
22331 (after-init-hook): Call `desktop-auto-save-set-timer'.
22332 Suggested by Reuben Thomas <rrt@sc3d.org> in
22333 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
22335 2013-04-27 Leo Liu <sdl.web@gmail.com>
22337 * progmodes/octave.el (octave-function-file-p)
22338 (octave-skip-comment-forward, octave-function-file-comment)
22339 (octave-update-function-file-comment): New functions.
22340 (octave-mode-map): Bind C-c ; to
22341 octave-update-function-file-comment.
22342 (octave-mode-menu): Add octave-update-function-file-comment.
22343 (octave-mode, inferior-octave-mode): Fix doc-string.
22344 (octave-insert-defun): Conform to Octave's coding convention.
22347 * files.el (basic-save-buffer): Don't let errors in
22348 before-save-hook prevent saving buffer.
22350 2013-04-20 Roland Winkler <winkler@gnu.org>
22352 * faces.el (read-face-name): Use completing-read if arg multiple
22355 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
22357 * ls-lisp.el (ls-lisp-insert-directory): If no files are
22358 displayed, move point to after the totals line.
22359 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
22362 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
22364 * emacs-lisp/package.el (package-autoload-ensure-default-file):
22365 Add current dir to the load-path.
22366 (package-generate-autoloads): Don't rely on
22367 autoload-ensure-default-file.
22369 2013-04-26 Reuben Thomas <rrt@sc3d.org>
22371 * textmodes/remember.el (remember-store-in-files): Document that
22372 the file name format is passed to `format-time-string'.
22374 2013-04-26 Leo Liu <sdl.web@gmail.com>
22376 * progmodes/octave.el (octave-sync-function-file-names): New function.
22377 (octave-mode): Use it in before-save-hook.
22379 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
22381 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
22384 * progmodes/octave.el (octave-smie-forward-token): Properly skip
22385 \n and comment, even if it's not an implicit ; (bug#14218).
22387 2013-04-26 Glenn Morris <rgm@gnu.org>
22389 * subr.el (read-number): Once more use `read' rather than
22390 `string-to-number', to trap non-numeric input. (Bug#14254)
22392 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
22394 * emacs-lisp/syntax.el (syntax-propertize-multiline):
22395 Use `syntax-multiline' text property consistently instead of
22396 `font-lock-multiline'. (Bug#14237)
22398 2013-04-26 Glenn Morris <rgm@gnu.org>
22400 * emacs-lisp/shadow.el (list-load-path-shadows):
22401 No longer necessary to check for duplicate simple.el, since
22402 2012-07-07 change to init_lread to not include installation lisp
22403 directories in load-path when running uninstalled. (Bug#14270)
22405 2013-04-26 Leo Liu <sdl.web@gmail.com>
22407 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
22408 (octave-mode, inferior-octave-mode): Use setq-local.
22409 (octave-not-in-string-or-comment-p): Rename to
22410 octave-in-string-or-comment-p.
22411 (octave-in-comment-p, octave-in-string-p)
22412 (octave-in-string-or-comment-p): Replace defsubst with defun.
22414 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
22416 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
22418 2013-04-25 Bastien Guerry <bzg@gnu.org>
22420 * textmodes/remember.el (remember-data-directory)
22421 (remember-directory-file-name-format): Fix custom types.
22423 2013-04-25 Leo Liu <sdl.web@gmail.com>
22425 * progmodes/octave.el (octave-completion-at-point-function):
22426 Make use of inferior octave process.
22427 (octave-initialize-completions): Remove.
22428 (inferior-octave-completion-table): New function.
22429 (inferior-octave-completion-at-point): Use it.
22430 (octave-completion-alist): Remove.
22432 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22434 * progmodes/opascal.el: Use font-lock and syntax-propertize.
22435 (opascal-mode-syntax-table): New var.
22436 (opascal-literal-kind, opascal-is-literal-end)
22437 (opascal-literal-token-at): Rewrite.
22438 (opascal--literal-start-re, opascal-font-lock-keywords)
22439 (opascal--syntax-propertize): New constants.
22440 (opascal-font-lock-defaults): Adjust.
22441 (opascal-mode): Use them. Set comment-<foo> variables as well.
22442 (delphi-comment-face, opascal-comment-face, delphi-string-face)
22443 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
22444 (delphi-other-face, opascal-other-face): Remove face variables.
22445 (opascal-save-state): Remove macro.
22446 (opascal-fontifying-progress-step): Remove constant.
22447 (opascal--ignore-changes): Remove var.
22448 (opascal-set-token-property, opascal-parse-next-literal)
22449 (opascal-is-stable-literal, opascal-complete-literal)
22450 (opascal-is-literal-start, opascal-face-of)
22451 (opascal-parse-region, opascal-parse-region-until-stable)
22452 (opascal-fontify-region, opascal-after-change)
22453 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
22454 (opascal-debug-parse-region, opascal-debug-parse-window)
22455 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
22456 (opascal-debug-fontify-buffer): Remove.
22457 (opascal-debug-mode-map): Adjust accordingly.
22459 2013-04-25 Leo Liu <sdl.web@gmail.com>
22461 Merge octave-mod.el and octave-inf.el into octave.el with some
22463 * progmodes/octave.el: New file renamed from octave-mod.el.
22464 * progmodes/octave-inf.el: Merged into octave.el.
22465 * progmodes/octave-mod.el: Renamed to octave.el.
22467 2013-04-25 Tassilo Horn <tsdh@gnu.org>
22469 * textmodes/reftex-vars.el
22470 (reftex-label-ignored-macros-and-environments): New defcustom.
22472 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
22474 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22476 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
22477 (smie-indent-keyword): Improve the check to ensure that the next
22478 comment is really on the same line.
22479 (smie-indent-comment): Don't align with a subsequent closer (or eob).
22481 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
22482 semi-colons if the line is not otherwise empty (bug#14218).
22484 2013-04-25 Glenn Morris <rgm@gnu.org>
22486 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
22488 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
22490 * progmodes/opascal.el (opascal-set-token-property): Rename from
22491 opascal-set-text-properties and only set `token' (bug#14134).
22492 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
22493 (opascal-literal-text-properties): Remove.
22494 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
22497 2013-04-24 Reuben Thomas <rrt@sc3d.org>
22499 * textmodes/remember.el (remember-handler-functions): Add an
22500 option for a new handler `remember-store-in-files'.
22501 (remember-data-directory, remember-directory-file-name-format):
22503 (remember-store-in-files): New function to store remember notes
22504 as separate files within a directory.
22506 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
22508 * progmodes/compile.el (compilation-next-error-function):
22509 Pass "formats" to compilation-find-file (bug#11777).
22511 2013-04-24 Glenn Morris <rgm@gnu.org>
22513 * vc/vc-bzr.el (vc-bzr-print-log):
22514 * vc/vc-hg.el (vc-hg-print-log):
22515 * vc/vc-svn.el (vc-svn-print-log):
22516 Fix START-REVISION with LIMIT != 1. (Bug#14168)
22518 * vc/vc-bzr.el (vc-bzr-print-log):
22519 * vc/vc-cvs.el (vc-cvs-print-log):
22520 * vc/vc-git.el (vc-git-print-log):
22521 * vc/vc-hg.el (vc-hg-print-log):
22522 * vc/vc-mtn.el (vc-mtn-print-log):
22523 * vc/vc-rcs.el (vc-rcs-print-log):
22524 * vc/vc-sccs.el (vc-sccs-print-log):
22525 * vc/vc-svn.el (vc-svn-print-log):
22526 * vc/vc.el (vc-print-log-internal): Doc fixes.
22528 2013-04-23 Glenn Morris <rgm@gnu.org>
22530 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
22531 Remove venerable code attempting to avoid substitute-command-keys.
22533 2013-04-23 Tassilo Horn <tsdh@gnu.org>
22535 * textmodes/reftex-vars.el (reftex-label-regexps):
22536 Call `reftex-compile-variables' after changes to this variable.
22538 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
22540 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
22541 Use lexical-binding.
22542 (jit-lock-force-redisplay): Use markers, check buffer's continued
22543 existence and beware narrowed buffers.
22544 (jit-lock-fontify-now): Adjust call accordingly.
22546 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
22548 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
22549 to avoid misleading the user.
22551 2013-04-22 Leo Liu <sdl.web@gmail.com>
22553 * info-look.el: Prefer latex2e.info. (Bug#14240)
22555 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
22557 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
22559 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
22560 * net/tramp.el (tramp-call-process): ... here.
22561 (tramp-set-completion-function, tramp-parse-putty):
22562 * net/tramp-adb.el (tramp-adb-execute-adb-command):
22563 * net/tramp-gvfs.el (tramp-gvfs-send-command):
22564 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
22565 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
22566 (tramp-call-local-coding-command): Use `tramp-call-process'
22567 instead of `tramp-compat-call-process'.
22569 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
22570 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
22571 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
22572 (tramp-find-inline-compress): Improve traces.
22573 (tramp-maybe-send-script): Check for Perl binary.
22574 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
22576 2013-04-22 Daiki Ueno <ueno@gnu.org>
22578 * epg.el (epg-context-pinentry-mode): New function.
22579 (epg-context-set-pinentry-mode): New function.
22580 (epg--start): Pass --pinentry-mode option to gpg command.
22582 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
22584 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
22585 `comint-dynamic-complete' is obsolete since 24.1, replaced by
22586 `completion-at-point'. (Bug#13774)
22588 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
22589 default key binding for `describe-distribution' has been moved to
22590 `C-h C-o'. (Bug#13970)
22592 2013-04-21 Glenn Morris <rgm@gnu.org>
22594 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
22596 (vc-print-log): Clarify interactive prompt.
22598 2013-04-20 Glenn Morris <rgm@gnu.org>
22600 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
22601 No longer include timestamp etc information.
22603 2013-04-20 Roland Winkler <winkler@gnu.org>
22605 * faces.el (read-face-name): Bug fix, return just one face if arg
22606 multiple is nil. (Bug#14209)
22608 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22610 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
22611 (remove-function): Autoload.
22613 * comint.el (comint-redirect-original-filter-function): Remove.
22614 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
22615 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
22616 (vc-cvs-annotate-command):
22617 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
22618 * progmodes/prolog.el (prolog-consult-compile):
22619 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
22620 Use add/remove-function instead.
22621 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
22622 (gud-tooltip-process-output, gud-tooltip-tips):
22623 Use add/remove-function instead.
22624 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
22625 (scheme-interaction-mode, exit-scheme-interaction-mode):
22626 Use add/remove-function instead.
22628 * vc/vc-dispatcher.el: Use lexical-binding.
22629 (vc--process-sentinel): Rename from vc-process-sentinel.
22630 Change last arg to be the code to run. Don't use vc-previous-sentinel
22631 and vc-sentinel-commands any more.
22632 (vc-exec-after): Allow code to be a function. Use add/remove-function.
22633 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
22635 2013-04-19 Masatake YAMATO <yamato@redhat.com>
22637 * progmodes/sh-script.el (sh-imenu-generic-expression):
22638 Handle function names with a single character. (Bug#14111)
22640 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
22642 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
22643 for subroutines defined in an eval (bug#14182).
22645 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22647 * bookmark.el (bookmark-completing-read): Improve handling of empty
22648 string (bug#14176).
22650 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22652 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
22654 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
22656 New faster Imenu implementation (bug#14058).
22657 * progmodes/python.el (python-imenu-prev-index-position)
22658 (python-imenu-format-item-label-function)
22659 (python-imenu-format-parent-item-label-function)
22660 (python-imenu-format-parent-item-jump-label-function):
22662 (python-imenu-format-item-label)
22663 (python-imenu-format-parent-item-label)
22664 (python-imenu-format-parent-item-jump-label)
22665 (python-imenu--put-parent, python-imenu--build-tree)
22666 (python-imenu-create-index, python-imenu-create-flat-index)
22667 (python-util-popn): New functions.
22668 (python-mode): Set imenu-create-index-function to
22669 python-imenu-create-index.
22671 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
22673 * winner.el (winner-active-region): Use region-active-p, activate-mark
22674 and deactivate-mark (bug#14225).
22676 * simple.el (deactivate-mark): Don't inline it.
22678 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
22680 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
22682 2013-04-18 Tassilo Horn <tsdh@gnu.org>
22684 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
22685 file extensions from the archive-mode entry in order to prefer
22686 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
22688 2013-04-18 Leo Liu <sdl.web@gmail.com>
22690 * bindings.el (help-event-list): Add ?\?.
22692 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
22694 * subr.el (with-wrapper-hook): Declare obsolete.
22695 * simple.el (filter-buffer-substring-function): New hook.
22696 (filter-buffer-substring): Use it.
22697 (filter-buffer-substring-functions): Mark obsolete.
22698 * minibuffer.el (completion-in-region-function): New hook.
22699 (completion-in-region): Use it.
22700 (completion-in-region-functions): Mark obsolete.
22701 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
22702 * abbrev.el (abbrev-expand-function): New hook.
22703 (expand-abbrev): Use it.
22704 (abbrev-expand-functions): Mark obsolete.
22705 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
22706 and :filter-return.
22708 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
22710 * progmodes/python.el (python-nav--syntactically): Fix cornercases
22711 and do not care about match data.
22713 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
22715 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
22716 completion tables when completing error conditions and
22717 `declare' arguments.
22718 (lisp-complete-symbol, field-complete): Mark as obsolete.
22719 (check-parens): Unmatched parens are user errors.
22720 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
22722 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
22724 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
22725 command changed buffer (ie. `flyspell-pre-buffer' is not current
22726 buffer), which prevents making decisions based on invalid value of
22727 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
22728 cause an error when `flyspell-pre-point' was nil after switching
22730 (flyspell-post-command-hook): No longer needs to change buffers when
22731 checking pre-word. While at it remove unnecessary progn.
22733 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
22735 * textmodes/ispell.el (ispell-add-per-file-word-list):
22736 Fix `flyspell-correct-word-before-point' error when accepting
22737 words and `coment-padding' is an integer by using
22738 `comment-normalize-vars' (Bug #14214).
22740 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
22742 New defun movement commands.
22743 * progmodes/python.el (python-nav--syntactically)
22744 (python-nav--forward-defun, python-nav-backward-defun)
22745 (python-nav-forward-defun): New functions.
22747 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
22749 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
22750 (python-syntax-context): Use named compiler-macro for backwards
22751 compatibility with Emacs 24.x.
22753 2013-04-17 Leo Liu <sdl.web@gmail.com>
22755 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
22756 octave-hide-process-buffer.
22758 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
22760 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
22763 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
22765 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
22766 Fix adjustment of offset when receiving incomplete responses from GDB
22769 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
22771 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
22772 python-mode-abbrev-table.
22773 (python-skeleton-define): Adjust accordingly.
22774 (python-mode-abbrev-table): New table that inherits from it so that
22775 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
22777 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
22778 (abbrev-symbol): Use it.
22779 (abbrev--before-point): Use it since we already handle inheritance.
22781 2013-04-16 Leo Liu <sdl.web@gmail.com>
22783 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
22784 binding to info-lookup-symbol.
22786 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
22788 * minibuffer.el (completion--twq-all):
22789 * term/ns-win.el (ns-initialize-window-system):
22790 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
22792 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
22794 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
22797 * doc-view.el (doc-view-start-process): Handle url-handler directories.
22799 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
22801 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
22802 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
22804 (ruby-end-of-defun): Remove the unused arg, change the docstring
22805 to reflect that this function is only used as the value of
22806 `end-of-defun-function'.
22807 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
22808 to reflect an earlier change that beginning/end-of-defun functions
22809 jump between methods in a class definition, as well as top-level
22812 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22814 * minibuffer.el (minibuffer-complete): Don't just scroll
22815 a *Completions* that's been iconified.
22816 (minibuffer-force-complete): Make sure repetitions do cycle when going
22817 through completion-in-region -> minibuffer-complete.
22819 2013-04-15 Alan Mackenzie <acm@muc.de>
22821 Correct the placement of c-cpp-delimiters when there're #s not at
22824 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
22825 place a submatch around the #.
22826 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
22827 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
22830 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22832 * emacs-lisp/nadvice.el: Properly test names when adding advice.
22833 (advice--member-p): New arg `name'.
22834 (advice--add-function, advice-member-p): Use it (bug#14202).
22836 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
22838 Reformulate java imenu-generic-expression.
22839 The old expression contained ill formed regexps.
22841 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
22842 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
22843 (cc-imenu-java-method-arg-regexp): New defconsts.
22844 (cc-imenu-java-build-type-args-regex): New defun.
22845 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
22846 handling of spaces in the regexp.
22848 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22850 * textmodes/ispell.el (ispell-command-loop): Remove
22851 flyspell highlight of a word when ispell accepts it (bug #14178).
22853 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
22855 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
22856 uses code from the previous `ange-ftp-run-real-handler'.
22857 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
22858 only in case that function exist. This is needed for proper
22859 unloading of Tramp.
22861 2013-04-15 Tassilo Horn <tsdh@gnu.org>
22863 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
22865 * textmodes/reftex.el (reftex-compile-variables): Use it.
22867 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22869 * files.el (normal-mode): Only use default major-mode if no other mode
22872 * emacs-lisp/trace.el (trace-values): New function.
22874 * files.el: Allow : in local variables (bug#14089).
22875 (hack-local-variable-regexp): New var.
22876 (hack-local-variables-prop-line, hack-local-variables): Use it.
22878 2013-04-13 Roland Winkler <winkler@gnu.org>
22880 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
22881 data before it gets modified by bibtex-beginning-of-entry.
22883 2013-04-13 Roland Winkler <winkler@gnu.org>
22885 * textmodes/bibtex.el (bibtex-url): Doc fix.
22887 2013-04-13 Roland Winkler <winkler@gnu.org>
22889 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
22890 does not visit a BibTeX file, exclude it from the list of buffers
22891 returned by bibtex-initialize.
22893 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
22895 * window.el (split-window): Remove interactive form, since as a
22896 command this function is a special case of split-window-below.
22897 Correct doc string.
22899 2013-04-12 Roland Winkler <winkler@gnu.org>
22901 * faces.el (read-face-name): Do not override value of arg default.
22902 Allow single faces and strings as default values. Remove those
22903 elements from return value that are not faces.
22904 (describe-face): Simplify.
22905 (face-at-point): New optional args thing and multiple so that this
22906 function can provide the same functionality previously provided by
22908 (make-face-bold, make-face-unbold, make-face-italic)
22909 (make-face-unitalic, make-face-bold-italic, invert-face)
22910 (modify-face, read-face-and-attribute): Use face-at-point.
22912 * cus-edit.el (customize-face, customize-face-other-window)
22913 * cus-theme.el (custom-theme-add-face)
22914 * face-remap.el (buffer-face-set)
22915 * facemenu.el (facemenu-set-face): Use face-at-point.
22917 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
22919 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
22921 2013-04-10 Tassilo Horn <tsdh@gnu.org>
22923 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
22924 off leading { and trailing } from field values.
22926 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
22928 * emacs-lisp/timer.el (timer--check): New function.
22929 (timer--time, timer-set-function, timer-event-handler): Use it.
22930 (timer-set-idle-time): Simplify.
22931 (timer--activate): CSE.
22932 (timer-event-handler): Give more info in error message.
22933 (internal-timer-start-idle): New function, moved from C.
22935 * mpc.el (mpc-proc): Add `restart' argument.
22936 (mpc-proc-cmd): Use it.
22937 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
22938 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
22941 2013-04-10 Masatake YAMATO <yamato@redhat.com>
22943 * progmodes/sh-script.el: Implement `sh-mode' own
22944 `add-log-current-defun-function' (bug#14112).
22945 (sh-current-defun-name): New function.
22946 (sh-mode): Use the function.
22948 2013-04-09 Bastien Guerry <bzg@gnu.org>
22950 * simple.el (choose-completion-string): Fix docstring (bug#14163).
22952 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
22954 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
22956 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
22959 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
22961 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
22964 2013-04-07 Leo Liu <sdl.web@gmail.com>
22966 * pcmpl-x.el: New file.
22968 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
22970 Do not set x-display-name until X connection is established.
22971 This is needed to prevent from weird situation described at
22972 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
22973 * frame.el (make-frame): Set x-display-name after call to
22974 window system initialization function, not before.
22975 * term/x-win.el (x-initialize-window-system): Add optional
22976 display argument and use it.
22977 * term/w32-win.el (w32-initialize-window-system):
22978 * term/ns-win.el (ns-initialize-window-system):
22979 * term/pc-win.el (msdos-initialize-window-system):
22980 Add compatible optional display argument.
22982 2013-04-06 Eli Zaretskii <eliz@gnu.org>
22984 * files.el (normal-backup-enable-predicate): On MS-Windows and
22985 MS-DOS compare truenames of temporary-file-directory and of the
22986 file, so that 8+3 aliases (usually found in $TEMP on Windows)
22987 don't fail comparison by compare-strings. Also, compare file
22988 names case-insensitively on MS-Windows and MS-DOS.
22990 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
22992 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
22993 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
22995 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
22997 * whitespace.el (whitespace-color-on, whitespace-color-off):
22998 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
23000 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
23002 * ispell.el (ispell-set-spellchecker-params):
23003 Really set `ispell-args' for all equivs.
23005 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23007 * ido.el (ido-completions): Use extra elements of ido-decorations
23009 (ido-decorations): Update docstring.
23011 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
23013 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
23014 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
23015 nil during initialization, in order not to miss changes since the
23016 file was opened. (Bug#14140)
23018 2013-04-05 Leo Liu <sdl.web@gmail.com>
23020 * kmacro.el (kmacro-call-macro): Fix bug#14135.
23022 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
23024 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
23026 2013-04-04 Glenn Morris <rgm@gnu.org>
23028 * electric.el (electric-pair-inhibit-predicate): Add :version.
23030 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
23032 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
23033 when a package is required several times (bug#14082).
23035 2013-04-04 Roland Winkler <winkler@gnu.org>
23037 * faces.el (read-face-name): Behave as promised by the docstring.
23038 Assume that arg default is a list of faces.
23039 (describe-face): Call read-face-name with list of default faces.
23041 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23043 * bookmark.el: Fix deletion of bookmarks (bug#13972).
23044 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
23045 (bookmark-bmenu-execute-deletions): Only skip first line if it's
23047 (bookmark-exit-hook-internal): Save even if list is empty.
23049 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
23051 * emacs-lisp/package.el (package-pinned-packages): New var.
23052 (package--add-to-archive-contents): Obey it (bug#14118).
23054 2013-04-03 Alan Mackenzie <acm@muc.de>
23056 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
23057 Also adapt to the new values of element 7 of a parse state.
23059 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
23060 parameter `not-in-delimiter'. Handle being inside comment opener.
23061 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
23062 character in case we're typing a '*' after a '/'.
23063 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
23064 instead by passing the parameter to c-state-pp-to-literal.
23066 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
23067 for elt. 7 of a parse state.
23069 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
23071 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
23072 * international/latin1-disp.el, international/mule-util.el:
23073 * language/cyril-util.el, language/european.el, language/ind-util.el:
23074 * language/lao-util.el, language/thai.el, language/tibet-util.el:
23075 * language/tibetan.el, language/viet-util.el:
23076 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
23078 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23080 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
23081 (electric-pair-post-self-insert-function): Use it.
23082 (electric-pair-default-inhibit): New function, extracted from
23083 electric-pair-post-self-insert-function.
23085 2013-03-31 Roland Winkler <winkler@gnu.org>
23087 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
23089 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23091 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
23093 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
23095 Un-indent after "pass" and "return" statements (Bug#13888)
23096 * progmodes/python.el (python-indent-block-enders): New var.
23097 (python-indent-calculate-indentation): Use it.
23099 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
23101 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
23102 defun. Defining it as defalias could introduce too eager
23103 byte-compiler optimization. (Bug#14030)
23105 2013-03-30 Chong Yidong <cyd@gnu.org>
23107 * iswitchb.el (iswitchb-read-buffer): Fix typo.
23109 2013-03-30 Leo Liu <sdl.web@gmail.com>
23111 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
23112 (kmacro-execute-from-register): Pass the keyboard macro to
23113 kmacro-call-macro or repeating won't work correctly.
23115 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
23117 * progmodes/subword.el: Back to using `forward-symbol'.
23119 * subr.el (forward-whitespace, forward-symbol)
23120 (forward-same-syntax): Move from thingatpt.el.
23122 2013-03-29 Leo Liu <sdl.web@gmail.com>
23124 * kmacro.el (kmacro-to-register): New command.
23125 (kmacro-execute-from-register): New function.
23126 (kmacro-keymap): Bind to 'x'. (Bug#14071)
23128 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
23130 * mpc.el: Use defvar-local and setq-local.
23131 (mpc--proc-connect): Connection failures are not bugs.
23132 (mpc-mode-map): `follow-link' only applies to the buffer's content.
23133 (mpc-volume-map): Bind to the up-events.
23135 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
23137 * progmodes/subword.el (superword-mode): Use `forward-sexp'
23138 instead of `forward-symbol'.
23140 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
23142 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
23143 (edebug--recursive-edit): Use it.
23144 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
23145 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
23147 2013-03-28 Leo Liu <sdl.web@gmail.com>
23149 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
23151 2013-03-27 Eli Zaretskii <eliz@gnu.org>
23153 * facemenu.el (list-colors-callback): New defvar.
23154 (list-colors-redisplay): New function.
23155 (list-colors-display): Install list-colors-redisplay as the
23156 revert-buffer-function. (Bug#14063)
23158 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
23160 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
23161 and suffixes don't overlap (bug#14061).
23163 * case-table.el: Use lexical-binding.
23164 (case-table-get-table): New function.
23165 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
23167 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
23169 * progmodes/subword.el: Add `superword-mode' to do word motion
23170 over symbol_words (parallels and leverages `subword-mode' which
23171 does word motion inside MixedCaseWords).
23173 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
23175 * eshell/em-unix.el: Move su and sudo to...
23176 * eshell/em-tramp.el: ...Eshell tramp module.
23178 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23180 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
23181 Change return value to be a sexp. Delay `get-buffer' to after
23182 restoring the desktop (bug#13951).
23184 2013-03-26 Leo Liu <sdl.web@gmail.com>
23186 * register.el: Move semantic tag handling back to
23187 cedet/semantic/senator.el. (Bug#14052)
23189 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23191 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
23192 into the prompt either (bug#13963).
23194 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
23196 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
23197 part of "(error-foo)".
23199 2013-03-24 Juri Linkov <juri@jurta.org>
23201 * replace.el (list-matching-lines-prefix-face): New defcustom.
23202 (occur-1): Pass `list-matching-lines-prefix-face' to the function
23203 `occur-engine' if `face-differs-from-default-p' returns t.
23204 (occur-engine): Add `,' inside backquote construct to evaluate
23205 `prefix-face'. Propertize the prefix with the `prefix-face' face.
23206 Pass `prefix-face' to the functions `occur-context-lines' and
23207 `occur-engine-add-prefix'.
23208 (occur-engine-add-prefix, occur-context-lines): Add optional arg
23209 `prefix-face' and propertize the prefix with `prefix-face'.
23212 2013-03-24 Leo Liu <sdl.web@gmail.com>
23214 * nxml/rng-valid.el (rng-validate-while-idle)
23215 (rng-validate-quick-while-idle): Guard against deleted buffer.
23218 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
23219 is the last entry in kill-buffer-hook.
23221 * files.el (kill-buffer-hook): Doc fix.
23223 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
23225 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
23226 Make it safe-local.
23228 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
23230 2013-03-23 Leo Liu <sdl.web@gmail.com>
23232 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
23235 * nxml/rng-valid.el (rng-validate-mode)
23236 (rng-after-change-function, rng-do-some-validation):
23237 * nxml/rng-maint.el (rng-validate-buffer):
23238 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
23239 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
23240 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
23241 (nxml-extend-after-change-region): Use with-silent-modifications.
23243 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
23246 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
23247 (rng-next-error-1, rng-previous-error-1): Do not let-bind
23248 timer-idle-list. (Bug#13999)
23250 2013-03-23 Juri Linkov <juri@jurta.org>
23252 * info.el (info-index-match): New face.
23253 (Info-index, Info-apropos-matches): Add a nested subgroup to the
23254 main pattern and add text properties with the new face to matches
23255 in index entries relative to the beginning of the index entry.
23258 2013-03-21 Eric Ludlam <zappo@gnu.org>
23260 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
23261 Inhibit read only while inserting objects.
23263 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
23265 * progmodes/cfengine.el: Update docs to mention
23266 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
23267 symbol motion. Remove "_" from the word syntax.
23269 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
23271 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
23272 syntax for both `cfengine2-mode' and `cfengine3-mode'.
23274 2013-03-20 Juri Linkov <juri@jurta.org>
23276 * info.el (Info-next-reference-or-link)
23277 (Info-prev-reference-or-link): New functions.
23278 (Info-next-reference, Info-prev-reference): Use them.
23279 (Info-try-follow-nearest-node): Handle footnote navigation.
23280 (Info-fontify-node): Fontify footnotes. (Bug#13989)
23282 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
23284 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
23285 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
23287 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
23289 Suppress unnecessary non-ASCII chatter during build process.
23290 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
23291 (batch-skkdic-convert): Suppress most of the chatter.
23292 It's not needed so much now that machines are faster,
23293 and its non-ASCII component was confusing; see Dmitry Gutov in
23294 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
23296 2013-03-20 Leo Liu <sdl.web@gmail.com>
23298 * ido.el (ido-chop): Fix bug#10994.
23300 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23302 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
23304 (whitespace-color-on, whitespace-color-off):
23305 Use `font-lock-fontify-buffer' (Bug#13817).
23307 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
23309 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
23310 remapping in mode-line.
23311 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
23313 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23315 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
23316 value for `whitespace-line' face (Bug#13875).
23317 (whitespace-font-lock-keywords): Change description.
23318 (whitespace-color-on): Don't save `font-lock-keywords' value, save
23319 the constructed keywords instead.
23320 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
23322 2013-03-19 Leo Liu <sdl.web@gmail.com>
23324 * progmodes/compile.el (compilation-display-error): New command.
23325 (compilation-mode-map, compilation-minor-mode-map): Bind it to
23328 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23330 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
23332 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
23334 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
23336 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
23338 * net/tramp-compat.el (tramp-compat-user-error): New defun.
23340 * net/tramp-adb.el (tramp-adb-handle-shell-command):
23341 * net/tramp-gvfs.el (top):
23342 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
23343 (tramp-handle-shell-command): Use it.
23344 (tramp-dissect-file-name): Raise an error when hostname is a
23345 method name, and neither method nor user is specified.
23347 * net/trampver.el: Update release number.
23349 2013-03-18 Leo Liu <sdl.web@gmail.com>
23351 Make sure eldoc can be turned off properly.
23352 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
23354 (eldoc-display-message-p): Revert last change.
23355 (eldoc-display-message-no-interference-p)
23356 (eldoc-print-current-symbol-info): Tweak.
23358 2013-03-18 Tassilo Horn <tsdh@gnu.org>
23360 * doc-view.el (doc-view-new-window-function): Check the new window
23361 overlay's display property instead the char property of the
23362 buffer's first char. Use `with-selected-window' instead of
23363 `save-window-excursion' with `select-window'.
23364 (doc-view-document->bitmap): Check the current doc-view overlay's
23365 display property instead the char property of the buffer's first char.
23367 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23369 Automate the build of ja-dic.el (Bug#13984).
23370 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
23371 from the input, rather than assume that it's been done for us by the
23372 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
23373 the current date into a ja-dic.el comment, as that complicates
23374 regression testing.
23376 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23378 * whitespace.el: Fix double evaluation.
23379 (whitespace-space, whitespace-hspace, whitespace-tab)
23380 (whitespace-newline, whitespace-trailing, whitespace-line)
23381 (whitespace-space-before-tab, whitespace-indentation)
23382 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
23384 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
23385 (whitespace-color-on): Use a single font-lock-add-keywords call.
23386 Fix double-evaluation of face variables.
23388 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
23390 * net/tramp-adb.el (tramp-adb-parse-device-names):
23391 Use `start-process' instead of `call-process'. Otherwise, the
23392 function might be blocked under MS Windows. (Bug#13299)
23394 2013-03-17 Leo Liu <sdl.web@gmail.com>
23396 Extend eldoc to display info in the mode-line. (Bug#13978)
23397 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
23398 (eldoc-mode-line-string): New variable.
23399 (eldoc-minibuffer-message): New function.
23400 (eldoc-message-function): New variable.
23401 (eldoc-message): Use it.
23402 (eldoc-display-message-p)
23403 (eldoc-display-message-no-interference-p):
23404 Support eldoc-post-insert-mode.
23406 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
23407 (eval-expression): Run it.
23409 2013-03-17 Roland Winkler <winkler@gnu.org>
23411 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
23412 strings in the list of return values.
23414 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23416 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
23417 radix before checking for HMS forms.
23419 2013-03-16 Leo Liu <sdl.web@gmail.com>
23421 * progmodes/scheme.el: Add indentation and font-locking for λ.
23424 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
23426 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
23427 token before point (bug#13942).
23429 2013-03-16 Leo Liu <sdl.web@gmail.com>
23431 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
23433 2013-03-16 Eli Zaretskii <eliz@gnu.org>
23435 * startup.el (command-line-normalize-file-name): Fix handling of
23436 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
23437 <xfq.free@gmail.com> in
23438 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
23440 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
23442 Sync with Tramp 2.2.7.
23444 * net/trampver.el: Update release number.
23446 2013-03-14 Tassilo Horn <tsdh@gnu.org>
23448 * doc-view.el: Fix bug#13887.
23449 (doc-view-insert-image): Don't modify overlay associated to
23450 non-live windows, and implement horizontal centering of image in
23451 case it's smaller than the window.
23452 (doc-view-new-window-function): Force redisplay of new windows on
23455 2013-03-13 Karl Fogel <kfogel@red-bean.com>
23457 * saveplace.el (save-place-alist-to-file): Don't sort
23458 `save-place-alist', just pretty-print it (bug#13882).
23460 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
23462 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
23463 Check whether `default-file-name-coding-system' is bound.
23464 It isn't in XEmacs.
23466 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
23468 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
23469 backquotes for `obsolete' (bug#13929).
23471 * international/mule.el (find-auto-coding): Include file name in
23472 obsolescence warning (bug#13922).
23474 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
23476 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
23477 for CFEngine 3-specific indentation.
23478 (cfengine3-indent-line): Use it. Fix up category regex.
23479 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
23481 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23483 * type-break.el (type-break-file-name):
23484 * textmodes/remember.el (remember-data-file):
23485 * strokes.el (strokes-file):
23486 * shadowfile.el (shadow-initialize):
23487 * saveplace.el (save-place-file):
23488 * ps-bdf.el (bdf-cache-file):
23489 * progmodes/idlwave.el (idlwave-config-directory):
23490 * net/quickurl.el (quickurl-url-file):
23491 * international/kkc.el (kkc-init-file-name):
23492 * ido.el (ido-save-directory-list-file):
23493 * emulation/viper.el (viper-custom-file-name):
23494 * emulation/vip.el (vip-startup-file):
23495 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
23496 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
23498 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
23500 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
23501 * language/thai-word.el: Switch to UTF-8.
23503 See ChangeLog.16 for earlier changes.
23505 ;; Local Variables:
23509 Copyright (C) 2011-2015 Free Software Foundation, Inc.
23511 This file is part of GNU Emacs.
23513 GNU Emacs is free software: you can redistribute it and/or modify
23514 it under the terms of the GNU General Public License as published by
23515 the Free Software Foundation, either version 3 of the License, or
23516 (at your option) any later version.
23518 GNU Emacs is distributed in the hope that it will be useful,
23519 but WITHOUT ANY WARRANTY; without even the implied warranty of
23520 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23521 GNU General Public License for more details.
23523 You should have received a copy of the GNU General Public License
23524 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.