1 2013-08-13 Glenn Morris <rgm@gnu.org>
3 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7 * emacs-lisp/timer.el (timer--time-setter): New function.
8 (timer--time): Use it as gv-setter.
10 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
11 setter is not a symbol.
13 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
15 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
16 if sending fails. This makes debugging easier.
18 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
20 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
21 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
22 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
24 2013-08-12 Eli Zaretskii <eliz@gnu.org>
26 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
28 2013-08-12 Glenn Morris <rgm@gnu.org>
30 * format.el (format-annotate-function):
31 Handle read-only text properties in the source. (Bug#14887)
33 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
35 * net/eww.el (eww-display-html): Ignore coding system errors.
36 One web site uses "utf-8lias" as the coding system.
38 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
40 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
42 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
44 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
45 (tutorial--detailed-help): Remove unused local variables.
46 (tutorial--save-tutorial-to): Use ignore-errors.
47 (help-with-tutorial): Use looking-at-p.
49 * view.el (view-buffer-other-window, view-buffer-other-frame):
50 Mark unused arguments.
52 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
53 (woman-select-symbol-fonts, woman, woman-find-file)
54 (woman-insert-file-contents, woman-non-underline-faces):
56 (woman1-unquote): Move declaration.
58 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
59 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
60 argument. Remove unused local variable.
61 (xml-parse-elem-type): Use string-match-p.
62 (xml-substitute-numeric-entities): Use ignore-errors.
64 * calculator.el (calculator): Mark unused argument.
65 (calculator-paste, calculator-quit, calculator-integer-p):
67 (calculator-string-to-number, calculator-decimal, calculator-exp)
68 (calculator-op-or-exp): Use string-match-p.
70 * dired.el (dired-buffer-more-recently-used-p): Declare.
71 (dired-insert-set-properties, dired-insert-old-subdirs):
74 * dired-aux.el (dired-compress): Use ignore-errors.
75 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
76 (dired-do-async-shell-command, dired-do-shell-command)
77 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
78 (dired-insert-subdir-validate): Use string-match-p.
79 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
80 (dired-add-entry): Use string-match-p, looking-at-p.
81 (dired-insert-subdir-newpos): Remove unused local variable.
83 * filenotify.el (file-notify-callback): Remove unused local variable.
85 * filesets.el (filesets-error): Mark unused argument.
86 (filesets-which-command-p, filesets-filter-dir-names)
87 (filesets-directory-files, filesets-get-external-viewer)
88 (filesets-ingroup-get-data): Use string-match-p.
90 * find-file.el (ff-other-file-name, ff-other-file-name)
91 (ff-find-the-other-file, ff-cc-hh-converter):
92 Remove unused local variables.
93 (ff-get-file-name): Use string-match-p.
94 (ff-all-dirs-under): Use ignore-errors.
96 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
97 (follow-select-if-visible): Remove unused local variable.
99 * forms.el (read-file-filter): Move declaration.
100 (forms--make-format, forms--make-parser, forms-insert-record):
101 Quote function with #'.
102 (forms--update): Use string-match-p. Quote function with #'.
104 * help-mode.el (help-dir-local-var-def): Mark unused argument.
105 (help-make-xrefs): Use looking-at-p.
106 (help-xref-on-pp): Use looking-at-p, ignore-errors.
108 * ibuffer.el (ibuffer-ext-visible-p): Declare.
109 (ibuffer-confirm-operation-on): Use string-match-p.
111 * msb.el (msb-item-handler, msb-dired-item-handler):
112 Mark unused arguments.
114 * ses.el (ses-decode-cell-symbol)
115 (ses-kill-override): Remove unused local variable.
116 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
117 (ses-load): Use ignore-errors, looking-at-p.
118 (ses-jump-safe): Use ignore-errors.
119 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
121 * tabify.el (untabify, tabify): Mark unused arguments.
123 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
124 Mark unused argument.
125 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
126 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
128 * emacs-lisp/timer.el (timer--time): Define setter with
129 gv-define-setter to avoid deprecation warning.
131 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
132 (*record-cmpl-statistics-p*): Remove (was commented out).
133 (cmpl-statistics-block): Remove (body was commented out).
135 (add-completions-from-buffer, load-completions-from-file):
136 Remove unused variables.
138 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
140 * filecache.el (file-cache-delete-file-list):
141 Print message only when told so.
142 (file-cache-files-matching): Use #' in mapconcat argument.
144 * ffap.el (ffap-url-at-point): Fix reference to variable
145 thing-at-point-default-mail-uri-scheme.
147 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
149 * subr.el (define-error): New function.
150 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
151 error-file-not-found and define with define-error.
152 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
153 and define with define-error.
154 * userlock.el (file-locked, file-supersession):
155 * simple.el (mark-inactive):
156 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
157 * progmodes/ada-mode.el (ada-mode-errors):
158 * play/life.el (life-extinct):
159 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
160 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
161 * nxml/rng-util.el (rng-error):
162 * nxml/rng-uri.el (rng-uri-error):
163 * nxml/rng-match.el (rng-compile-error):
164 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
165 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
166 * nxml/nxml-rap.el (nxml-scan-error):
167 * nxml/nxml-outln.el (nxml-outline-error):
168 * net/soap-client.el (soap-error):
169 * net/gnutls.el (gnutls-error):
170 * net/ange-ftp.el (ftp-error):
171 * mpc.el (mpc-proc-error):
172 * json.el (json-error, json-readtable-error, json-unknown-keyword)
173 (json-number-format, json-string-escape, json-string-format)
174 (json-key-format, json-object-format):
175 * jka-compr.el (compression-error):
176 * international/quail.el (quail-error):
177 * international/kkc.el (kkc-error):
178 * emacs-lisp/ert.el (ert-test-failed):
179 * calc/calc.el (calc-error, inexact-result, math-overflow)
181 * bookmark.el (bookmark-error-no-filename):
182 * epg.el (epg-error): Define with define-error.
184 * time.el (display-time-event-handler)
185 (display-time-next-load-average): Don't call sit-for since it seems
186 unnecessary (bug#15045).
188 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
189 Use #' instead of ' to quote functions.
190 (checkdoc-output-mode): Use setq-local.
191 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
192 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
193 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
194 (checkdoc-ispell, checkdoc-ispell-current-buffer)
195 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
196 (checkdoc-ispell-message-text, checkdoc-ispell-start)
197 (checkdoc-ispell-continue, checkdoc-ispell-comments)
198 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
200 * ido.el (ido-completion-help): Fix up compiler warning.
202 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
204 * frameset.el (frameset-p): Add autoload cookie.
205 (frameset--jump-to-register): New function, based on code moved from
207 (frameset-to-register): Move from register.el. Adapt to `registerv'.
209 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
210 (frameset-restore, frameset-save, frameset-session-filter-alist):
212 (register-alist): Doc fix.
213 (frameset-to-register): Move to frameset.el.
214 (jump-to-register, describe-register-1): Remove frameset-specific code.
216 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
218 * allout-widgets.el (allout-widgets-pre-command-business)
219 (allout-widgets-post-command-business)
220 (allout-widgets-after-change-handler)
221 (allout-decorate-item-and-context, allout-set-boundary-marker)
222 (allout-body-modification-handler)
223 (allout-graphics-modification-handler): Mark ignored arguments.
224 (allout-widgets-post-command-business)
225 (allout-widgets-exposure-change-processor)
226 (allout-widgets-exposure-undo-processor)
227 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
228 (allout-parse-item-at-point, allout-decorate-item-guides)
229 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
230 * allout.el (epa-passphrase-callback-function): Declare.
231 (allout-overlay-insert-in-front-handler)
232 (allout-overlay-interior-modification-handler)
233 (allout-isearch-end-handler, allout-chart-siblings)
234 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
235 (allout-yank-processing, allout-process-exposed)
236 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
237 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
238 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
239 (lisp-indent-defform): Mark ignored arguments.
240 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
241 (calculate-lisp-indent): Remove unused variables.
242 * international/characters.el (indian-2-column, arabic-2-column)
243 (tibetan): Mark ignored arguments.
244 (use-cjk-char-width-table): Mark ignored arguments.
245 Remove unused variables.
246 * international/fontset.el (build-default-fontset-data)
247 (x-compose-font-name, create-fontset-from-fontset-spec):
248 Mark ignored arguments.
249 (fontset-plain-name): Remove unused variables.
250 * international/mule.el (charset-id, charset-bytes, generic-char-p)
251 (keyboard-coding-system): Mark ignored arguments.
252 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
253 * help.el (resize-temp-buffer-window):
254 * window.el (display-buffer-in-major-side-window)
255 (display-buffer-in-side-window, display-buffer-in-previous-window):
256 Remove unused variables.
257 * isearch.el (isearch-forward-symbol):
258 * version.el (emacs-bzr-version-bzr):
259 * international/mule-cmds.el (current-language-environment):
260 * term/common-win.el (x-handle-iconic, x-handle-geometry)
262 * term/pc-win.el (x-list-fonts, x-display-planes)
263 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
264 (x-server-version, x-display-screens, x-display-mm-height)
265 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
266 (x-selection-owner-p, x-own-selection-internal)
267 (x-disown-selection-internal, x-get-selection-internal)
268 (msdos-initialize-window-system):
269 * term/tty-colors.el (tty-color-alist, tty-color-clear):
270 * term/x-win.el (x-handle-no-bitmap-icon):
271 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
272 (vc-default-find-file-hook, vc-default-extra-menu):
273 Mark ignored arguments.
275 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
277 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
278 break-condition in the context of the debugged code (bug#12685).
280 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
283 Do not use an overlay to highlight the last prompt. (Bug#14744)
284 (comint-mode): Make comint-last-prompt buffer local.
285 (comint-last-prompt): New variable.
286 (comint-last-prompt-overlay): Remove. Superseded by
288 (comint-snapshot-last-prompt, comint-output-filter):
289 Use comint-last-prompt.
291 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
293 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
294 (frameset-save): Check validity of the resulting frameset.
296 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
298 * ido.el (ido-record-command): Add doc string.
300 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
302 * frameset.el (frameset): Do not disable creation of the default
303 frameset-p predicate. Doc fix.
304 (frameset-valid-p): New function, copied from the old predicate-p.
305 Add additional checks.
306 (frameset-restore): Check with frameset-valid-p.
307 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
308 (frameset-name, frameset-description, frameset-properties)
309 (frameset-states): Add docstring.
310 (frameset-session-filter-alist, frameset-persistent-filter-alist)
311 (frameset-filter-alist): Doc fixes.
313 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
315 * frameset.el (frameset-p, frameset-prop): Doc fixes.
317 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
319 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
320 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
321 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
322 (byte-compile-normal-call): Remove obsolescence check.
324 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
326 * frameset.el (frameset-restore): Doc fix.
328 * register.el (frameset-frame-id, frameset-frame-with-id)
329 (frameset-p, frameset-restore, frameset-save): Declare.
330 (register-alist): Document framesets.
331 (frameset-session-filter-alist): Declare.
332 (frameset-to-register): New function.
333 (jump-to-register): Implement jumping to framesets. Doc fix.
334 (describe-register-1): Describe framesets.
336 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
338 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
340 * desktop.el (desktop-save-frameset): Use new frameset-save args.
343 * frameset.el (frameset): Use type vector, not list (incompatible
344 change). Do not declare a new constructor, use the default one.
345 Upgrade suggested properties `app', `name' and `desc' to slots `app',
346 `name' and `description', respectively, and add read-only slot
347 `timestamp'. Doc fixes.
348 (frameset-copy, frameset-persistent-filter-alist)
349 (frameset-filter-alist, frameset-switch-to-gui-p)
350 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
351 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
352 (frameset-filter-iconified, frameset-keep-original-display-p):
354 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
355 Rename from frameset-filter-(save|restore)-param. All callers changed.
357 (frameset-p): Adapt to change to vector and be more thorough.
358 Change arg name to OBJECT. Doc fix.
359 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
360 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
362 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
364 (frameset--record-minibuffer-relationships): Rename from
365 frameset--process-minibuffer-frames. All callers changed.
366 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
367 Use new default constructor (again). Doc fix.
368 (frameset--find-frame-if): Rename from `frameset--find-frame.
370 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
371 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
373 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
374 PARAMETERS and WINDOW-STATE, respectively.
375 (frameset-restore): Add new keyword argument PREDICATE.
376 Reset frameset--target-display to nil. Doc fix.
378 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
380 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
382 (bat-mode-syntax-table): Mark \n as end-of-comment.
383 (bat-font-lock-keywords): Remove comment rule.
385 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
386 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
388 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
389 (byte-compile-callargs-warn): Use `push'.
390 (byte-compile-arglist-warn): Ignore higher-order "calls".
391 (byte-compile-file-form-autoload): Use `pcase'.
392 (byte-compile-function-form): If quoting a symbol, check that it exists.
394 2013-08-07 Eli Zaretskii <eliz@gnu.org>
396 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
397 and add a few popular commands found in batch files.
398 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
399 (dos-mode): Doc fixes.
401 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
403 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
404 (dos-mode): Use setq-local. Add space after "rem".
405 (dos-mode-syntax-table): Don't use "w" for symbol chars.
406 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
408 2013-08-07 Arni Magnusson <arnima@hafro.is>
410 * progmodes/dos.el: New file.
411 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
414 2013-08-06 Glenn Morris <rgm@gnu.org>
416 * calendar/calendar.el: Add new faces, and day-header-array.
417 (calendar-weekday-header, calendar-weekend-header)
418 (calendar-month-header): New faces.
419 (calendar-day-header-construct): New function.
420 (calendar-day-header-width): Also :set calendar-day-header-array.
421 (calendar-american-month-header, calendar-european-month-header)
422 (calendar-iso-month-header): Use calendar- faces.
423 (calendar-generate-month):
424 Use calendar-day-header-array for day headers; apply faces to them.
425 (calendar-mode): Check calendar-font-lock-keywords non-nil.
426 (calendar-abbrev-construct): Add optional maxlen argument.
427 (calendar-day-name-array): Doc fix.
428 (calendar-day-name-array, calendar-abbrev-length)
429 (calendar-day-abbrev-array):
430 Also :set calendar-day-header-array, and maybe redraw.
431 (calendar-day-header-array): New option. (Bug#15007)
432 (calendar-font-lock-keywords): Set to nil and make obsolete.
433 (calendar-day-name): Add option to use header array.
435 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
437 * net/shr.el (shr-render-td): Remove debugging.
438 (shr-render-td): Make width computation consistent by defaulting
439 all zero-width columns to 10 characters. This may not be optimal,
440 but it's at least consistent.
441 (shr-make-table-1): Redo last change to fix the real problem in
444 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
446 * files.el (cache-long-line-scans):
447 Make obsolete alias to `cache-long-scans'.
449 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
451 * frameset.el (frameset, frameset-filter-alist)
452 (frameset-filter-params, frameset-save, frameset--reuse-frame)
453 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
454 (frameset-compute-pos): Rename from frameset--compute-pos,
456 (frameset-move-onscreen): Use frameset-compute-pos.
457 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
459 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
460 Fix typos in docstrings.
462 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
464 * frame.el (get-other-frame): Tiny cleanup.
466 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
468 * vc/vc.el (vc-default-ignore-completion-table):
469 Silence byte-compiler warning.
471 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
472 slot , which can indeed be nil.
473 (frameset-live-filter-alist, frameset-persistent-filter-alist):
474 Move entry for `left' from persistent to live filter alist.
475 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
477 (frameset-filter-params): When restoring a frame, copy items added to
478 `filtered', to avoid unwittingly modifying the original parameters.
479 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
480 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
482 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
483 to use looking-at-p instead of looking-at. (Bug#15028)
485 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
487 Revert introduction of isearch-filter-predicates (bug#14714).
488 Rely on add-function instead.
489 * isearch.el (isearch-filter-predicates): Rename it back to
490 isearch-filter-predicate.
491 (isearch-message-prefix): Use advice-function-mapc and advice
492 properties to get the isearch-message-prefix.
493 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
494 instead of run-hook-with-args-until-failure.
495 (isearch-filter-visible): Not obsolete any more.
496 * loadup.el: Preload nadvice.
497 * replace.el (perform-replace): Revert to funcall
498 instead of run-hook-with-args-until-failure.
499 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
500 * dired-aux.el (dired-isearch-filenames-mode): Rename from
501 dired-isearch-filenames-toggle; make it into a proper minor mode.
502 Use add/remove-function.
503 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
504 Call the minor-mode rather than add/remove-hook.
505 (dired-isearch-filter-filenames):
506 Remove isearch-message-prefix property.
507 * info.el (Info--search-loop): New function, extracted from Info-search.
508 Funcall isearch-filter-predicate instead of
509 run-hook-with-args-until-failure isearch-filter-predicates.
510 (Info-search): Use it.
511 (Info-mode): Use isearch-filter-predicate instead of
512 isearch-filter-predicates.
514 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
516 Do not call to `selected-window' where it is assumed by default.
517 Affected functions are `window-minibuffer-p', `window-dedicated-p',
518 `window-hscroll', `window-width', `window-height', `window-buffer',
519 `window-frame', `window-start', `window-point', `next-window'
520 and `window-display-table'.
521 * abbrev.el (abbrev--default-expand):
522 * bs.el (bs--show-with-configuration):
523 * buff-menu.el (Buffer-menu-mouse-select):
524 * calc/calc.el (calc):
525 * calendar/calendar.el (calendar-generate-window):
526 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
528 * comint.el (send-invisible, comint-dynamic-complete-filename)
529 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
530 * completion.el (complete):
531 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
532 * disp-table.el (describe-current-display-table):
533 * doc-view.el (doc-view-insert-image):
534 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
535 * ehelp.el (with-electric-help):
536 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
537 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
538 * emacs-lisp/helper.el (Helper-help-scroller):
539 * emulation/cua-base.el (cua--post-command-handler-1):
540 * eshell/esh-mode.el (eshell-output-filter):
541 * ffap.el (ffap-gnus-wrapper):
542 * help-macro.el (make-help-screen):
543 * hilit-chg.el (highlight-compare-buffers):
544 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
545 * hl-line.el (global-hl-line-highlight):
546 * icomplete.el (icomplete-simple-completing-p):
547 * isearch.el (isearch-done):
548 * jit-lock.el (jit-lock-stealth-fontify):
549 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
550 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
551 * mpc.el (mpc-tagbrowser, mpc):
552 * net/rcirc.el (rcirc-any-buffer):
553 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
554 * play/landmark.el (landmark-max-width, landmark-max-height):
555 * play/zone.el (zone):
556 * progmodes/compile.el (compilation-goto-locus):
557 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
558 * progmodes/etags.el (find-tag-other-window):
559 * progmodes/fortran.el (fortran-column-ruler):
560 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
561 * progmodes/verilog-mode.el (verilog-point-text):
562 * reposition.el (reposition-window):
563 * rot13.el (toggle-rot13-mode):
564 * server.el (server-switch-buffer):
565 * shell.el (shell-dynamic-complete-command)
566 (shell-dynamic-complete-environment-variable):
567 * simple.el (insert-buffer, set-selective-display)
568 (delete-completion-window):
569 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
571 * startup.el (fancy-splash-head):
572 * textmodes/ispell.el (ispell-command-loop):
573 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
574 * tutorial.el (help-with-tutorial):
575 * vc/add-log.el (add-change-log-entry):
576 * vc/compare-w.el (compare-windows):
577 * vc/ediff-help.el (ediff-indent-help-message):
578 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
579 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
580 (ediff-setup-control-frame):
581 * vc/emerge.el (emerge-position-region):
582 * vc/pcvs-util.el (cvs-bury-buffer):
583 * window.el (walk-windows, mouse-autoselect-window-select):
584 * winner.el (winner-set-conf, winner-undo): Related users changed.
586 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
588 * frameset.el (frameset--set-id): Doc fix.
589 (frameset-frame-id, frameset-frame-id-equal-p)
590 (frameset-locate-frame-id): New functions.
591 (frameset--process-minibuffer-frames, frameset--reuse-frame)
592 (frameset-restore): Use them.
594 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
596 Do not call to `selected-frame' where it is assumed by default.
597 Affected functions are `raise-frame', `redraw-frame',
598 `frame-first-window', `frame-terminal' and `delete-frame'.
599 * calendar/appt.el (appt-disp-window):
600 * epg.el (epg-wait-for-completion):
601 * follow.el (follow-delete-other-windows-and-split)
602 (follow-avoid-tail-recenter):
603 * international/mule.el (set-terminal-coding-system):
604 * mail/rmail.el (rmail-mail-return):
605 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
606 * progmodes/f90.el (f90-add-imenu-menu):
607 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
608 * server.el (server-switch-buffer):
609 * simple.el (delete-completion-window):
611 * term/xterm.el (terminal-init-xterm-modify-other-keys)
612 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
613 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
614 * vc/ediff.el (ediff-documentation): Related users changed.
615 * frame.el (selected-terminal): Remove the leftover.
617 2013-08-05 Glenn Morris <rgm@gnu.org>
619 * calendar/calendar.el (calendar-generate-month):
620 Fix for calendar-column-width != 1 + calendar-day-digit-width.
621 (calendar-generate-month, calendar-font-lock-keywords):
622 Fix for calendar-day-header-width > length of any day name.
624 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
626 * desktop.el (desktop-clear): Use new name of sort predicate.
628 * frameset.el (frameset): Add docstring. Move :version property to its
630 (frameset-copy): Rename from copy-frameset.
631 (frameset-p): Check more thoroughly.
632 (frameset-prop): Do not check for :version, which is no longer a prop.
633 (frameset-live-filter-alist, frameset-persistent-filter-alist):
634 Use new :never value instead of t.
635 (frameset-filter-alist): Expand and clarify docstring.
636 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
637 (frameset-filter-minibuffer, frameset-filter-save-param)
638 (frameset-filter-restore-param, frameset-filter-iconified):
639 Add pointer to docstring of frameset-filter-alist.
640 (frameset-filter-params): Rename filter values to be more meaningful:
641 :never instead of t, and reverse the meanings of :save and :restore.
642 (frameset--process-minibuffer-frames): Clarify error message.
643 (frameset-save): Avoid unnecessary and confusing call to framep.
644 Use new BOA constructor for framesets.
645 (frameset--reuse-list): Doc fix.
646 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
647 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
648 (frameset-minibufferless-first-p): Doc fix.
649 Rename from frameset-sort-frames-for-deletion.
650 (frameset-restore): Doc fixes. Use new function names.
651 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
653 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
655 * desktop.el (desktop-restore-forces-onscreen)
656 (desktop-restore-reuses-frames): Document :keyword constant values.
657 (desktop-filter-parameters-alist): Remove, now identical to
658 frameset-filter-alist.
659 (desktop--filter-tty*): Remove, moved to frameset.el.
660 (desktop-save-frameset, desktop-restore-frameset):
661 Do not pass :filters argument.
663 * frameset.el (frameset-live-filter-alist)
664 (frameset-persistent-filter-alist): New variables.
665 (frameset-filter-alist): Use them. Add autoload cookie.
666 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
667 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
668 `frameset--id' (it's supposed to be internal to frameset.el).
669 (frameset--process-minibuffer-frames): Ditto. Doc fix.
670 (frameset--initial-params): New function.
671 (frameset--get-frame): Use it. Doc fix.
672 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
673 Accept :all, not 'all.
674 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
675 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
676 with fbound symbols. Fix frame id matching, and remove matching ids if
677 the frame being restored is deleted. Obey :delete.
679 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
681 * subr.el (macrop): New function.
682 (text-clone--maintaining): New var.
683 (text-clone--maintain): Rename from text-clone-maintain. Use it
684 instead of inhibit-modification-hooks.
686 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
687 a proxy, so as handle autoloads and redefinitions of the target.
688 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
690 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
691 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
692 (pcase--mutually-exclusive-p): New function.
693 (pcase--split-consp): Use it.
694 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
695 mutually exclusive with the current predicate.
697 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
698 (edebug-macrop): Remove. Use `macrop' instead.
699 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
701 * eshell/esh-cmd.el (eshell-macrop):
702 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
704 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
706 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
707 (advice-mapc): New function, using it.
708 (advice-function-member-p): New function.
709 (advice--normalize): Store the cdr in advice--saved-rewrite since
710 that's the part that will be changed.
711 (advice--symbol-function): New function.
712 (advice-remove): Handle removal before the function is defined.
713 Adjust to new advice--saved-rewrite.
714 (advice-member-p): Use advice-function-member-p and
715 advice--symbol-function.
717 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
719 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
720 (frameset-filter-minibuffer): Doc fix.
721 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
722 (frameset--set-id, frameset--process-minibuffer-frames)
723 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
724 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
726 * desktop.el (desktop-clear): Only delete frames when called
727 interactively and desktop-restore-frames is non-nil. Doc fix.
728 (desktop-read): Set desktop-saved-frameset to nil.
730 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
732 * vc/vc.el (vc-ignore): Rewrite.
733 (vc-default-ignore-completion-table):
735 (vc--add-line, vc--remove-regexp): New functions.
737 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
738 (vc-svn-ignore-completion-table): New function.
740 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
741 (vc-hg-ignore-completion-table):
742 (vc-hg-find-ignore-file): New functions.
744 * vc/vc-git.el (vc-git-ignore): Rewrite.
745 (vc-git-ignore-completion-table):
746 (vc-git-find-ignore-file): New functions.
748 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
750 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
751 (vc-bzr-ignore-completion-table):
752 (vc-bzr-find-ignore-file): New functions.
754 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
756 * frameset.el (frameset-prop): New function and setter.
757 (frameset-save): Do not modify frame list passed by the caller.
759 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
761 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
763 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
765 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
766 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
768 * custom.el (custom-initialize-default, custom-initialize-set)
769 (custom-initialize-reset, custom-initialize-changed): Affect the
770 toplevel-default-value (bug#6275, bug#14586).
771 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
774 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
776 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
777 Add cl-def* expressions.
779 * frameset.el (frameset-filter-params): Fix order of arguments.
781 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
783 Move code related to saving frames to frameset.el.
784 * desktop.el: Require frameset.
785 (desktop-restore-frames): Doc fix.
786 (desktop-restore-reuses-frames): Rename from
787 desktop-restoring-reuses-frames.
788 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
789 (desktop-clear): Clear frames too.
790 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
791 (desktop--filter-tty*, desktop-save, desktop-read):
792 Use frameset functions.
793 (desktop-before-saving-frames-functions, desktop--filter-*-color)
794 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
795 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
796 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
797 (desktop--process-minibuffer-frames, desktop-save-frames)
798 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
799 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
800 (desktop--sort-states, desktop-restoring-frames-p)
801 (desktop-restore-frames): Remove. Most code moved to frameset.el.
802 (desktop-restoring-frameset-p, desktop-restore-frameset)
803 (desktop--check-dont-save, desktop-save-frameset): New functions.
804 (desktop--app-id): New constant.
805 (desktop-first-buffer, desktop-buffer-ok-count)
806 (desktop-buffer-fail-count): Move before first use.
807 * frameset.el: New file.
809 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
811 * files.el: Use lexical-binding.
812 (dir-locals-read-from-file): Remove unused `err' variable.
813 (hack-dir-local-variables--warned-coding): New var.
814 (hack-dir-local-variables): Use it to avoid repeated warnings.
815 (make-backup-file-name--default-function): New function.
816 (make-backup-file-name-function): Use it as default.
817 (buffer-stale--default-function): New function.
818 (buffer-stale-function): Use it as default.
819 (revert-buffer-insert-file-contents--default-function): New function.
820 (revert-buffer-insert-file-contents-function): Use it as default.
821 (insert-directory): Avoid add-to-list.
823 * autorevert.el (auto-revert-handler): Simplify.
824 Use buffer-stale--default-function.
826 2013-08-01 Tassilo Horn <tsdh@gnu.org>
828 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
830 * whitespace.el (whitespace-ensure-local-variables): New function.
831 (whitespace-cleanup-region): Call it.
832 (whitespace-turn-on): Call it.
834 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
836 Complete file name handlers.
838 * net/tramp.el (tramp-handle-set-visited-file-modtime)
839 (tramp-handle-verify-visited-file-modtime)
840 (tramp-handle-file-notify-rm-watch): New functions.
841 (tramp-call-process): Do not bind `default-directory'.
843 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
844 Order alphabetically.
845 [access-file, add-name-to-file, dired-call-process]:
846 [dired-compress-file, file-acl, file-notify-rm-watch]:
847 [file-ownership-preserved-p, file-selinux-context]:
848 [make-directory-internal, make-symbolic-link, set-file-acl]:
849 [set-file-selinux-context, set-visited-file-modtime]:
850 [verify-visited-file-modtime]: Add handler.
851 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
853 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
854 [file-notify-add-watch, file-notify-rm-watch]:
855 [set-file-times, set-visited-file-modtime]:
856 [verify-visited-file-modtime]: Add handler.
857 (with-tramp-gvfs-error-message)
858 (tramp-gvfs-handle-set-visited-file-modtime)
859 (tramp-gvfs-fuse-file-name): Remove.
860 (tramp-gvfs-handle-file-notify-add-watch)
861 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
862 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
864 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
865 Order alphabetically.
866 [file-notify-rm-watch ]: Use default Tramp handler.
867 [executable-find]: Remove private handler.
868 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
870 (tramp-sh-handle-executable-find)
871 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
872 (tramp-sh-file-gvfs-monitor-dir-process-filter)
873 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
874 Do not use `format' in `tramp-message'.
876 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
877 [file-notify-rm-watch, set-visited-file-modtime]:
878 [verify-visited-file-modtime]: Add handler.
879 (tramp-smb-call-winexe): Do not bind `default-directory'.
881 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
883 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
885 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
887 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
889 (log-view-diff-changeset): Same.
890 (log-view-diff-common): Call backend command `previous-revision'
891 to find out the previous revision, in both cases. Swap the
892 variables `to' and `fr', so that `fr' usually refers to the
893 earlier revision (Bug#14989).
895 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
897 * ibuf-ext.el (ibuffer-filter-by-filename):
898 Make it work with dired buffers too.
900 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
902 * emacs-lisp/re-builder.el (reb-color-display-p):
903 * files.el (save-buffers-kill-terminal):
904 * net/browse-url.el (browse-url):
905 * server.el (server-save-buffers-kill-terminal):
906 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
907 Prefer nil to selected-frame for the first arg of frame-parameter.
909 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
911 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
913 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
915 * minibuffer.el (completion--twq-all): Try and preserve each
916 completion's case choice (bug#14907).
918 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
920 * net/network-stream.el (open-network-stream): Mention the new
921 :nogreeting parameter.
922 (network-stream-open-starttls): Use the :nogreeting parameter
925 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
927 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
928 more natural than popping.
930 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
931 (shr-urlify): Highlight under mouse.
933 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
935 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
937 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
939 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
942 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
943 point-min==1. Fix search string. Fix parentheses missing.
945 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
946 assume point-min==1. Fix search string. Fix parentheses missing.
948 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
950 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
953 2013-07-29 Eli Zaretskii <eliz@gnu.org>
955 * frame.el (frame-notice-user-settings): Avoid inflooping when the
956 initial frame is minibuffer-less. (Bug#14841)
958 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
960 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
963 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
964 (tramp-maybe-open-connection): Use it.
966 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
968 * desktop.el (desktop--make-frame): Include `minibuffer' in the
969 minimal set of parameters passed when creating a frame, because
970 the minibuffer status of a frame cannot be changed later.
972 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
974 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
975 replace-regexp-in-string and inadvertent omissions in previous change.
976 (todo-filter-items): Ensure only file names are comma-separated in
977 name of filtered items buffer.
979 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
981 * desktop.el: Optionally force offscreen frames back onscreen.
982 (desktop-restoring-reuses-frames): New option.
983 (desktop--compute-pos, desktop--move-onscreen): New functions.
984 (desktop--make-frame): Use desktop--move-onscreen.
986 2013-07-27 Alan Mackenzie <acm@muc.de>
988 Fontify a Java generic method as a function.
989 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
992 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
994 * calendar/todo-mode.el: Add command to rename todo files.
995 (todo-rename-file): New command.
996 (todo-key-bindings-t): Add key binding for it. Change the
997 bindings of todo-filter-regexp-items(-multifile) to use `x'
998 instead of `r', since the latter is better suited to the new
1001 2013-07-27 Alan Mackenzie <acm@muc.de>
1003 Make Java try-with-resources statement parse properly.
1004 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1005 (c-block-stmt-1-2-key): New language constants/variables.
1006 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1007 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1008 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
1009 with c-block-stmt-1-2-key.
1011 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
1013 * desktop.el (desktop--make-frame): Apply most frame parameters after
1014 creating the frame to force (partially or totally) offscreen frames to
1015 be restored as such.
1017 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1019 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
1022 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1024 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1025 `base' arg of backtrace-frame.
1027 2013-07-26 Eli Zaretskii <eliz@gnu.org>
1029 * simple.el (list-processes): Doc fix.
1031 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1033 * desktop.el (desktop--select-frame):
1034 Try harder to reuse existing frames.
1036 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1038 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1039 (edebug-eval): Use backtrace-eval.
1040 (edebug--display, edebug--recursive-edit): Don't let-bind the
1041 edebug-outer-* vars that keep track of variables we locally let-bind.
1042 (edebug-outside-excursion): Don't restore outside values of locally
1044 (edebug--display): Use user-error.
1045 (cl-lexical-debug, cl-debug-env): Remove.
1047 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1049 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1050 are restored to be sure that they are visible before deleting any
1053 2013-07-26 Matthias Meulien <orontee@gmail.com>
1055 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1056 vc-print-root-log. (Bug#14948)
1058 2013-07-26 Richard Stallman <rms@gnu.org>
1060 Add aliases for encrypting mail.
1061 * epa.el (epa-mail-aliases): New option.
1062 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1063 Bind inhibit-read-only so read-only text doesn't ruin everything.
1064 (epa-mail-default-recipients): New subroutine broken out.
1065 Handle epa-mail-aliases.
1067 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1069 Add support for lexical variables to the debugger's `e' command.
1070 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1071 vars, except for debugger-outer-match-data.
1072 (debugger-frame-number): Move check for "on a function call" from
1073 callers into it. Add `skip-base' argument.
1074 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1075 (debugger-env-macro): Only reset the state stored in non-variables,
1076 i.e. current-buffer and match-data.
1077 (debugger-eval-expression): Rewrite using backtrace-eval.
1078 * subr.el (internal--called-interactively-p--get-frame): Remove.
1079 (called-interactively-p):
1080 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1081 `base' arg of backtrace-frame instead.
1083 2013-07-26 Glenn Morris <rgm@gnu.org>
1085 * align.el (align-regexp): Doc fix. (Bug#14857)
1086 (align-region): Explicit error if subexpression missing/does not match.
1088 * simple.el (global-visual-line-mode):
1089 Do not duplicate the mode lighter. (Bug#14858)
1091 2013-07-25 Martin Rudalics <rudalics@gmx.at>
1093 * window.el (display-buffer): In display-buffer bind
1094 split-window-keep-point to t, bug#14829.
1096 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1098 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1099 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1100 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1101 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1103 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1104 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
1106 2013-07-25 Glenn Morris <rgm@gnu.org>
1108 * dired-x.el (dired-mark-extension): Convert comment to doc string.
1110 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1112 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1113 parameter to modify-frame-parameters if the value has not changed;
1114 this is a workaround for bug#14949.
1115 (desktop--make-frame): On cl-delete-if call, check parameter name,
1118 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1120 * vc/vc.el (vc-ignore): New function.
1122 * vc/vc-svn.el (vc-svn-ignore): New function.
1124 * vc/vc-hg.el (vc-hg-ignore): New function.
1126 * vc/vc-git.el (vc-git-ignore): New function.
1128 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1129 (vc-dir-ignore): New function.
1131 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1132 (cvs-append-to-ignore): Move here from pcvs.el.
1134 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1136 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1138 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
1140 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1141 (desktop-restore-frames): Warn when deleting an existing frame failed.
1143 2013-07-24 Glenn Morris <rgm@gnu.org>
1145 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1147 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
1149 * filenotify.el (file-notify-supported-p):
1150 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1153 * autorevert.el (auto-revert-use-notify):
1154 (auto-revert-notify-add-watch):
1155 * net/tramp.el (tramp-file-name-for-operation):
1156 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1157 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1158 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1159 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1160 Remove `file-notify-supported-p' entry.
1162 2013-07-24 Glenn Morris <rgm@gnu.org>
1164 * printing.el: Replace all uses of deleted ps-windows-system,
1165 ps-lp-system, ps-flatten-list with lpr- versions.
1167 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1169 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1170 checked with memq (bug#14935).
1172 * files.el (revert-buffer-function): Use a non-nil default.
1173 (revert-buffer-preserve-modes): Declare var to
1174 provide access to the `preserve-modes' argument.
1175 (revert-buffer): Let-bind it.
1176 (revert-buffer--default): New function, extracted from revert-buffer.
1178 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * lpr.el: Signal print errors more prominently.
1181 (print-region-function): Don't default to nil.
1182 (lpr-print-region): New function, extracted from print-region-1.
1183 Check lpr's return value and signal an error in case of problem.
1184 (print-region-1): Use it.
1185 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1187 (ps-printer-name): Default to nil.
1188 (ps-printer-name-option): Default to lpr-printer-switch.
1189 (ps-print-region-function): Don't default to nil.
1190 (ps-postscript-code-directory): Simplify default.
1191 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1192 (ps-string-list, ps-eval-switch, ps-flatten-list)
1193 (ps-flatten-list-1): Remove.
1194 (ps-multibyte-buffer): Avoid setq.
1195 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1196 (print-region-function, ps-print-region-function): Don't set them here.
1198 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1200 * ido.el (ido-fractionp):
1201 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1202 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1203 (ido-max-directory-size, ido-max-dir-file-cache)
1204 (ido-decorations): Doc fix.
1206 * ansi-color.el: Fix old URL.
1208 2013-07-23 Michael R. Mauger <michael@mauger.com>
1210 * progmodes/sql.el Version 3.3
1211 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1212 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1213 (sql-interactive-remove-continuation-prompt): Rewrite, use
1214 functions above. Fix continuation prompt and complete output line
1216 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1217 redirected output buffer.
1218 (sql-mode): Restore deleted code (Bug#13591).
1220 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1222 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1224 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
1226 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1228 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1229 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1230 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1232 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1234 * desktop.el (desktop-clear): Simplify; remove useless checks
1235 against invalid buffer names.
1236 (desktop-list*): Use cl-list*.
1237 (desktop-buffer-info, desktop-create-buffer): Simplify.
1239 2013-07-23 Leo Liu <sdl.web@gmail.com>
1241 * bookmark.el (bookmark-make-record): Restore NAME as a default
1244 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1246 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1247 extracted from autoload--insert-text.
1248 (autoload--insert-text): Remove.
1249 (autoload--print-cookie-text): New function, extracted from
1250 autoload--insert-cookie-text.
1251 (autoload--insert-cookie-text): Remove.
1252 (autoload-generate-file-autoloads): Adjust calls accordingly.
1254 * winner.el (winner-hook-installed-p): Remove.
1255 (winner-mode): Simplify accordingly.
1257 * subr.el (add-to-list): Fix compiler-macro when `append' is
1258 not constant. Don't use `cl-member' for the base case.
1260 * progmodes/subword.el: Fix boundary case (bug#13758).
1261 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1263 (subword-backward-regexp): Make it a constant.
1264 (subword-forward-internal): Don't treat a trailing capital as the
1265 beginning of a word.
1267 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1269 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1270 global value of tabulated-list-revert-hook (bug#14930).
1272 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
1274 * desktop.el: Require 'cl-lib.
1275 (desktop-before-saving-frames-functions): New hook.
1276 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1277 for frames being saved. Rename from desktop--save-minibuffer-frames.
1278 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1279 Do not save frames with non-nil `desktop-dont-save' parameter.
1280 Filter out deleted frames.
1281 (desktop--find-frame): Use cl-find-if.
1282 (desktop--select-frame): Use cl-(first|second|third) to access values
1284 (desktop--make-frame): Use cl-delete-if.
1285 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1286 (desktop-restore-frames): Use cl-(first|second|third) to access values
1287 of desktop-mini. Look for visible frame at the end, not while
1290 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1291 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1292 Use string-match-p, looking-at-p (bug#14927).
1294 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1296 * desktop.el (desktop-saved-frame-states):
1297 Rename from desktop--saved-states; all users changed.
1298 (desktop-save-frames): Rename from desktop--save-frames.
1299 Do not save state to desktop file.
1300 (desktop-save): Save desktop-saved-frame-states to desktop file
1302 (desktop-restoring-frames-p): New function.
1303 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1304 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1305 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1307 * desktop.el: Correctly restore iconified frames.
1308 (desktop--filter-iconified-position): New function.
1309 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1311 2013-07-20 Glenn Morris <rgm@gnu.org>
1313 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1314 Let `message' do the formatting.
1315 (def-gdb-preempt-display-buffer): Add explicit format.
1317 * image-dired.el (image-dired-track-original-file):
1318 Use with-current-buffer.
1319 (image-dired-track-thumbnail): Use with-current-buffer.
1320 Avoid changing point of wrong window.
1322 * image-dired.el (image-dired-track-original-file):
1323 Avoid changing point of wrong window. (Bug#14909)
1325 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1327 * progmodes/gdb-mi.el (gdb-done-or-error):
1328 Guard against "%" in gdb output. (Bug#14127)
1330 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1332 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1335 * international/mule.el (coding-system-iso-2022-flags): Fix last
1338 2013-07-20 Kenichi Handa <handa@gnu.org>
1340 * international/mule.el (coding-system-iso-2022-flags):
1341 Add `8-bit-level-4'. (Bug#8522)
1343 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1345 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1348 * net/eww.el (eww-process-text-input): Allow inputting when the
1349 point is at the start of the line, as the properties aren't
1352 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1355 2013-07-19 Richard Stallman <rms@gnu.org>
1357 * epa.el (epa-popup-info-window): Doc fix.
1359 * subr.el (split-string): New arg TRIM.
1361 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1363 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1364 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1366 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1368 * filenotify.el (file-notify--library): Rename from
1369 `file-notify-support'. Do not autoload. Adapt all uses.
1370 (file-notify-supported-p): New defun.
1372 * autorevert.el (auto-revert-use-notify):
1373 Use `file-notify-supported-p' instead of `file-notify-support'.
1375 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1377 * net/tramp.el (tramp-file-name-for-operation):
1378 Add `file-notify-supported-p'.
1380 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1382 (tramp-sh-file-name-handler-alist): Add it as handler for
1383 `file-notify-supported-p '.
1385 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1386 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1387 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1388 Add `ignore' as handler for `file-notify-*' functions.
1390 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1392 * simple.el (line-move-partial, line-move): Don't start vscroll or
1393 scroll-up if the current line is not taller than the window.
1396 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1398 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1399 highlight question marks in the method names as strings.
1400 (ruby-block-beg-keywords): Inline.
1401 (ruby-font-lock-keyword-beg-re): Extract from
1402 `ruby-font-lock-keywords'.
1404 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1406 * frame.el (blink-cursor-blinks): New defcustom.
1407 (blink-cursor-blinks-done): New defvar.
1408 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1409 (blink-cursor-timer-function): Check if number of blinks has been
1411 (blink-cursor-suspend, blink-cursor-check): New defuns.
1413 2013-07-15 Glenn Morris <rgm@gnu.org>
1415 * edmacro.el (edmacro-format-keys): Fix previous change.
1417 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1419 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1420 The hack didn't work outside English locales anyway.
1422 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
1424 * simple.el (define-alternatives): Rename from alternatives-define,
1425 per RMS' suggestion.
1427 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
1429 * desktop.el (desktop-restore-frames): Change default to t.
1430 (desktop-restore-in-current-display): Now offer more options.
1431 (desktop-restoring-reuses-frames): New customization option.
1432 (desktop--saved-states): Doc fix.
1433 (desktop-filter-parameters-alist): New variable, renamed and expanded
1434 from desktop--excluded-frame-parameters.
1435 (desktop--target-display): New variable.
1436 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1437 (desktop--filter-tty*, desktop--filter-*-color)
1438 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1439 (desktop--filter-save-desktop-parm)
1440 (desktop-restore-in-original-display-p): New functions.
1441 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1442 (desktop--save-minibuffer-frames): New function, inspired by a similar
1443 function from Martin Rudalics.
1444 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1445 (desktop--restore-in-this-display-p): Remove.
1446 (desktop--find-frame): Rename from desktop--find-frame-in-display
1447 and add predicate argument.
1448 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1449 (desktop--reuse-list): New variable.
1450 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1452 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1454 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
1456 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1458 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1460 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1461 Highlight conversion methods on Kernel.
1463 2013-07-13 Alan Mackenzie <acm@muc.de>
1465 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1466 and comment it out. This out-commenting enables certain C++
1467 declarations to be parsed correctly.
1469 2013-07-13 Eli Zaretskii <eliz@gnu.org>
1471 * international/mule.el (define-coding-system): Doc fix.
1473 * simple.el (default-font-height): Don't call font-info if the
1474 frame's default font didn't change since the frame was created.
1477 2013-07-13 Leo Liu <sdl.web@gmail.com>
1479 * ido.el (ido-read-file-name): Guard against non-symbol value.
1481 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1483 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1486 2013-07-13 Leo Liu <sdl.web@gmail.com>
1488 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1489 ido-set-matches call. (Bug#6852)
1491 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1493 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1494 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1496 (ruby-font-lock-keywords): Distinguish calls to functions with
1497 module-like names from module references. Highlight character
1500 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1502 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1503 (gdb-send): Handle continued commands. (Bug#14847)
1505 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1507 * desktop.el (desktop--v2s): Remove unused local variable.
1508 (desktop-save-buffer): Make defvar-local; adjust docstring.
1509 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1510 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1512 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1514 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1516 2013-07-12 Eli Zaretskii <eliz@gnu.org>
1518 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1521 2013-07-12 Glenn Morris <rgm@gnu.org>
1523 * doc-view.el: Require cl-lib at runtime too.
1524 (doc-view-remove-if): Remove.
1525 (doc-view-search-next-match, doc-view-search-previous-match):
1528 * edmacro.el: Require cl-lib at runtime too.
1529 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1530 (edmacro-mismatch, edmacro-subseq): Remove.
1532 * shadowfile.el: Require cl-lib.
1533 (shadow-remove-if): Remove.
1534 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1537 * wid-edit.el: Require cl-lib.
1538 (widget-choose): Use cl-remove-if.
1539 (widget-remove-if): Remove.
1541 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1542 (ebrowse-delete-if-not): Remove.
1543 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1544 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1545 Use cl-delete-if-not.
1547 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1549 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1550 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1552 2013-07-12 Leo Liu <sdl.web@gmail.com>
1554 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1556 2013-07-11 Glenn Morris <rgm@gnu.org>
1558 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1559 (edebug-gensym-index, edebug-gensym):
1560 Remove reimplementation of cl-gensym.
1561 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1563 * thumbs.el: Require cl-lib at run-time too.
1564 (thumbs-gensym-counter, thumbs-gensym):
1565 Remove reimplementation of cl-gensym.
1566 (thumbs-temp-file): Use cl-gensym.
1568 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1569 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1570 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1571 (ert--union, ert--gensym-counter, ert--gensym-counter)
1572 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1573 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1574 (ert-make-test-unbound, ert--expand-should-1)
1575 (ert--expand-should, ert--should-error-handle-error)
1576 (should-error, ert--explain-equal-rec)
1577 (ert--plist-difference-explanation, ert-select-tests)
1578 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1579 Use cl-lib functions rather than reimplementations.
1581 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
1583 * net/tramp.el (tramp-methods): Extend docstring.
1584 (tramp-connection-timeout): New defcustom.
1585 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1586 (with-tramp-progress-reporter): Simplify.
1587 (tramp-process-actions): Improve messages.
1589 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1590 * net/tramp-sh.el (tramp-maybe-open-connection):
1591 Use `tramp-connection-timeout'.
1592 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1595 2013-07-11 Leo Liu <sdl.web@gmail.com>
1597 * ido.el (ido-read-file-name): Conform to the requirements of
1598 read-file-name. (Bug#11861)
1599 (ido-read-directory-name): Conform to the requirements of
1600 read-directory-name.
1602 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
1604 * subr.el (delay-warning): New function.
1606 2013-07-10 Eli Zaretskii <eliz@gnu.org>
1608 * simple.el (default-line-height): New function.
1609 (line-move-partial, line-move): Use it instead of computing the
1611 (line-move-partial): Always compute ROWH. If the last line is
1612 partially-visible, but its text is completely visible, allow
1613 cursor to enter such a partially-visible line.
1615 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
1617 Improve error messages. (Bug#14808)
1619 * net/tramp.el (tramp-current-connection): New defvar, moved from
1621 (tramp-message-show-progress-reporter-message): Remove, not
1623 (tramp-error-with-buffer): Show message in minibuffer.
1624 Discard input before waiting. Reset connection timestamp.
1625 (with-tramp-progress-reporter): Improve messages.
1626 (tramp-process-actions): Use progress reporter. Delete process in
1627 case of error. Improve messages.
1629 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1630 Call `tramp-error-with-buffer' with vector and buffer.
1631 (tramp-current-connection): Remove.
1632 (tramp-maybe-open-connection): The car of
1633 `tramp-current-connection' are the first 3 slots of the vector.
1635 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1637 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1638 inside continued strings.
1640 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1642 Timestamp fixes for undo (Bug#14824).
1643 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1645 2013-07-10 Leo Liu <sdl.web@gmail.com>
1647 * files.el (require-final-newline): Allow safe local value.
1650 2013-07-09 Leo Liu <sdl.web@gmail.com>
1652 * ido.el (ido-read-directory-name): Handle fallback.
1653 (ido-read-file-name): Update DIR to ido-current-directory.
1655 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
1657 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1659 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1660 "autoload". Remove "warn lower camel case" section, previously
1661 commented out. Highlight negation char. Do not highlight the
1662 target in singleton method definitions.
1664 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1666 * faces.el (tty-setup-hook): Declare the hook.
1668 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1669 and detect when a guard/pred depends on local vars (bug#14773).
1670 (pcase--u1): Adjust caller.
1672 2013-07-08 Eli Zaretskii <eliz@gnu.org>
1674 * simple.el (line-move-partial, line-move): Account for
1676 (line-move-partial): Avoid setting vscroll when the last
1677 partially-visible line in window is of default height.
1679 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1681 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1684 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
1686 * subr.el (read-quoted-char): Remove unused local variable `char'.
1688 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1690 * ediff.el (ediff-version): Version update.
1691 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1692 (ediff-merge-with-ancestor-command, ediff-directories-command)
1693 (ediff-directories3-command, ediff-merge-directories-command)
1694 (ediff-merge-directories-with-ancestor-command): New functions.
1695 All are command-line interfaces to ediff: to facilitate calling
1696 Emacs with the appropriate ediff functions invoked.
1698 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1699 (viper-save-kill-buffer): Check if buffer is modified.
1701 * viper.el (viper-version): Version update.
1702 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1704 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1706 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1707 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1708 (viper-intercept-ESC-key): Simplify.
1709 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1710 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1711 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1712 (viper-setup-ESC-to-escape): New functions.
1713 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1714 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
1716 2013-07-07 Eli Zaretskii <eliz@gnu.org>
1718 * simple.el (default-font-height, window-screen-lines):
1720 (line-move, line-move-partial): Use them instead of
1721 frame-char-height and window-text-height. This makes scrolling
1722 text smoother when the buffer's default face uses a font that is
1723 different from the frame's default font.
1725 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1727 * files.el (write-file): Do not display confirm dialog for NS,
1728 it does its own dialog, which can't be cancelled (Bug#14578).
1730 2013-07-06 Eli Zaretskii <eliz@gnu.org>
1732 * simple.el (line-move-partial): Adjust the row returned by
1733 posn-at-point for the current window-vscroll. (Bug#14567)
1735 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
1737 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1738 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1741 2013-07-06 Martin Rudalics <rudalics@gmx.at>
1743 * window.el (window-state-put-stale-windows): New variable.
1744 (window--state-put-2): Save list of windows without matching buffer.
1745 (window-state-put): Remove "bufferless" windows if possible.
1747 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1749 * simple.el (alternatives-define): Remove leftover :group keyword.
1752 2013-07-06 Leo Liu <sdl.web@gmail.com>
1754 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1755 (ido-enable-virtual-buffers): New variable.
1756 (ido-buffer-internal, ido-toggle-virtual-buffers)
1757 (ido-make-buffer-list): Use it.
1758 (ido-exhibit): Support turning on and off virtual buffers
1761 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1763 * simple.el (alternatives-define): New macro.
1765 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1767 * subr.el (read-quoted-char): Use read-key.
1768 (sit-for): Let read-event decode tty input (bug#14782).
1770 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
1772 * calendar/todo-mode.el: Add handling of file deletion, both by
1773 mode command and externally. Fix various related bugs.
1774 Clarify Commentary and improve some documentation strings and code.
1775 (todo-delete-file): New command.
1776 (todo-check-file): New function.
1777 (todo-show): Handle external deletion of the file we're trying to
1778 show (bug#14688). Replace called-interactively-p by an optional
1779 prefix argument to avoid problematic interaction with catch form
1780 when byte compiled (bug#14702).
1781 (todo-quit): Handle external deletion of the archive's todo file.
1782 Make sure the buffer that was visiting the archive file is still
1783 live before trying to bury it.
1784 (todo-category-completions): Handle external deletion of any
1785 category completion files.
1786 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1787 of todo files, in case of external deletion.
1788 (todo-add-file): Replace unnecessary setq by let-binding.
1789 (todo-find-archive): Check whether there are any archives.
1790 Replace unnecessary setq by let-binding.
1791 (todo-archive-done-item): Use find-file-noselect to get the
1792 archive buffer whether or not the archive already exists.
1793 Remove superfluous code. Use file size instead of buffer-file-name to
1794 check if the archive is new; if it is, update list of archives.
1795 (todo-default-todo-file): Allow nil to be a valid value for when
1796 there are no todo files.
1797 (todo-reevaluate-default-file-defcustom): Use corrected definition
1798 of todo-default-todo-file.
1799 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1800 (todo-delete-category, todo-show-categories-table)
1801 (todo-category-number): Clarify comment.
1802 (todo-filter-items): Clarify documentation string.
1803 (todo-show-current-file, todo-display-as-todo-file)
1804 (todo-reset-and-enable-done-separator): Tweak documentation string.
1805 (todo-done-separator): Make separator length window-width, since
1806 bug#2749 is now fixed.
1808 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
1810 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1811 Support both "gvfs-monitor-dir" and "inotifywait".
1812 (tramp-sh-file-inotifywait-process-filter): Rename from
1813 `tramp-sh-file-notify-process-filter'.
1814 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1815 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1817 2013-07-05 Leo Liu <sdl.web@gmail.com>
1819 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1821 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1823 * frame.el (display-pixel-height, display-pixel-width)
1824 (display-mm-height, display-mm-width): Mention behavior on
1825 multi-monitor setups in docstrings.
1826 (w32-display-monitor-attributes-list): Declare function.
1827 (display-monitor-attributes-list): Use it.
1829 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
1831 * filenotify.el: New package.
1833 * autorevert.el (top): Require filenotify.el.
1834 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1836 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1837 (auto-revert-notify-handler): Use `file-notify-*' functions.
1839 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1841 * net/tramp.el (tramp-file-name-for-operation):
1842 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1844 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1845 for `file-notify-add-watch' and `file-notify-rm-watch'.
1846 (tramp-process-sentinel): Improve trace.
1847 (tramp-sh-handle-file-notify-add-watch)
1848 (tramp-sh-file-notify-process-filter)
1849 (tramp-sh-handle-file-notify-rm-watch)
1850 (tramp-get-remote-inotifywait): New defuns.
1852 2013-07-03 Juri Linkov <juri@jurta.org>
1854 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1855 call of `occur-read-primary-args' to interactive spec.
1857 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1858 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1860 2013-07-03 Matthias Meulien <orontee@gmail.com>
1862 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1863 `Buffer-menu-multi-occur'. Add it to the menu.
1864 (Buffer-menu-mode): Document it in docstring.
1865 (Buffer-menu-multi-occur): New command. (Bug#14673)
1867 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1869 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1870 keywords and built-ins.
1872 2013-07-03 Glenn Morris <rgm@gnu.org>
1874 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1876 Make info-xref checks case-sensitive by default
1877 * info.el (Info-find-node, Info-find-in-tag-table)
1878 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1879 Add option for exact case matching of nodes.
1880 * info-xref.el (info-xref): New custom group.
1881 (info-xref-case-fold): New option.
1882 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1884 2013-07-03 Leo Liu <sdl.web@gmail.com>
1886 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1888 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1890 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1891 middle of block statement initially, lower the depth. Remove
1892 FIXME comment, not longer valid. Remove middle of block statement
1893 detection, no need to do that anymore since we've been using
1894 `ruby-parse-region' here.
1896 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1898 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1900 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
1902 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1904 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
1906 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1907 (desktop-restore-in-current-display): New customization option.
1908 (desktop--excluded-frame-parameters): Add `font'.
1909 (desktop--save-frames): Rename from desktop--save-windows.
1910 (desktop--restore-in-this-display-p): New function.
1911 (desktop--make-full-frame): Remove unwanted width/height from
1912 full(width|height) frames.
1913 (desktop--restore-frames): Rename from desktop--restore-windows.
1914 Obey desktop-restore-current-display. Do not delete old frames or
1915 select a new frame unless we were able to restore at least one frame.
1917 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
1919 * files.el (find-file-noselect): Simplify conditional expression.
1921 * remember.el (remember-append-to-file):
1922 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1924 Add `remember-notes' function to store random notes across Emacs
1926 * remember.el (remember-data-file): Add :set callback to affect
1927 notes buffer (if any).
1928 (remember-notes): New command.
1929 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1930 New defcustoms for the `remember-notes' function.
1931 (remember-notes-save-and-bury-buffer): New command.
1932 (remember-notes-mode-map): New variable.
1933 (remember-mode): New minor mode.
1934 (remember-notes--kill-buffer-query): New function.
1935 * startup.el (initial-buffer-choice): Add notes to custom type.
1937 2013-06-30 Eli Zaretskii <eliz@gnu.org>
1939 * bindings.el (right-char, left-char): Don't call sit-for, this is
1940 no longer needed. Use arithmetic comparison only for numerical
1943 * international/mule-cmds.el (select-safe-coding-system):
1944 Handle the case of FROM being a string correctly. (Bug#14755)
1946 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1948 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1949 progression on degenerate tables.
1950 (shr-rescale-image): ImageMagick animated images currently don't work.
1952 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
1954 Some fixes and improvements for desktop frame restoration.
1955 It is still experimental and disabled by default.
1956 * desktop.el (desktop--save-windows): Put the selected frame at
1957 the head of the list.
1958 (desktop--make-full-frame): New function.
1959 (desktop--restore-windows): Try to re-select the frame that was
1960 selected upon saving. Do not abort if some frames fail to restore,
1961 just show an error message and continue. Set up maximized frames
1962 so they have default non-maximized dimensions.
1964 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1966 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1967 Don't start heredoc inside a string or comment.
1969 2013-06-29 Eli Zaretskii <eliz@gnu.org>
1971 * bindings.el (visual-order-cursor-movement): New defcustom.
1972 (right-char, left-char): Provide visual-order cursor motion by
1973 calling move-point-visually. Update the doc strings.
1975 2013-06-28 Kenichi Handa <handa@gnu.org>
1977 * international/mule.el (define-coding-system): New coding system
1978 properties :inhibit-null-byte-detection,
1979 :inhibit-iso-escape-detection, and :prefer-utf-8.
1980 (set-buffer-file-coding-system): If :charset-list property of
1981 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1982 appropriate for setting.
1984 * international/mule-cmds.el (select-safe-coding-system):
1985 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1986 multibyte characters, return utf-8 (or one of its siblings).
1988 * international/mule-conf.el (prefer-utf-8): New coding system.
1989 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1992 2013-06-28 Ivan Kanis <ivan@kanis.fr>
1994 * net/shr.el (shr-render-region): New function.
1996 * net/eww.el: Autoload `eww-browse-url'.
1998 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2000 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2001 Adapt to `package-desc-version' being a list.
2002 Use `package--ac-desc-version' to retrieve version from a package
2005 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
2007 New experimental feature to save&restore window and frame setup.
2008 * desktop.el (desktop-save-windows): New defcustom.
2009 (desktop--saved-states): New var.
2010 (desktop--excluded-frame-parameters): New defconst.
2011 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2012 (desktop--restore-windows, desktop--save-windows): New functions.
2013 (desktop-save): Call `desktop--save-windows'.
2014 (desktop-read): Call `desktop--restore-windows'.
2016 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2018 * net/shr.el (add-face-text-property): Remove compat definition.
2020 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2022 * info.el (Info-try-follow-nearest-node): Move search for footnote
2023 above search for node name to prevent missing a footnote (bug#14717).
2025 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2027 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2029 2013-06-27 Leo Liu <sdl.web@gmail.com>
2031 * net/eww.el (eww-read-bookmarks): Check file size.
2033 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2035 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2036 advice--pending if newdef is nil or an autoload (bug#13820).
2037 (advice-mapc): New function.
2039 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2041 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2043 (eww-mode-map): Add a menu bar.
2044 (eww-add-bookmark): New command.
2045 (eww-bookmark-mode): New mode and commands.
2046 (eww-add-bookmark): Remove newlines from the title.
2047 (eww-bookmark-browse): Don't bug out if it's the only window.
2049 2013-06-26 Glenn Morris <rgm@gnu.org>
2051 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2052 (hfy-size): Handle ttys. (Bug#14668)
2054 * info-xref.el: Update for Texinfo 5 change in *note format.
2055 (info-xref-node-re, info-xref-note-re): New constants.
2056 (info-xref-check-buffer): Use info-xref-note-re.
2058 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2060 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2062 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2063 nil terminate the loop (bug#14718).
2065 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2067 * net/eww.el: Rework history traversal. When going forward/back,
2068 put these actions into the history, too, so that they can be
2070 (eww-render): Move the history reset to the correct buffer.
2072 2013-06-25 Juri Linkov <juri@jurta.org>
2074 * files-x.el (modify-dir-local-variable): Change the header comment
2075 in the file with directory local variables. (Bug#14692)
2077 * files-x.el (read-file-local-variable-value): Add `default'.
2080 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2082 * net/eww.el (eww-make-unique-file-name): Create a unique file
2083 name before saving to entering `y' accidentally asynchronously.
2085 2013-06-25 Ivan Kanis <ivan@kanis.fr>
2087 * net/eww.el (eww-download): New command and keystroke.
2089 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2091 * net/eww.el (eww-copy-page-url): Change name of command.
2093 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2094 be more consistent with Info and dired.
2096 * net/eww.el (eww-mode-map): Ditto.
2098 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2100 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2101 packages from archives.
2102 (package-archive-contents): Change format; include obsolete packages.
2103 (package-desc): Use `dir' to mark builtin packages.
2104 (package--from-builtin): Set the `dir' field to `builtin'.
2105 (generated-autoload-file, version-control): Declare.
2106 (package-compute-transaction): Change first arg and return value to be
2107 lists of package-descs. Adjust to new package-archive-contents format.
2108 (package--add-to-archive-contents): Adjust to new
2109 package-archive-contents format.
2110 (package-download-transaction): Arg is now a list of package-descs.
2111 (package-install): If `pkg' is a package name, pass it as
2112 a requirement, so it is subject to the usual (e.g. disabled) checks.
2113 (describe-package): Accept package-desc as well.
2114 (describe-package-1): Describe a specific package-desc. Add links to
2115 other package-descs for the same package name.
2116 (package-menu-describe-package): Pass the actual package-desc.
2117 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2119 (package-desc-status): New function.
2120 (package-menu--refresh): New function, extracted
2121 from package-menu--generate.
2122 (package-menu--generate): Use it.
2123 (package-delete): Update package-alist.
2124 (package-menu-execute): Don't call package-initialize.
2126 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2127 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2128 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2129 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2130 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2131 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2133 2013-06-25 Martin Rudalics <rudalics@gmx.at>
2135 * window.el (window--state-get-1): Workaround for bug#14527.
2136 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2138 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2140 * net/eww.el (eww-back-url): Implement the history by stashing all
2141 the data into a list.
2142 (eww-forward-url): Allow going forward in the history, too.
2144 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2146 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2147 for values and use read--expression for expressions (bug#14710).
2148 (read-file-local-variable): Avoid setq.
2149 (read-file-local-variable-mode): Use minor-mode-list.
2151 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2153 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
2156 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2158 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
2159 Update imenu-support when dialect changes.
2161 2013-06-25 Leo Liu <sdl.web@gmail.com>
2163 * ido.el (ido-read-internal): Allow forward slash on windows.
2165 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2167 * net/eww.el (eww): Start of strings is \\`, not ^.
2169 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2171 * net/shr.el (shr-browse-url): Fix interactive spec.
2173 * net/eww.el (eww): Add a trailing slash to domain names.
2175 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
2177 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2179 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2181 * net/shr.el (shr-browse-url): Use an external browser if given a
2184 * net/eww.el (eww-external-browser): Move to shr.
2186 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2188 * net/eww.el (eww): Work more correctly for file: URLs.
2189 (eww-detect-charset): Allow quoted charsets.
2190 (eww-yank-page-url): New command and keystroke.
2192 2013-06-24 Daiki Ueno <ueno@gnu.org>
2194 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2195 file name of gpg executable.
2196 (epg-context-program): New function.
2197 (epg-context-home-directory): New function.
2198 (epg-context-set-program): New function.
2199 (epg-context-set-home-directory): New function.
2200 (epg--start): Use `epg-context-program' instead of
2202 (epg--list-keys-1): Likewise.
2204 2013-06-24 Leo Liu <sdl.web@gmail.com>
2206 * ido.el (ido-read-internal): Fix bug#14620.
2208 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2210 * faces.el (face-documentation): Simplify.
2211 (read-face-attribute, tty-find-type, x-resolve-font-name):
2212 Use `string-match-p'.
2213 (list-faces-display): Use `string-match-p'. Simplify.
2214 (face-spec-recalc): Check face to avoid face alias loops.
2215 (read-color): Use `string-match-p' and non-capturing parenthesis.
2217 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2219 * net/shr.el (shr-rescale-image): Use the new
2220 :max-width/:max-height functionality.
2222 2013-06-23 Ivan Kanis <ivan@kanis.fr>
2224 * net/eww.el (eww-search-prefix): New variable.
2226 (eww-external-browser): New variable.
2227 (eww-mode-map): New keystroke.
2228 (eww-browse-with-external-browser): New command.
2230 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2232 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2234 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2235 Don't skip aligning the next header field when padding is 0;
2236 otherwise, field width is not respected unless the title is as
2239 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2241 * emacs-lisp/package.el (package-el-version): Remove.
2242 (package-process-define-package): Fix inf-loop.
2243 (package-install): Allow symbols as arguments again.
2245 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2247 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2248 add some more keyword-like methods.
2249 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2251 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2253 * bs.el (bs-buffer-show-mark): Make defvar-local.
2254 (bs-mode): Use setq-local.
2256 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2257 (emacs-lock--try-unlocking): Make defvar-local.
2259 2013-06-22 Glenn Morris <rgm@gnu.org>
2261 * play/cookie1.el (cookie-apropos): Minor simplification.
2263 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2265 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2267 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2268 `regexp-opt', it breaks the build during dumping.
2270 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2272 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2273 Highlight keyword-like methods on Kernel and Module with
2274 font-lock-builtin-face.
2275 (auto-mode-alist): Consolidate different entries into one regexp
2276 and add more *file-s.
2278 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2280 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2282 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2283 (diary-entry): Use it in the action of this button type instead of
2286 * calendar/todo-mode.el: New version.
2287 (todo-add-category): Append new category to end of file and give
2288 it the highest number, instead of putting it at the beginning and
2289 giving it 0. Incorporate noninteractive functionality.
2290 (todo-forward-category): Adapt to 1-based category numbering.
2291 Allow skipping over archived categories.
2292 (todo-backward-category): Derive from todo-forward-category.
2293 (todo-backward-item, todo-forward-item): Make noninteractive and
2294 delegate interactive part to new commands. Make sensitive to done items.
2295 (todo-categories): Make value an alist of category names and
2296 vectors of item counts.
2297 (todo-category-beg): Make a defconst.
2298 (todo-category-number): Use 1 instead of 0 as initial value.
2299 (todo-category-select): Make sensitive to overlays, optional item
2300 highlighting and done items.
2301 (todo-delete-item): Make sensitive to overlays and marked and done items.
2302 (todo-edit-item): Make sensitive to overlays and editing of
2303 date/time header optional. Add format checks.
2304 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2305 no-op if point is not on an item. Advertise using todo-edit-quit.
2306 (todo-edit-mode): Make sensitive to new format, font-locking, and
2307 multiple todo files.
2308 (todo-insert-item, todo-insert-item-here): Derive from
2309 todo-basic-insert-item and extend functionality.
2310 (todo-item-end, todo-item-start): Make sensitive to done items.
2311 (todo-item-string): Don't return text properties. Restore point.
2312 (todo-jump-to-category): Make sensitive to multiple todo files and
2313 todo archives. Use extended category completion.
2314 (todo-lower-item, todo-raise-item): Rename to *-priority and
2315 derive from todo-set-item-priority.
2316 (todo-mode): Derive from special-mode. Make sensitive to new
2317 format, font-locking and multiple todo files. Make read-only.
2318 (todo-mode-map): Don't suppress digit keys, so they can supply
2319 prefix arguments. Add many new key bindings.
2320 (todo-prefix): Insert as an overlay instead of file text.
2321 Change semantics from diary date expression to purely visual mark.
2322 (todo-print): Rename to todo-print-buffer. Make buffer display
2323 features printable. Remove option to restrict number of items
2324 printed. Add option to print to file.
2325 (todo-print-function): Rename to todo-print-buffer-function.
2326 (todo-quit): Extend to handle exiting new todo modes.
2327 (todo-remove-item): Make sensitive to overlays.
2328 (todo-save): Extend to buffers of filtered items.
2329 (todo-show): Make sensitive to done items, multiple todo files and
2330 new todo modes. Offer to convert legacy todo file before creating
2331 first new todo file.
2332 (todo-show-priorities): Rename to todo-top-priorities.
2333 Change semantics of value 0.
2334 (todo-top-priorities): Rename to todo-filter-top-priorities,
2335 derive from todo-filter-items and extend functionality.
2336 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2337 and extend functionality to other types of filtered items.
2338 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2339 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2340 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2341 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2342 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2343 (todo-edit-mode-hook, todo-entry-prefix-function)
2344 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2345 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2346 (todo-initials, todo-insert-threshold, todo-item-string-start)
2347 (todo-line-string, todo-menu, todo-mode-hook)
2348 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2349 (todo-print-priorities, todo-remove-separator)
2350 (todo-save-top-priorities-too, todo-string-count-lines)
2351 (todo-string-multiline-p, todo-time-string-format)
2352 (todo-tmp-buffer-name): Remove.
2353 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2354 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2355 (todo-edit-category-diary-inclusion)
2356 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2357 (todo-edit-file, todo-edit-item-date-day)
2358 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2359 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2360 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2361 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2362 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2363 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2364 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2365 (todo-filter-top-priorities-multifile, todo-find-archive)
2366 (todo-find-filtered-items-file, todo-go-to-source-item)
2367 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2368 (todo-jump-to-archive-category, todo-lower-category)
2369 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2370 (todo-move-category, todo-move-item, todo-next-button)
2371 (todo-next-item, todo-padded-string, todo-powerset)
2372 (todo-previous-button, todo-previous-item)
2373 (todo-print-buffer-to-file, todo-raise-category)
2374 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2375 (todo-set-category-number, todo-set-item-priority)
2376 (todo-set-top-priorities-in-category)
2377 (todo-set-top-priorities-in-file, todo-show-categories-table)
2378 (todo-sort-categories-alphabetically-or-numerically)
2379 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2380 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2381 (todo-toggle-item-header, todo-toggle-item-highlighting)
2382 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2383 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2384 (todo-unarchive-items, todo-unmark-category): New commands.
2385 (todo-absolute-file-name, todo-add-to-buffer-list)
2386 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2387 (todo-basic-insert-item, todo-category-completions)
2388 (todo-category-number, todo-category-string-matcher-1)
2389 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2390 (todo-check-format, todo-clear-matches)
2391 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2392 (todo-current-category, todo-date-string-matcher)
2393 (todo-define-insertion-command, todo-diary-expired-matcher)
2394 (todo-diary-goto-entry, todo-diary-item-p)
2395 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2396 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2397 (todo-done-item-section-p, todo-done-separator)
2398 (todo-done-string-matcher, todo-files, todo-filter-items)
2399 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2400 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2401 (todo-insert-category-line, todo-insert-item-from-calendar)
2402 (todo-insert-sort-button, todo-insert-with-overlays)
2403 (todo-insertion-command-name, todo-insertion-key-bindings)
2404 (todo-label-to-key, todo-longest-category-name-length)
2405 (todo-make-categories-list, todo-mode-external-set)
2406 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2407 (todo-modes-set-3, todo-multiple-filter-files)
2408 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2409 (todo-read-category, todo-read-date, todo-read-dayname)
2410 (todo-read-file-name, todo-read-time)
2411 (todo-reevaluate-category-completions-files-defcustom)
2412 (todo-reevaluate-default-file-defcustom)
2413 (todo-reevaluate-filelist-defcustoms)
2414 (todo-reevaluate-filter-files-defcustom)
2415 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2416 (todo-reset-done-separator, todo-reset-done-separator-string)
2417 (todo-reset-done-string, todo-reset-global-current-todo-file)
2418 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2419 (todo-reset-prefix, todo-set-categories)
2420 (todo-set-date-from-calendar, todo-set-show-current-file)
2421 (todo-set-top-priorities, todo-short-file-name)
2422 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2423 (todo-total-item-counts, todo-update-buffer-list)
2424 (todo-update-categories-display, todo-update-categories-sexp)
2425 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2427 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2429 (todo-categories, todo-display, todo-edit, todo-faces)
2430 (todo-filtered): New defgroups.
2431 (todo-archived-only, todo-button, todo-category-string, todo-date)
2432 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2433 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2434 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2435 (todo-add-item-if-new-category, todo-always-add-time-string)
2436 (todo-categories-align, todo-categories-archived-label)
2437 (todo-categories-category-label, todo-categories-diary-label)
2438 (todo-categories-done-label, todo-categories-number-separator)
2439 (todo-categories-todo-label, todo-categories-totals-label)
2440 (todo-category-completions-files, todo-completion-ignore-case)
2441 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2442 (todo-done-separator-string, todo-done-string)
2443 (todo-files-function, todo-filter-done-items, todo-filter-files)
2444 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2445 (todo-initial-category, todo-initial-file, todo-item-mark)
2446 (todo-legacy-date-time-regexp, todo-mode-line-function)
2447 (todo-nondiary-marker, todo-number-prefix)
2448 (todo-print-buffer-function, todo-show-current-file)
2449 (todo-show-done-only, todo-show-first, todo-show-with-done)
2450 (todo-skip-archived-categories, todo-top-priorities-overrides)
2451 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2452 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2454 (todo-category-done, todo-date-pattern, todo-date-string-start)
2455 (todo-diary-items-buffer, todo-done-string-start)
2456 (todo-filtered-items-buffer, todo-item-start)
2457 (todo-month-abbrev-array, todo-month-name-array)
2458 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2459 (todo-top-priorities-buffer): New defconsts.
2460 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2461 (todo-categories-with-marks, todo-category-string-face)
2462 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2463 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2464 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2465 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2466 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2467 (todo-font-lock-keywords, todo-global-current-todo-file)
2468 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2469 (todo-insertion-commands-args)
2470 (todo-insertion-commands-args-genlist)
2471 (todo-insertion-commands-names, todo-insertion-map)
2472 (todo-key-bindings-t, todo-key-bindings-t+a)
2473 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2474 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2475 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2476 (todo-visited): New variables.
2478 2013-06-21 Glenn Morris <rgm@gnu.org>
2480 * play/cookie1.el (cookie-apropos): Add optional display argument.
2481 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2482 (psychoanalyze-pinhead): Use cookie-doctor.
2484 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2486 * emacs-lisp/package.el (tar-get-file-descriptor)
2487 (tar--extract): Declare.
2489 2013-06-21 Eduard Wiebe <usenet@pusto.de>
2491 Extend flymake's warning predicate to be a function (bug#14217).
2492 * progmodes/flymake.el (flymake-warning-predicate): New.
2493 (flymake-parse-line): Use it.
2494 (flymake-warning-re): Make obsolete alias to
2495 `flymake-warning-predicate'.
2497 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2499 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2500 (package-obsolete-list): Remove.
2501 (package-activate): Remove min-version argument. Add `force' argument.
2502 Adjust to new package-alist format.
2503 (package-mark-obsolete): Remove.
2504 (package-unpack): Force reload of the package's autoloads.
2505 (package-installed-p): Check builtins if the installed package is not
2507 (package-initialize): Don't reset package-obsolete-list.
2508 Don't specify which package version to activate.
2509 (package-process-define-package, describe-package-1)
2510 (package-menu--generate): Adjust to new package-alist format.
2512 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2514 * allout-widgets.el (allout-widgets-mode-off)
2515 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2516 (allout-widgets-post-command-business)
2517 (allout-widgets-after-copy-or-kill-function)
2518 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2519 (allout-decorate-item-and-context)
2520 (allout-graphics-modification-handler): Fix typos in docstrings.
2521 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2523 * cmuscheme.el (scheme-start-file): Doc fix.
2524 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2525 (scheme-input-filter): Use `string-match-p'.
2527 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2529 * dired-x.el: Use Dired consistently in docstrings.
2531 * dired.el: Use Dired consistently in docstrings.
2532 (dired-readin, dired-mode): Use `setq-local'.
2533 (dired-switches-alist): Make defvar-local.
2534 (dired-buffers-for-dir): Use `zerop'.
2535 (dired-safe-switches-p, dired-switches-escape-p)
2536 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2537 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2538 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2539 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2540 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2541 (dired-toggle-marks, dired-mark-files-containing-regexp)
2542 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2543 (dired-flag-auto-save-files, dired-flag-backup-files):
2545 (dired-mark-files-regexp, dired-build-subdir-alist):
2546 Use `string-match-p', `looking-at-p'.
2548 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2549 (direct-print-region-helper): Use `string-match-p'.
2551 2013-06-21 Leo Liu <sdl.web@gmail.com>
2553 * comint.el (comint-redirect-results-list-from-process):
2556 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2558 * net/eww.el (eww-update-header-line-format): Quote % characters.
2560 2013-06-21 Glenn Morris <rgm@gnu.org>
2562 * play/cookie1.el (cookie): New custom group.
2563 (cookie-file): New option.
2564 (cookie-check-file): New function.
2565 (cookie): Make it interactive. Make start and end messages optional.
2566 Interactively, display the result. Default to cookie-file.
2567 (cookie-insert): Default to cookie-file.
2568 (cookie-snarf): Make start and end messages optional.
2569 Default to cookie-file. Use with-temp-buffer.
2570 (cookie-read): Rename from read-cookie.
2571 Make start and end messages optional. Default to cookie-file.
2572 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
2574 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2575 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2577 2013-06-21 Leo Liu <sdl.web@gmail.com>
2579 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2581 2013-06-21 Glenn Morris <rgm@gnu.org>
2583 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2585 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2586 Daniel Hackney <dan@haxney.org>
2588 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2589 Consolidate the single-file vs tarball code.
2590 (package-desc-suffix): New function.
2591 (package-desc-full-name): Don't bother inlining it.
2592 (package-load-descriptor): Return the new package-desc.
2593 (package-mark-obsolete): Remove unused arg `package'.
2594 (package-unpack): Make it work for single files as well.
2595 Make it update package-alist.
2596 (package--make-autoloads-and-stuff): Rename from
2597 package--make-autoloads-and-compile. Don't compile any more.
2598 (package--compile): New function.
2599 (package-generate-description-file): New function, extracted from
2600 package-unpack-single.
2601 (package-unpack-single): Remove.
2602 (package--with-work-buffer): Add indentation and debugging info.
2603 (package-download-single): Remove.
2604 (package-install-from-archive): Rename from package-download-tar, make
2605 it take a pkg-desc, and make it work for single files as well.
2606 (package-download-transaction): Simplify.
2607 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2608 external tar program.
2609 (package-install-from-buffer): Remove `pkg-desc' argument.
2610 Use package-tar-file-info for tar-mode buffers.
2611 (package-install-file): Simplify accordingly.
2612 (package-archive-base): Change to take a pkg-desc.
2613 * tar-mode.el (tar--check-descriptor): New function, extracted from
2615 (tar-get-descriptor): Use it.
2616 (tar-get-file-descriptor): New function.
2617 (tar--extract): New function, extracted from tar-extract.
2618 (tar--extract): Use it.
2619 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2620 case the summary uses non-ascii. Adjust to new calling convention of
2621 package-tar-file-info.
2623 2013-06-21 Leo Liu <sdl.web@gmail.com>
2625 * comint.el (comint-redirect-results-list-from-process):
2626 Fix random delay. (Bug#14681)
2628 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2630 * profiler.el (profiler-format-number): Use log, not log10.
2632 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2634 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2636 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2638 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2639 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2641 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2642 (AUTOGENEL): ... here.
2643 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2644 (cl--defsubst-expand): Use it.
2646 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2648 * subr.el (log10): Move here from C code, and declare as obsolete.
2649 All uses of (log10 X) replaced with (log X 10).
2651 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2653 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2654 Declare with `defvar-local'.
2655 (tabulated-list-use-header-line, tabulated-list-entries)
2656 (tabulated-list-padding, tabulated-list-printer)
2657 (tabulated-list-sort-key): Declare with `defvar-local'.
2658 (tabulated-list-init-header, tabulated-list-print-fake-header):
2661 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
2663 * arc-mode.el (archive-mode): Add `archive-write-file' to
2664 `write-contents-functions' also for remote files. (Bug#14652)
2666 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2668 * cus-edit.el (custom-commands): Fix typos.
2669 (custom-display): Fix tooltip text.
2670 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2671 Fix typos in docstrings.
2672 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2673 (custom-unlispify-menu-entry, custom-magic-value-create)
2674 (custom-add-see-also, custom-group-value-create): Use ?\s.
2675 (custom-guess-type, customize-apropos, editable-field)
2676 (custom-face-value-create): Use `string-match-p'.
2677 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2679 * custom.el (custom-load-symbol): Use `string-match-p'.
2681 * ansi-color.el: Convert to lexical binding.
2682 (ansi-colors): Fix URL.
2683 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2684 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2685 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2687 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2689 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2691 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2693 2013-06-19 Tom Tromey <tromey@redhat.com>
2695 * net/eww.el (eww-top-url): Remove.
2696 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2697 (eww-render): Set new variables. Don't set eww-top-url.
2698 (eww-handle-link): Handle "prev", "home", and "contents".
2699 Downcase the rel text.
2700 (eww-top-url): Choose best top URL.
2702 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2704 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2705 relying in widget.el. Using widget.el leads to too many
2706 user interface inconsistencies.
2707 (eww-self-insert): Implement entering commands in text fields.
2708 (eww-process-text-input): New function to make text input field editing
2710 (eww-submit): Rewrite to use the new-style form methods.
2711 (eww-select-display): Display the correct selected item.
2712 (eww-change-select): Implement changing the select value.
2713 (eww-toggle-checkbox): Implement radio/checkboxes.
2714 (eww-update-field): Fix compilation error.
2715 (eww-tag-textarea): Implement <textarea>.
2717 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2718 we don't shadow mode-specific bindings.
2720 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2723 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2725 2013-06-19 Glenn Morris <rgm@gnu.org>
2727 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2729 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2731 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2734 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2736 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2738 * net/browse-url.el (browse-url-browser-function):
2739 `eww-browse-url' has the right calling signature, `eww' does not.
2741 2013-06-19 Glenn Morris <rgm@gnu.org>
2743 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2744 Only eval autoloaded macros.
2745 (byte-compile-autoload): Only give the macro warning for macros.
2747 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2748 (ps-underlined-faces): Declare.
2750 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2751 (speedbar-add-supported-extension): Declare.
2753 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2754 Don't include a date stamp in the header of the generated file;
2755 it leads to needless differences between output files.
2757 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2759 * net/secrets.el (secrets-struct-secret-content-type):
2760 Replace check of introspection data by a test call of "CreateItem".
2761 Some servers do not offer introspection.
2763 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * electric.el (electric-pair-mode): Improve interaction with
2766 electric-layout-mode.
2767 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2768 (electric-pair-syntax): Use text-mode-syntax-table in comments
2770 (electric-pair--insert): New function.
2771 (electric-pair-post-self-insert-function): Use it and
2772 electric--after-char-pos.
2774 2013-06-19 Leo Liu <sdl.web@gmail.com>
2776 * progmodes/octave.el (octave-help): Fix regexp.
2778 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2780 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2781 (shr-table-horizontal-line): Allow nil as a value, and change the
2783 (shr-insert-table-ruler): Respect the nil value.
2785 2013-06-18 Tom Tromey <tromey@barimba>
2787 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2789 (eww-open-file): New defun.
2790 (eww-render): Initialize new variables.
2791 (eww-display-html): Handle "link" and "a".
2792 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2793 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2794 (eww-back-url): Rename from eww-previous-url.
2795 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2798 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2800 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2801 Distinguish ternary operator tokens from slash symbol and slash
2804 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2806 Convert symbol prettification into minor mode and global minor mode.
2808 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2809 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2810 (prettify-symbols--keywords): Rename from
2811 `prog-prettify-symbols-alist' and make a local defvar.
2812 (prettify-symbols--compose-symbol): Rename from
2813 `prog--prettify-font-lock-compose-symbol'.
2814 (prettify-symbols--make-keywords): Rename from
2815 `prog-prettify-font-lock-symbols-keywords' and simplify.
2816 (prog-prettify-install): Remove.
2817 (prettify-symbols-mode): New minor mode, based on
2818 `prog-prettify-install'.
2819 (turn-on-prettify-symbols-mode): New function.
2820 (global-prettify-symbols-mode): New globalized minor mode.
2822 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2823 * progmodes/cfengine.el (cfengine3-mode):
2824 * progmodes/perl-mode.el (perl-mode): Don't call
2825 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2827 2013-06-18 Juri Linkov <juri@jurta.org>
2829 * files-x.el (modify-file-local-variable-message): New function.
2830 (modify-file-local-variable)
2831 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2832 and call `modify-file-local-variable-message' when it's non-nil.
2833 (add-file-local-variable, delete-file-local-variable)
2834 (add-file-local-variable-prop-line)
2835 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2836 and use it. (Bug#9820)
2838 2013-06-18 Juri Linkov <juri@jurta.org>
2840 * emulation/vi.el (vi-shell-op):
2841 * emulation/vip.el (vip-execute-com, ex-command):
2842 * emulation/viper-cmd.el (viper-exec-bang):
2843 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2844 the call of `shell-command-on-region'. (Bug#14637)
2846 * simple.el (shell-command-on-region): Doc fix.
2848 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2850 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2853 2013-06-18 Glenn Morris <rgm@gnu.org>
2855 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2857 * newcomment.el (comment-search-forward, comment-search-backward):
2858 Doc fix. (Bug#14376)
2860 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2862 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2863 (buffer-face-mode-invoke): Doc fix.
2865 2013-06-18 Matthias Meulien <orontee@gmail.com>
2867 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2868 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2870 2013-06-18 Glenn Morris <rgm@gnu.org>
2872 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2873 Replace obsolete function generic-make-keywords with its expansion.
2875 * progmodes/python.el (ffap-alist): Declare.
2877 * textmodes/reftex.el (bibtex-mode-map): Declare.
2879 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2881 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2882 (package-unpack, package-unpack-single): Return the pkg-dir.
2883 (package-download-transaction): Use it to update package-alist.
2885 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2887 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2890 2013-06-17 Juri Linkov <juri@jurta.org>
2892 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2894 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2896 * emacs-lisp/package.el (package-load-descriptor):
2897 Remove `with-syntax-table' call, `read' doesn't need it.
2898 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2900 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2902 * startup.el (command-line): Expand package name returned by
2903 `package--description-file' (bug#14639).
2905 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2907 * emacs-lisp/package.el (package-load-descriptor): Do not call
2908 `emacs-lisp-mode', just use its syntax table.
2910 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2912 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2913 `font-lock-extra-managed-props' if any prettifying keyword is added.
2914 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2915 (prog-mode): Use `setq-local'.
2917 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2919 * international/characters.el (standard-case-table): Set syntax of ?»
2920 and ?« to punctuation.
2922 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
2924 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2925 Save relevant match data before calling `syntax-ppss' (bug#14595).
2927 2013-06-15 Juri Linkov <juri@jurta.org>
2929 * files-x.el (modify-file-local-variable-prop-line): Add local
2930 variables to the end of the existing comment on the first line.
2931 Use `file-auto-mode-skip' to skip interpreter magic line,
2932 and also skip XML declaration.
2934 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2936 * startup.el (package--builtin-versions): New var.
2937 (package-subdirectory-regexp): Remove.
2938 (package--description-file): Hard code its value instead.
2940 * emacs-lisp/package.el: Don't activate packages older than builtin.
2941 (package-obsolete-list): Rename from package-obsolete-alist, and make
2942 it into a simple list of package-desc.
2943 (package-strip-version): Remove.
2944 (package-built-in-p): Use package--builtin-versions.
2945 (package-mark-obsolete): Simplify.
2946 (package-process-define-package): Mark it obsolete if older than the
2948 (package-handle-response): Use line-end-position.
2949 (package-read-archive-contents, package--download-one-archive):
2951 (package--add-to-archive-contents): Skip if older than the builtin or
2953 (package-menu-describe-package): Fix last change.
2954 (package-list-unversioned): New var.
2955 (package-menu--generate): Use it.
2957 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2958 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2959 (autoload-builtin-package-versions): New variable.
2960 (autoload-generate-file-autoloads): Use them.
2961 Remove the list of autoloaded functions/macros from the
2962 (autoload...) comments.
2964 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2966 2013-06-15 Eli Zaretskii <eliz@gnu.org>
2968 * simple.el (line-move-partial): Don't jump to the next screen
2969 line as soon as it becomes visible. Instead, continue enlarging
2970 the vscroll until the portion of a tall screen line that's left on
2971 display is about the height of the frame's default font.
2974 2013-06-15 Glenn Morris <rgm@gnu.org>
2976 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2977 compilation-error-regexp-alist void, or local while let-bound.
2979 * progmodes/make-mode.el (makefile-mode-syntax-table):
2980 Treat "=" as punctuation. (Bug#14614)
2982 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
2984 * help-fns.el (describe-variable):
2985 Add extra line for permanent-local variables.
2987 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2989 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2990 Add export, import, library. (Bug#9164)
2991 (library): Set indent function.
2993 2013-06-14 Glenn Morris <rgm@gnu.org>
2995 * term/xterm.el (xterm--query):
2996 Stop after first matching handler. (Bug#14615)
2998 2013-06-14 Ivan Kanis <ivan@kanis.fr>
3000 Add support for dired in saveplace.
3001 * dired.el (dired-initial-position-hook): New variable.
3002 (dired-initial-position): Call hook to place cursor position.
3003 * saveplace.el (save-place-to-alist): Add dired position.
3004 (save-place-dired-hook): New function.
3006 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3009 through a symbol rather than letrec.
3011 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3012 (package-desc): Add `dir' field.
3013 (package-desc-full-name): New function.
3014 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3015 (package-maybe-load-descriptor): Remove.
3016 (package-load-all-descriptors): Just call package-load-descriptor.
3017 (package--disabled-p): New function.
3018 (package-desc-vers, package-desc-doc): Remove aliases.
3019 (package--dir): Remove function.
3020 (package-activate): Check if a package is disabled.
3021 (package-process-define-package): New function, extracted from
3023 (define-package): Turn into a place holder.
3024 (package-unpack-single, package-tar-file-info):
3025 Use package--description-file.
3026 (package-compute-transaction): Use package--disabled-p.
3027 (package-download-transaction): Don't call
3028 package-maybe-load-descriptor since they're all loaded anyway.
3029 (package-install): Change argument to be a pkg-desc.
3030 (package-delete): Use a single pkg-desc argument.
3031 (describe-package-1): Use package-desc-dir instead of package--dir.
3032 Use package-desc property instead of package-symbol.
3033 (package-install-button-action): Adjust accordingly.
3034 (package--push): Rewrite.
3035 (package-menu--print-info): Adjust accordingly. Change the ID format
3037 (package-menu-describe-package, package-menu-get-status)
3038 (package-menu--find-upgrades, package-menu-mark-upgrades)
3039 (package-menu-execute, package-menu--name-predicate):
3041 * startup.el (package--description-file): New function.
3042 (command-line): Use it.
3043 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3044 Use package-desc-version.
3046 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3047 (byte-compile-preprocess): Use it.
3048 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3049 can't quite recognize.
3050 (byte-compile-add-to-list): Remove.
3051 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3052 (cconv-closure-convert): Add assertion.
3054 * emacs-lisp/map-ynp.el: Use lexical-binding.
3055 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3056 Factor out some repeated code.
3058 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3060 * subr.el (with-eval-after-load): New macro.
3061 (eval-after-load): Allow form to be a function.
3062 take advantage of lexical-binding.
3063 (do-after-load-evaluation): Use dolist and adjust to new format.
3064 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3066 2013-06-13 Juri Linkov <juri@jurta.org>
3068 * replace.el (perform-replace): Display "symbol " and other search
3069 modes from `isearch-message-prefix' in the *Help* buffer.
3071 * isearch.el (isearch-query-replace): Add " symbol" and other
3072 possible search modes from `isearch-message-prefix' to the prompt.
3073 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3074 when reading a regexp to collect.
3076 2013-06-13 Juri Linkov <juri@jurta.org>
3078 * isearch.el (word-search-regexp): Match whitespace if the search
3079 string begins or ends in whitespace. The LAX arg is applied to
3080 both ends of the search string. Use `regexp-quote' and explicit
3081 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3082 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3083 boundaries are replaced with symbol boundaries, and characters
3084 between symbols match non-word non-symbol syntax. (Bug#14602)
3086 2013-06-13 Juri Linkov <juri@jurta.org>
3088 * isearch.el (isearch-del-char): Don't exceed the length of
3089 `isearch-string' by the prefix arg. (Bug#14563)
3091 2013-06-13 Juri Linkov <juri@jurta.org>
3093 * isearch.el (isearch-yank-word, isearch-yank-line)
3094 (isearch-char-by-name, isearch-quote-char)
3095 (isearch-printing-char, isearch-process-search-char):
3096 Add optional count prefix arg. (Bug#14563)
3098 * international/isearch-x.el
3099 (isearch-process-search-multibyte-characters):
3100 Add optional count prefix arg.
3102 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3104 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3105 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3108 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3110 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3112 2013-06-13 Glenn Morris <rgm@gnu.org>
3114 * startup.el (tty-handle-args):
3115 Don't just discard "--" and anything after. (Bug#14608)
3117 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3119 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
3121 Implement changes in Secret Service API. Make it backward compatible.
3122 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3123 (secrets-create-item): Use it. Prefix properties with interface.
3125 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3127 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3128 (term-emulate-terminal): Respect term-suppress-hard-newline.
3130 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3132 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3133 Only remove a `thumb-file' overlay. (Bug#14548)
3135 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
3137 * mail/reporter.el (reporter-submit-bug-report):
3138 Handle missing package-name. (Bug#14600)
3140 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3142 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3143 (reftex-citation-prompt, reftex-default-bibliography)
3144 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3145 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3146 (reftex-bib-sort-author, reftex-bib-sort-year)
3147 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3148 (reftex-extract-bib-entries-from-thebibliography)
3149 (reftex-get-bibkey-default, reftex-get-bib-names)
3150 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3151 (reftex-format-bib-entry, reftex-parse-bibitem)
3152 (reftex-format-bibitem, reftex-do-citation)
3153 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3154 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3155 (reftex-insert-bib-matches, reftex-format-citation)
3156 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3157 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3158 existing comments into docstrings.
3160 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3162 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3164 2013-06-12 Andreas Schwab <schwab@suse.de>
3166 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3167 for auto-save files.
3169 2013-06-12 Glenn Morris <rgm@gnu.org>
3171 * ido.el (ido-delete-ignored-files): Remove.
3172 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3173 Go back to calling ido-ignore-item-p directly.
3175 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3177 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3179 * ido.el (ido-delete-ignored-files): New function,
3180 split from ido-make-file-list-1.
3181 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3182 (ido-make-file-list-1): Use ido-delete-ignored-files.
3184 2013-06-12 Leo Liu <sdl.web@gmail.com>
3186 * progmodes/octave.el (inferior-octave-startup)
3187 (inferior-octave-completion-table)
3188 (inferior-octave-track-window-width-change)
3189 (octave-eldoc-function-signatures, octave-help)
3190 (octave-find-definition): Use single quoted strings.
3191 (inferior-octave-startup-args): Change default value.
3192 (inferior-octave-startup): Do not hard code "-i" and
3193 "--no-line-editing".
3194 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3195 (inferior-octave-directory-tracker): Use it.
3196 (octave-goto-function-definition): Robustify.
3197 (octave-help): Support highlighting operators in 'See also'.
3198 (octave-find-definition): Find subfunctions only in Octave mode.
3200 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3202 * help-fns.el (help-fns--compiler-macro): If the handler function is
3203 named, then put a link to it.
3204 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3205 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3207 (cl-eval-when): Simplify debug spec.
3208 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3209 compiler-macro function instead of setting `compiler-macro-file'.
3211 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3213 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3214 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3216 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3217 Daniel Hackney <dan@haxney.org>
3219 First part of Daniel Hackney's patch to package.el.
3220 * emacs-lisp/package.el: Use defstruct.
3221 (package-desc): New, main struct.
3222 (package--bi-desc, package--ac-desc): New structs, used to describe the
3223 format in external files.
3224 (package-desc-vers): Replace with package-desc-version accessor.
3225 (package-desc-doc): Replace with package-desc-summary accessor.
3226 (package-activate-1): Remove `package' arg since the pkg-vec now
3228 (define-package): Use package-desc-from-define.
3229 (package-unpack-single): Change file-name arg to be a symbol.
3230 (package--add-to-archive-contents): Use package-desc-create and new
3231 accessor functions to package--ac-desc.
3232 (package-buffer-info, package-tar-file-info): Return a package-desc.
3233 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3234 arg to be a package-desc.
3235 (package-install-file): Adjust accordingly. Use \' to match EOS.
3236 (package--from-builtin): New function.
3237 (describe-package-1, package-menu--generate): Use it.
3238 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3239 (package-generate-autoloads): Idem and return the name of the file.
3240 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3241 Change pkg-info arg to be a package-desc.
3242 Use package-make-ac-desc.
3243 (package-upload-file): Use \' to match EOS.
3244 * finder.el (finder-compile-keywords): Use package-make-builtin.
3246 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3248 * vc/vc.el (vc-deduce-fileset): Change error message.
3249 (vc-read-backend): New function.
3250 (vc-next-action): Use it.
3252 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3254 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3255 (prolog-font-lock-keywords): Use regexp-opt instead.
3256 Don't manually highlight strings.
3257 (prolog-mode-variables): Simplify comment-start-skip.
3258 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3260 * emacs-lisp/generic.el (generic--normalise-comments)
3261 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3262 (generic-mode-set-comments): Use them.
3263 (generic-bracket-support): Use setq-local.
3264 (generic-make-keywords-list): Declare obsolete.
3266 2013-06-11 Glenn Morris <rgm@gnu.org>
3268 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3269 Prettify after setting font-lock-defaults. (Bug#14574)
3271 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
3273 * replace.el (query-replace, occur-read-regexp-defaults-function)
3275 * subr.el (declare-function, number-sequence, local-set-key)
3276 (substitute-key-definition, locate-user-emacs-file)
3277 (with-silent-modifications, split-string, eval-after-load):
3278 Fix typos, remove unneeded backslashes and reflow some docstrings.
3280 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3283 default for Elisp files.
3285 2013-06-11 Glenn Morris <rgm@gnu.org>
3287 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3288 although define-derived-mode was doing this anyway. (Bug#14583)
3290 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3292 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3293 Fix make-variable-buffer-local call to refer to the correct variable.
3295 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3297 * eshell/em-term.el (eshell-visual-commands)
3298 (eshell-visual-subcommands, eshell-visual-options):
3299 Add summary line to docstrings. Add cross-references.
3301 2013-06-10 Glenn Morris <rgm@gnu.org>
3303 * epa.el (epa-read-file-name): New function. (Bug#14510)
3304 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3306 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3308 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3309 output redirection to be ignored with visual commands.
3311 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3313 * eshell/em-term.el (eshell-visual-command-p): New function.
3314 (eshell-term-initialize): Move long lambda to separate function
3315 eshell-visual-command-p.
3316 * eshell/em-dirs.el (eshell-dirs-initialise):
3317 * eshell/em-script.el (eshell-script-initialize):
3318 Add missing #' to lambda.
3320 2013-06-08 Leo Liu <sdl.web@gmail.com>
3322 * progmodes/octave.el (octave-add-log-current-defun): New function.
3323 (octave-mode): Set add-log-current-defun-function.
3324 (octave-goto-function-definition): Do not move point if not found.
3325 (octave-find-definition): Enhance to try subfunctions first.
3327 2013-06-08 Glenn Morris <rgm@gnu.org>
3329 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3330 (byte-compile-backward-char, byte-compile-backward-word):
3331 Improve previous change, to handle non-explicit nil.
3333 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3335 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3336 (smie--opener/closer-at-point): New function.
3337 (smie--matching-block-data): Use it. Don't match from right after an
3338 opener or right before a closer. Obey smie-blink-matching-inners.
3339 Don't signal a mismatch for repeated inners like "switch..case..case".
3341 2013-06-07 Leo Liu <sdl.web@gmail.com>
3343 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3345 (octave-function-header-regexp): Fix. (Bug#14570)
3346 (octave-help-mode-finish-hook, octave-help-mode-finish):
3347 Remove. Just use temp-buffer-show-hook.
3349 * newcomment.el (comment-search-backward): Revert last change.
3352 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3354 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3356 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3357 through xargs, to avoid failure due to MS-Windows limitations on
3358 command-line length.
3360 2013-06-06 Glenn Morris <rgm@gnu.org>
3362 * font-lock.el (lisp-font-lock-keywords-2):
3363 Treat user-error like error.
3365 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3366 (byte-compile-backward-char, byte-compile-backward-word):
3367 Handle explicit nil arguments. (Bug#14565)
3369 2013-06-05 Alan Mackenzie <acm@muc.de>
3371 * isearch.el (isearch-allow-prefix): New user option.
3372 (isearch-other-meta-char): Don't exit isearch when a prefix
3373 argument is typed whilst `isearch-allow-prefix' is non-nil.
3376 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3378 * autorevert.el (auto-revert-notify-handler): Use memq.
3379 Hide assertion failure.
3381 * skeleton.el: Use cl-lib.
3382 (skeleton-further-elements): Use defvar-local.
3383 (skeleton-insert): Use cl-progv.
3385 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3387 * progmodes/prog-mode.el (prog-prettify-symbols)
3388 (prog-prettify-install): Update docstrings.
3390 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3392 * simple.el: Move all the prog-mode code to prog-mode.el.
3393 * progmodes/prog-mode.el: New file.
3394 * loadup.el: Add prog-mode.el.
3396 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3398 * simple.el (prog-prettify-symbols): Add version.
3399 (prog-prettify-install): Add convenience function to prettify symbols.
3401 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3402 (perl--augmented-font-lock-keywords-1)
3403 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3404 variables and use it.
3406 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3407 (cfengine3-mode): Remove unneeded variable and use it.
3409 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3410 (lisp--augmented-font-lock-keywords-1)
3411 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3412 Remove unneeded variables and use it.
3414 2013-06-05 João Távora <joaotavora@gmail.com>
3416 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3417 to point when opening the connection. (Bug#14380)
3419 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * subr.el (load-history-regexp, load-history-filename-element)
3422 (eval-after-load, after-load-functions, do-after-load-evaluation)
3423 (eval-next-after-load, display-delayed-warnings)
3424 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3425 definition of save-match-data.
3426 (overriding-local-map): Remove accidental obsolescence declaration.
3428 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3430 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3432 Generalize symbol prettify support to prog-mode and implement it
3433 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3434 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3435 (prog--prettify-font-lock-compose-symbol)
3436 (prog-prettify-font-lock-symbols-keywords): New variables and
3437 functions to support symbol prettification.
3438 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3439 (lisp--augmented-font-lock-keywords-1)
3440 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3441 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3442 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3443 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3444 Implement prettify of -> => :: strings.
3445 * progmodes/perl-mode.el (perl-prettify-symbols)
3446 (perl--font-lock-compose-symbol)
3447 (perl--font-lock-symbols-keywords): Move to prog-mode.
3448 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3449 (perl-font-lock-keywords-1)
3450 (perl-font-lock-keywords-2): Remove explicit prettify support.
3451 (perl--augmented-font-lock-keywords)
3452 (perl--augmented-font-lock-keywords-1)
3453 (perl--augmented-font-lock-keywords-2, perl-mode):
3454 Implement prettify support.
3456 2013-06-05 Leo Liu <sdl.web@gmail.com>
3458 Re-implement smie matching block highlight using
3459 show-paren-data-function. (Bug#14395)
3460 * emacs-lisp/smie.el (smie-matching-block-highlight)
3461 (smie--highlight-matching-block-overlay)
3462 (smie--highlight-matching-block-lastpos)
3463 (smie-highlight-matching-block)
3464 (smie-highlight-matching-block-mode): Remove.
3465 (smie--matching-block-data-cache): New variable.
3466 (smie--matching-block-data): New function.
3467 (smie-setup): Use smie--matching-block-data for
3468 show-paren-data-function.
3470 * progmodes/octave.el (octave-mode-menu): Fix.
3471 (octave-find-definition): Skip garbage lines.
3473 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3475 Fix compilation error with simultaneous dynamic+lexical scoping.
3476 Add warning when a defvar appears after the first let-binding.
3477 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3478 (byte-compile-close-variables): Initialize it.
3479 (byte-compile--declare-var): New function.
3480 (byte-compile-file-form-defvar)
3481 (byte-compile-file-form-define-abbrev-table)
3482 (byte-compile-file-form-custom-declare-variable): Use it.
3483 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3484 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3485 (byte-compile-bind): Handle dynamic bindings that shadow
3487 (byte-compile-unbind): Make arg non-optional.
3488 (byte-compile-let): Simplify.
3489 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3490 (cconv--analyse-function, cconv-analyse-form): Populate it.
3491 Protect byte-compile-bound-variables to limit the scope of defvars.
3492 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3493 Remove unneeded rule for `declare'.
3495 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3496 so as to avoid depending on cl-adjoin at run-time.
3497 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3499 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3500 (macroexp--warn-and-return): Use it.
3502 2013-06-05 Leo Liu <sdl.web@gmail.com>
3504 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3506 2013-06-04 Leo Liu <sdl.web@gmail.com>
3508 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3509 (compilation-auto-jump): Suppress the "Mark set" message to give
3510 way to exit message.
3512 2013-06-04 Alan Mackenzie <acm@muc.de>
3514 Remove faulty optimisation from indentation calculation.
3515 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3516 search limit based on 2000 characters back from indent-point.
3518 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3520 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3522 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3524 * emacs-lisp/lisp.el: Use lexical-binding.
3525 (lisp--local-variables-1, lisp--local-variables): New functions.
3526 (lisp--local-variables-completion-table): New var.
3527 (lisp-completion-at-point): Use it complete let-bound vars.
3529 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3530 eagerly (bug#14422).
3532 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
3534 * autorevert.el (auto-revert-notify-enabled)
3535 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3536 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3537 (auto-revert-notify-handler): Handle also gfilenotify.
3539 * subr.el (file-notify-handle-event): New defun. Replacing ...
3540 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3543 2013-06-03 Juri Linkov <juri@jurta.org>
3545 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3546 `M-s h .'. (Bug#14427)
3548 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3549 command `hi-lock-face-symbol-at-point'.
3550 (hi-lock-face-symbol-at-point): New command.
3551 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3552 (hi-lock-menu): Add `highlight-symbol-at-point'.
3553 (hi-lock-mode): Doc fix.
3555 * isearch.el (isearch-forward-symbol-at-point): New command.
3556 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3557 (isearch-highlight-regexp): Add a regexp which matches
3558 words/symbols for word/symbol mode.
3560 * subr.el (find-tag-default-bounds): New function with the body
3561 mostly moved from `find-tag-default'.
3562 (find-tag-default): Move most code to `find-tag-default-bounds',
3563 call it and apply `buffer-substring-no-properties' afterwards.
3565 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3567 * eshell/em-term.el (eshell-term-initialize):
3568 Use `cl-intersection' rather than `intersection'.
3570 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3572 * vc/log-view.el: Doc fix.
3573 (log-view-mode-map): Copy keymap from `special-mode-map'.
3575 2013-06-02 Eric Ludlam <zappo@gnu.org>
3577 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3578 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3579 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3580 (eieio-unbound, eieio-default-superclass)
3581 (eieio--define-field-accessors, method-static, method-before)
3582 (method-primary, method-after, method-num-lists)
3583 (method-generic-before, method-generic-primary)
3584 (method-generic-after, method-num-slots)
3585 (eieio-specialized-key-to-generic-key)
3586 (eieio--check-type, class-v, class-p)
3587 (eieio-class-name, define-obsolete-function-alias)
3588 (eieio-class-parents-fast, eieio-class-children-fast)
3589 (same-class-fast-p, class-constructor, generic-p)
3590 (generic-primary-only-p, generic-primary-only-one-p)
3591 (class-option-assoc, class-option, eieio-object-p)
3592 (class-abstract-p, class-method-invocation-order)
3593 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3594 (eieio-class-un-autoload, eieio-defclass)
3595 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3596 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3597 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3598 (eieio-defgeneric-reset-generic-form)
3599 (eieio-defgeneric-form-primary-only)
3600 (eieio-defgeneric-reset-generic-form-primary-only)
3601 (eieio-defgeneric-form-primary-only-one)
3602 (eieio-defgeneric-reset-generic-form-primary-only-one)
3603 (eieio-unbind-method-implementations)
3604 (eieio--defmethod, eieio--typep)
3605 (eieio-perform-slot-validation, eieio-validate-slot-value)
3606 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3607 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3608 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3609 (eieio-slot-name-index, eieio-class-slot-name-index)
3610 (eieio-set-defaults, eieio-initarg-to-attribute)
3611 (eieio-attribute-to-initarg, eieio-c3-candidate)
3612 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3613 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3614 (eieio-class-precedence-list, eieio-generic-call-methodname)
3615 (eieio-generic-call-arglst, eieio-generic-call-key)
3616 (eieio-generic-call-next-method-list)
3617 (eieio-pre-method-execution-functions, eieio-generic-call)
3618 (eieio-generic-call-primary-only, eieiomt-method-list)
3619 (eieiomt-optimizing-obarray, eieiomt-install)
3620 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3621 (eieio-generic-form, eieio-defmethod, make-obsolete)
3622 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3623 (defclass): Remove `eval-and-compile' from macro.
3624 (call-next-method, shared-initialize): Instead of using
3625 `scoped-class' variable, use new eieio--scoped-class, and
3626 eieio--with-scoped-class.
3627 (initialize-instance): Rename local variable 'scoped-class' to
3628 'this-class' to remove ambiguitity from old global.
3630 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3632 (eieio--scoped-class-stack): New variable.
3633 (eieio--scoped-class): New fcn.
3634 (eieio--with-scoped-class): New scoping macro.
3635 (eieio-defclass): Use pushnew instead of add-to-list.
3636 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3637 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3638 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3639 `scoped-class' variable, use new eieio--scoped-class, and
3640 eieio--with-scoped-class.
3642 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3644 2013-06-02 Tassilo Horn <tsdh@gnu.org>
3646 * eshell/esh-ext.el (eshell-external-command): Pass args to
3647 `eshell-find-interpreter'.
3648 (eshell-find-interpreter): Add new second parameter ARGS.
3650 * eshell/em-script.el (eshell-script-initialize): Add second arg
3651 to the function added as MATCH to `eshell-interpreter-alist'.
3653 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3654 the function added as MATCH to `eshell-interpreter-alist'.
3656 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3657 (eshell-visual-options): New defcustom.
3658 (eshell-escape-control-x): Adapt docstring.
3659 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3660 `eshell-visual-options' in addition to `eshell-visual-commands'.
3661 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3663 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
3665 * progmodes/python.el (python-indent-block-enders): Add break,
3666 continue and raise keywords.
3668 2013-06-01 Glenn Morris <rgm@gnu.org>
3670 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3672 Plain (f)boundp silences compilation warnings since Emacs 22.1.
3673 * progmodes/cc-cmds.el (delete-forward-p):
3674 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3675 * progmodes/cc-engine.el (buffer-syntactic-context):
3676 * progmodes/cc-fonts.el (face-property-instance):
3677 * progmodes/cc-mode.el (set-keymap-parents):
3678 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3679 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3680 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3681 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3682 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3684 * progmodes/cc-vars.el (other): Emacs has this widget since
3685 at least 21.1, so don't (re)define it.
3687 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3688 Replace the obsolete alias pcomplete-arg-quote-list.
3690 2013-06-01 Leo Liu <sdl.web@gmail.com>
3692 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3694 (inferior-octave-minimal-columns)
3695 (inferior-octave-last-column-width): New variables.
3696 (inferior-octave-track-window-width-change): New function.
3697 (inferior-octave-mode): Adjust column width so that Octave output,
3698 for example from 'ls', can fit into the window nicely.
3700 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3702 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3703 Highlight expansions inside regexp literals.
3705 2013-05-31 Glenn Morris <rgm@gnu.org>
3707 * obsolete/sym-comp.el (symbol-complete):
3708 Replace obsolete completion-annotate-function.
3710 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3712 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3714 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3715 New function, checks if point is inside a literal that allows
3716 expression expansion.
3717 (ruby-syntax-propertize-expansion): Use it.
3718 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3721 2013-05-30 Juri Linkov <juri@jurta.org>
3723 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3725 (isearch-invisible): New variable.
3726 (isearch-forward): Doc fix.
3727 (isearch-mode): Set `isearch-invisible'
3728 to the value of `search-invisible'.
3729 (isearch-toggle-case-fold): Doc fix.
3730 (isearch-toggle-invisible): New command.
3731 (isearch-query-replace): Let-bind `search-invisible'
3732 to the value of `isearch-invisible'.
3733 (isearch-search): Use `isearch-invisible' instead of
3734 `search-invisible'. Let-bind `search-invisible'
3735 to the value of `isearch-invisible'. (Bug#11378)
3737 2013-05-30 Juri Linkov <juri@jurta.org>
3739 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3740 call when `query-flag' is nil and `search-invisible' is non-nil.
3743 2013-05-30 Glenn Morris <rgm@gnu.org>
3745 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3747 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3748 (cc-require): Suppress spurious "noruntime" warnings.
3749 (cc-require-when-compile): Use fboundp, for sake of compiler.
3751 * progmodes/cc-mode.el: Move load of cc-vars before that of
3752 cc-langs (which in turn loads cc-vars), to quieten compiler.
3754 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * paren.el: Simplify the code.
3757 (show-paren-mode): Always start the timer.
3758 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3759 (show-paren--overlay, show-paren--overlay-1): Rename from
3760 show-paren-overlay and show-paren-overlay-1, and initialize to an
3761 overlay rather than to nil.
3762 (show-paren-function): Misc cleanup and simplifications.
3764 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3766 * paren.el (show-paren-data-function): New hook.
3767 (show-paren--default): New function, extracted from show-paren-function.
3768 (show-paren-function): Use show-paren-data-function.
3770 2013-05-30 Glenn Morris <rgm@gnu.org>
3772 * ielm.el (ielm-map, ielm-complete-symbol):
3773 Use completion-at-point rather than obsolete functions.
3774 (inferior-emacs-lisp-mode): Doc fix.
3775 Set completion-at-point-functions, rather than
3776 comint-dynamic-complete-functions.
3778 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3779 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3780 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3782 * image.el (image-animated-p): Tweak definition.
3784 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3785 (rlogin-process-connection-type): Tweak default. Add set-after.
3786 (rlogin-host): Doc fix.
3787 (rlogin): Tweak prompt.
3788 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3790 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3791 * progmodes/tcl.el (inferior-tcl-mode-map):
3792 Use completion-at-point rather than obsolete alias.
3794 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3796 * minibuffer.el (read-file-name-completion-ignore-case):
3797 Move before completion--in-region, for eager macro expansion.
3799 2013-05-29 Juri Linkov <juri@jurta.org>
3801 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3802 for total count of matching lines. Add `global-matches' for total
3803 count of matches. Rename `matches' to `lines' for count of
3804 matching lines. Add `matches' for count of matches.
3805 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3806 to `prev-line' for line number of prev match endpt.
3807 Increment `matches' for every match. Print the number of
3808 matching lines in the header.
3809 (occur-context-lines): Rename `lines' to `curr-line'.
3810 Rename `prev-lines' to `prev-line'. (Bug#14017)
3812 2013-05-29 Juri Linkov <juri@jurta.org>
3814 * replace.el (perform-replace): Add `skip-read-only-count',
3815 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3816 Increment them for corresponding conditions and report the number
3817 of skipped occurrences in the final message. (Bug#11746)
3818 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3819 (replace-string, replace-regexp): Doc fix.
3821 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3825 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3826 prog-mode-map (bug#14504).
3828 2013-05-29 Leo Liu <sdl.web@gmail.com>
3830 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3831 (octave-help): Small simplification.
3833 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3834 off the highlight first.
3836 2013-05-29 Glenn Morris <rgm@gnu.org>
3838 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3839 Handle idlwave-last-system-routine-info-cons-cell being nil.
3841 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3842 (idlwave-write-paths): Simplify via with-temp-buffer.
3844 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3845 * emulation/cua-rect.el: Also load cua-base at run time.
3847 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3848 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3849 (cperl-imenu-on-info): Require imenu.
3851 2013-05-28 Alan Mackenzie <acm@muc.de>
3853 Handle "capitalised keywords" correctly.
3854 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3856 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
3858 * eshell/em-unix.el: Add -r option to cp.
3860 2013-05-28 Glenn Morris <rgm@gnu.org>
3862 * vc/vc-arch.el (vc-exec-after): Declare.
3863 (vc-switches): Autoload.
3864 * vc/vc-bzr.el: No need to require vc when compiling.
3865 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3866 (vc-resynch-buffer, vc-dir-refresh): Declare.
3867 (vc-setup-buffer, vc-switches): Autoload.
3868 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3869 (vc-resynch-buffer): Declare.
3870 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3871 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3872 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3873 (grep-read-regexp, grep-read-files, grep-expand-template)
3874 (vc-dir-refresh): Declare.
3875 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3876 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3877 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3878 * vc/vc-mtn.el (vc-exec-after): Declare.
3879 (vc-switches): Autoload.
3880 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3881 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3882 (vc-file-tree-walk): Declare.
3883 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3884 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3885 (vc-tag-precondition, vc-rename-master): Autoload.
3886 * vc/vc-svn.el (vc-exec-after): Declare.
3887 (vc-switches, vc-setup-buffer): Autoload.
3888 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3890 (vc-resynch-buffer): Declare.
3892 * obsolete/fast-lock.el (byte-compile-warnings):
3893 Don't warn about obsolete features in this obsolete file.
3895 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3896 Move definition before use.
3898 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3899 (dun-unix-verbs): Remove dun-zippy.
3900 (dun-zippy): Remove function.
3902 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3904 2013-05-27 Juri Linkov <juri@jurta.org>
3906 * replace.el (replace-search): New function with code moved out
3907 from `perform-replace'.
3908 (replace-highlight, replace-dehighlight): Move function definitions
3909 up closer to `replace-search'. (Bug#11746)
3911 2013-05-27 Juri Linkov <juri@jurta.org>
3913 * replace.el (perform-replace): Ignore invisible matches.
3914 In addition to checking `query-replace-skip-read-only', also
3915 filter out matches by calling `run-hook-with-args-until-failure'
3916 on `isearch-filter-predicates', and also check `search-invisible'
3917 for t or call `isearch-range-invisible'.
3918 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3920 2013-05-27 Juri Linkov <juri@jurta.org>
3922 * isearch.el (isearch-filter-predicates): Rename from
3923 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3924 (isearch-message-prefix): Display text from the property
3925 `isearch-message-prefix' of the currently active filters.
3926 (isearch-search): Don't compare `isearch-filter-predicate' with
3927 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3928 on `isearch-filter-predicates'. Also check `search-invisible' for t
3929 or call `isearch-range-invisible'.
3930 (isearch-filter-visible): Make obsolete.
3931 (isearch-lazy-highlight-search):
3932 Call `run-hook-with-args-until-failure' on
3933 `isearch-filter-predicates' and use `isearch-range-invisible'.
3935 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3936 `isearch-filter-predicates' instead of `funcall'ing
3937 `isearch-filter-predicate'.
3938 (Info-mode): Set `Info-isearch-filter' to
3939 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3941 * dired-aux.el (dired-isearch-filter-predicate-orig):
3943 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3944 (dired-isearch-filenames-end): Add and remove
3945 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3946 instead of changing the value of `isearch-filter-predicate'.
3947 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3948 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3949 Put property `isearch-message-prefix' to "filename " on
3950 `dired-isearch-filter-filenames'.
3952 * wdired.el (wdired-change-to-wdired-mode):
3953 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3954 locally instead of changing `isearch-filter-predicate'.
3955 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3957 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3959 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3960 return the commit hash (Bug#14459). Also set the
3961 `vc-git-detached' property.
3962 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3963 (vc-git-mode-line-string): Use the same help-echo format whether
3964 in detached mode or not, because we know the actual revision now.
3965 When in detached mode, shorten the revision to 7 chars.
3967 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3969 * emacs-lisp/easy-mmode.el (define-minor-mode):
3970 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3971 mode hook and provide a docstring.
3973 2013-05-27 Alan Mackenzie <acm@muc.de>
3975 Remove spurious syntax-table text properties inserted by C-y.
3976 * progmodes/cc-mode.el (c-after-change): Also clear hard
3977 syntax-table property with value nil.
3979 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
3981 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3982 when reading the events; the buffer layout shall not be changed.
3984 2013-05-27 Leo Liu <sdl.web@gmail.com>
3986 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3988 (inferior-octave-directory-tracker): Automatically re-sync
3990 (octave-help): Improve handling of 'See also'.
3992 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3994 * doc-view.el: Minor naming convention tweaks.
3995 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3997 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3998 even if there's no `display' property yet (bug#14435).
4000 2013-05-25 Eli Zaretskii <eliz@gnu.org>
4002 * subr.el (unmsys--file-name): Rename from reveal-filename.
4004 * Makefile.in (custom-deps, finder-data, autoloads)
4005 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4006 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4007 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4009 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4011 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4012 error-completion on the first 2 args of condition-case (bug#14446).
4015 2013-05-25 Leo Liu <sdl.web@gmail.com>
4017 * comint.el (comint-previous-matching-input): Do not flood the
4018 *Messages* buffer with trivial messages.
4020 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4022 * progmodes/flymake.el (flymake-nop): Don't return a string.
4023 (flymake-set-at): Fix typo.
4025 * simple.el (read--expression): New function, extracted from
4026 eval-expression. Set completion-at-point-functions (bug#14465).
4027 (eval-expression, eval-minibuffer): Use it.
4029 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4031 * progmodes/flymake.el (flymake-save-buffer-in-file)
4032 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4033 (flymake-selected-frame, flymake-log, flymake-ins-after)
4034 (flymake-set-at, flymake-get-buildfile-from-cache)
4035 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4036 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4037 Refine the doc string.
4038 (flymake-get-file-name-mode-and-masks): Reformat.
4039 (flymake-get-real-file-name-function): Fix a minor bug.
4041 2013-05-24 Juri Linkov <juri@jurta.org>
4043 * progmodes/grep.el (grep-mode-font-lock-keywords):
4044 Support =linenumber= format used by git-grep for lines with
4045 function names. (Bug#13549)
4047 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4049 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4050 0 after a semi-colon; it works better for smie-auto-fill.
4051 (octave--indent-new-comment-line): New function.
4052 (octave-indent-new-comment-line): Use it (indirectly).
4053 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4054 modify comment-line-break-function.
4056 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4057 (smie-setup): Use add-function to set it.
4059 2013-05-24 Sam Steingold <sds@gnu.org>
4061 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4062 argument (before the `interactive' argument).
4064 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * image-mode.el (image-mode-winprops): Add winprops to
4067 image-mode-winprops-alist before running
4068 image-mode-new-window-functions.
4069 * doc-view.el (doc-view-new-window-function): Don't delay
4070 doc-view-goto-page via timers (bug#14435).
4072 2013-05-24 Tassilo Horn <tsdh@gnu.org>
4074 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4075 (doc-view-desktop-save-buffer): New function.
4076 (doc-view-restore-desktop-buffer): New function.
4077 (desktop-buffer-mode-handlers):
4078 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
4080 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4081 `desktop-save-buffer' function.
4083 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
4085 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4086 (tramp-gvfs-file-name-handler): Raise a user error when
4087 `tramp-gvfs-enabled' is nil.
4088 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4089 Do not raise a user error when loading package. (Bug#14447)
4091 * net/xesam.el: Move to obsolete/.
4093 2013-05-24 Glenn Morris <rgm@gnu.org>
4095 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4097 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4099 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4100 (Info-find-node, Man-getpage-in-background): Declare.
4102 * mail/unrmail.el (unrmail):
4103 Replace obsolete detect-coding-with-priority.
4105 * net/socks.el (socks-split-string): Use this rather than split-string.
4106 (socks-nslookup-host): Update for above change.
4107 (dynamic-choice, s5-dynamic-choice-match)
4108 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4109 Comment out unused code.
4111 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4112 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4113 (gud-tooltip-echo-area): Make obsolete.
4114 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4116 * progmodes/js.el (js--optimize-arglist): Declare.
4118 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4120 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4121 (ediff-window-C): Declare.
4123 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4124 Tweak requires to silence compiler.
4126 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4127 (he-search-string, he-tried-table, he-expand-list)
4128 (he-init-string, he-string-member, he-substitute-string)
4129 (he-reset-string): Declare.
4131 * obsolete/options.el (list-options): Use custom-variable-p,
4132 rather than obsolete alias.
4134 2013-05-23 Sam Steingold <sds@gnu.org>
4136 * simple.el (shell-command-on-region): Pass the `replace' argument
4137 down to `call-process-region' to comply with the doc as reported on
4138 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4140 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4142 * emacs-lisp/smie.el (smie-indent-forward-token)
4143 (smie-indent-backward-token): Handle string tokens (bug#14381).
4145 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4147 * ielm.el (ielm-menu): New menu.
4148 (inferior-emacs-lisp-mode): Set comment-start.
4150 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4152 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4153 Fix deactivate action.
4155 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4156 Add cleveref macros.
4158 * lisp/textmodes/reftex-parse.el
4159 (reftex-locate-bibliography-files): Accept options for
4160 bibliography commands.
4161 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4162 Add addbibresource. Basic Biblatex support.
4164 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
4166 * net/tramp-gvfs.el (top):
4167 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4168 when loading package. (Bug#14447)
4170 2013-05-23 Glenn Morris <rgm@gnu.org>
4172 * progmodes/js.el: No need to load comint when compiling.
4173 (ring-insert, comint-send-string, comint-send-input)
4174 (comint-last-input-end, ido-chop): Declare.
4176 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4177 * vc/ediff-mult.el: Adjust requires.
4178 (ediff-directories-internal, ediff-directory-revisions-internal)
4179 (ediff-patch-file-internal): Declare.
4180 * vc/ediff-ptch.el: Adjust requires.
4181 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4182 (ediff-find-file): Autoload.
4183 * vc/ediff-util.el: No need to load ediff when compiling.
4184 (ediff-regions-internal): Declare.
4185 * vc/ediff-wind.el: Adjust requires.
4186 (ediff-compute-toolbar-width): Define when compiling.
4187 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4188 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4189 (dired-get-filename, dired-get-marked-files)
4190 (ediff-last-dir-patch, ediff-patch-default-directory)
4191 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4192 (ediff-patch-buffer-internal): Declare.
4194 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4195 (ispell-process, ispell-buffer-local-words, lm-summary)
4196 (lm-section-start, lm-section-end): Declare.
4197 (checkdoc-ispell-init): Simplify.
4199 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4200 (he-string-member, he-reset-string, he-substitute-string): Declare.
4202 * eshell/em-ls.el: Adjust requires.
4203 (eshell-glob-regexp): Declare.
4204 * eshell/em-tramp.el: Adjust requires.
4205 (eshell-parse-command): Autoload.
4206 * eshell/em-xtra.el: Adjust requires.
4207 (eshell-parse-command): Autoload.
4208 * eshell/esh-ext.el: Adjust requires.
4209 (eshell-parse-command, eshell-close-handles): Autoload.
4210 * eshell/esh-io.el: Adjust requires.
4211 (eshell-output-filter): Autoload.
4212 * eshell/esh-util.el: No need to load tramp when compiling.
4213 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4215 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4216 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4217 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4218 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4219 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4220 * eshell/esh-opt.el, eshell/esh-proc.el:
4221 * eshell/esh-var.el: Adjust requires.
4222 * eshell/eshell.el: Do not require esh-util twice.
4223 (eshell-add-input-to-history): Declare.
4224 (eshell-command): Check history module is active before using it.
4226 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4228 2013-05-22 Leo Liu <sdl.web@gmail.com>
4230 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4232 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
4234 * autorevert.el (auto-revert-notify-add-watch)
4235 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4236 it indicates changes in file modification time.
4238 2013-05-22 Glenn Morris <rgm@gnu.org>
4240 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4241 Always delete the autoloaded function from the noruntime and
4242 unresolved functions lists.
4244 * allout.el: No need to load epa, epg, overlay when compiling.
4245 (epg-context-set-passphrase-callback, epg-list-keys)
4246 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4247 (epg-key-user-id-list): Declare.
4249 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4250 (viper-set-parsing-style-toggling-macro)
4251 (viper-set-emacs-state-searchstyle-macros):
4252 Use called-interactively-p on Emacs.
4253 (viper-looking-back): Make it an obsolete alias. Update callers.
4254 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4255 Use looking-back rather than viper-looking-back.
4256 (viper-tmp-insert-at-eob, viper-enlarge-region)
4257 (viper-read-string-with-history, viper-register-to-point)
4258 (viper-append-to-register, viper-change-state-to-vi)
4259 (viper-backward-char-carefully, viper-forward-char-carefully)
4260 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4261 (viper-change-state-to-emacs): Declare.
4262 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4263 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4264 * emulation/viper-mous.el: Do not load viper-cmd.
4265 (viper-backward-char-carefully, viper-forward-char-carefully)
4266 (viper-forward-word, viper-adjust-window): Declare.
4268 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4270 * progmodes/idlw-help.el (idlwave-help-fontify):
4271 Use called-interactively-p.
4273 * term/w32console.el (w32-get-console-codepage)
4274 (w32-get-console-output-codepage): Declare.
4276 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4277 Remove unnecessary declarations.
4278 (dframe-message): Doc fix.
4280 * info.el (dframe-select-attached-frame, dframe-current-frame):
4283 * speedbar.el (speedbar-message): Make it an obsolete alias.
4285 (speedbar-with-attached-buffer)
4286 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4287 (speedbar-with-writable): Use backquote.
4288 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4289 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4290 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4291 rather than speedbar- aliases.
4292 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4293 (speedbar-make-specialized-keymap, speedbar-insert-button)
4294 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4295 (speedbar-do-function-pointer): Declare.
4296 (rmail-speedbar-button, rmail-speedbar-find-file)
4297 (rmail-speedbar-move-message):
4298 Use dframe-with-attached-buffer rather than speedbar- alias.
4299 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4300 (dframe-message, speedbar-make-specialized-keymap)
4301 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4302 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4303 (speedbar-insert-button, dframe-select-attached-frame)
4304 (dframe-maybee-jump-to-attached-frame)
4305 (speedbar-change-initial-expansion-list)
4306 (speedbar-previously-used-expansion-list-name): Declare.
4307 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4308 Use dframe-message, dframe-with-attached-buffer rather than
4310 (gud-sentinel): Silence compiler.
4311 * progmodes/vhdl-mode.el (speedbar-refresh)
4312 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4313 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4314 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4315 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4316 (speedbar-file-lists, speedbar-make-tag-line)
4317 (speedbar-line-directory, speedbar-goto-this-file)
4318 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4319 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4320 (speedbar-make-button, speedbar-reset-scanners)
4321 (speedbar-files-item-info, speedbar-line-text)
4322 (speedbar-find-file-in-frame, speedbar-set-timer)
4323 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4324 (speedbar-with-writable): Do not (re)define it.
4325 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4326 rather than speedbar- alias.
4328 2013-05-21 Leo Liu <sdl.web@gmail.com>
4330 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4332 (octave-mode): Tweak fill-nobreak-predicate.
4333 (inferior-octave-startup): Check process to avoid infinite loop.
4334 (inferior-octave): Pop to buffer first to show abornmal process
4337 2013-05-21 Glenn Morris <rgm@gnu.org>
4339 * printing.el (pr-menu-bar): Define when compiling.
4341 2013-05-21 Leo Liu <sdl.web@gmail.com>
4343 * progmodes/octave.el (octave-auto-fill): Remove.
4344 (octave-indent-new-comment-line): Improve.
4345 (octave-mode): Use auto fill mode through
4346 comment-line-break-function and fill-nobreak-predicate.
4347 (octave-goto-function-definition): Support DEFUN_DLD.
4348 (octave-beginning-of-defun): Small tweak.
4349 (octave-help): Show parent directory.
4351 2013-05-21 Glenn Morris <rgm@gnu.org>
4353 * files.el (dired-unmark):
4354 * progmodes/gud.el (gdb-input): Update declarations.
4356 * calculator.el (electric, ehelp): No need to load when compiling.
4357 (Electric-command-loop, electric-describe-mode): Declare.
4359 * doc-view.el (doc-view-current-converter-processes): Move before use.
4361 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4362 Move MODE-set-explicitly definition before use.
4364 * international/mule-diag.el (mule-diag):
4365 Don't use obsolete window-system-version.
4367 * mail/feedmail.el (smtpmail): No need to load when compiling.
4368 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4370 * mail/mail-utils.el (rfc822): No need to load when compiling.
4371 (rfc822-addresses): Autoload it.
4372 (mail-strip-quoted-names): Trivial simplification.
4374 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4375 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4377 * net/snmp-mode.el (tempo): Don't duplicate requires.
4379 * progmodes/prolog.el (info): No need to load when compiling.
4380 (comint): Require before shell requires it.
4381 (Info-goto-node): Autoload it.
4382 (Info-follow-nearest-node): Declare.
4383 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4385 * textmodes/artist.el (picture-mode-exit): Declare.
4387 * textmodes/reftex-parse.el (reftex-parse-from-file):
4388 Trivial rewrite so the compiler can parse it better.
4390 2013-05-20 Leo Liu <sdl.web@gmail.com>
4392 * progmodes/octave.el (octave-help-mode-map)
4393 (octave-help-mode-finish-hook): New variables.
4394 (octave-help-mode, octave-help-mode-finish): New functions.
4395 (octave-help): Use octave-help-mode.
4397 2013-05-20 Glenn Morris <rgm@gnu.org>
4399 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4401 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4403 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4404 start at point, so that expansion starting right after opening
4405 slash in a regexp is recognized.
4406 (ruby-syntax-before-regexp-re): New defvar, extracted from
4407 ruby-syntax-propertize-function. Since the value of this regexp
4408 is looked up at runtime now, we should be able to turn
4409 `ruby-syntax-methods-before-regexp' into a defcustom later.
4410 (ruby-syntax-propertize-function): Split regexp matching into two
4411 parts, for opening and closing slashes. That allows us to skip
4412 over string interpolations and support multiline regexps.
4413 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4414 for them, which calls `ruby-syntax-propertize-expansion'.
4415 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4416 call to `ruby-syntax-propertize-function'.
4417 (ruby-syntax-propertize-expansion): Extracted from
4418 `ruby-syntax-propertize-expansions'. Handles one expansion.
4419 (ruby-syntax-propertize-percent-literal): Leave point right after
4420 the percent symbol, so that the expression expansion rule can
4421 propertize the contents.
4422 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4424 (ruby-syntax-propertize-expansions): Remove.
4426 2013-05-18 Juri Linkov <juri@jurta.org>
4428 * man.el (Man-default-man-entry): Remove `-' from the end
4429 of the default value. (Bug#14400)
4431 2013-05-18 Glenn Morris <rgm@gnu.org>
4433 * comint.el (comint-password-prompt-regexp):
4434 Allow "password for XXX" where XXX contains colons (eg https://...).
4436 2013-05-18 Leo Liu <sdl.web@gmail.com>
4438 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4439 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
4440 (octave-source-directories): Don't check process.
4441 (octave-source-directories, octave-find-definition): Doc fix.
4443 2013-05-18 Glenn Morris <rgm@gnu.org>
4445 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4446 Remove backspace/delete bindings. (Bug#14392)
4448 * cus-dep.el (custom-make-dependencies): Sort the output.
4449 (custom-versions-load-alist): Convert comment to doc.
4451 2013-05-17 Leo Liu <sdl.web@gmail.com>
4453 * newcomment.el (comment-search-backward): Stricter in finding
4454 comment start. (Bug#14303)
4456 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4457 (octave-comment-start-skip): Properly anchored.
4459 2013-05-17 Leo Liu <sdl.web@gmail.com>
4461 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4462 Clean up when turned off. (Bug#14395)
4463 (smie--highlight-matching-block-overlay): No longer buffer-local.
4464 (smie-highlight-matching-block): Adjust.
4466 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4468 Doc string fix for "nanoseconds" (Bug#14406).
4469 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4470 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4472 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4474 * calc/calc-units.el (math-extract-units): Preserve powers
4477 2013-05-17 Leo Liu <sdl.web@gmail.com>
4479 * subr.el (delete-consecutive-dups): New function.
4480 * ido.el (ido-set-matches-1): Use it.
4481 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4482 * ido.el (ido-remove-consecutive-dups): Remove.
4484 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4486 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4487 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4488 regexp-opt's `words'.
4490 2013-05-16 Leo Liu <sdl.web@gmail.com>
4492 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4493 (smie--highlight-matching-block-overlay)
4494 (smie--highlight-matching-block-lastpos)
4495 (smie--highlight-matching-block-timer): New variables.
4496 (smie-highlight-matching-block): New function.
4497 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4498 (smie-setup): Conditionally enable smie-blink-matching-open.
4500 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4502 Sync with upstream verilog-mode r840.
4503 * progmodes/verilog-mode.el (verilog-mode-version)
4504 (verilog-mode-release-date): Update.
4505 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4506 (verilog-sig-tieoff): Fix string error on
4507 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4508 (verilog-read-decls): Fix parameters confusing
4509 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4511 2013-05-16 Eli Zaretskii <eliz@gnu.org>
4513 * subr.el (reveal-filename): New function.
4515 * loadup.el: Compute Emacs executable versions on MS-Windows,
4516 where executables have the .exe extension. Add a hard link
4517 emacs-XX.YY.ZZ.exe on MS-Windows.
4519 * Makefile.in (XARGS_LIMIT): New variable.
4520 (custom-deps, finder-data, autoloads)
4521 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4522 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4523 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4524 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4526 2013-05-16 Leo Liu <sdl.web@gmail.com>
4528 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4529 (octave-mode-menu, octave-mode-map): Remove its uses.
4531 2013-05-16 Reto Zimmermann <reto@gnu.org>
4533 Sync with upstream vhdl mode v3.34.2.
4534 * progmodes/vhdl-mode.el: Use `push' throughout.
4535 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4536 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4537 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4538 (vhdl-actual-generic-name): New option to derive actual generic name.
4539 (vhdl-port-paste-signals): Replace formal by actual generics.
4540 (vhdl-beautify): New name for old group vhdl-align. Update users.
4541 (vhdl-beautify-options): New option.
4542 (vhdl-last-input-event): New compat alias. Use throughout.
4543 (vhdl-goto-line): Replace user level function `goto-line'.
4544 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4545 vhdl-fix-statement-buffer.
4546 (vhdl-create-mode-menu): Add some entries.
4547 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4548 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4549 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4550 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4551 to force statements on one line.
4552 (vhdl-remove-trailing-spaces-region):
4553 New, split from vhdl-remove-trailing-spaces.
4554 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4555 Respect vhdl-beautify-options.
4556 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4557 (vhdl-update-sensitivity-list): Not add with index if exists without.
4558 Not include array index with signal. Ignore keywords in comments.
4559 (vhdl-get-visible-signals): Regexp tweaks.
4560 (vhdl-template-component-inst): Handle empty library.
4561 (vhdl-template-type): Add template for 'enum' type.
4562 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4563 Use vhdl-replace-string.
4564 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4565 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4566 (vhdl-speedbar-initialize): Update for above name change.
4567 (vhdl-compose-wire-components): Fix in handling of constants.
4568 (vhdl-error-regexp-emacs-alist): New variable.
4569 (vhdl-error-regexp-add-emacs): New function;
4570 adds support for new compile.el (Emacs 22+)
4571 (vhdl-generate-makefile-1): Change target order for single lib. units.
4572 Allow use of absolute file names.
4574 2013-05-16 Leo Liu <sdl.web@gmail.com>
4576 * simple.el (prog-indent-sexp): Indent enclosing defun.
4578 2013-05-15 Glenn Morris <rgm@gnu.org>
4580 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4581 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4582 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4583 (whitespace-highlight): Move to whitespace group.
4585 * comint.el (comint-source):
4586 * pcmpl-linux.el (pcmpl-linux):
4587 * shell.el (shell-faces):
4588 * eshell/esh-opt.el (eshell-opt):
4589 * international/ccl.el (ccl): Remove empty custom groups.
4591 * completion.el (dynamic-completion-mode):
4592 * jit-lock.el (jit-lock-debug-mode):
4593 * minibuffer.el (completion-in-region-mode):
4594 * type-break.el (type-break-mode-line-message-mode)
4595 (type-break-query-mode):
4596 * emulation/tpu-edt.el (tpu-edt-mode):
4597 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4598 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4599 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4601 * term/xterm.el (xterm): Change parent group to terminals.
4603 * master.el (master): Remove empty custom group.
4604 (master-mode): Remove unused :group argument.
4605 * textmodes/refill.el (refill): Remove empty custom group.
4606 (refill-mode): Remove unused :group argument.
4608 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4610 * cus-dep.el: Provide a feature.
4611 (custom-make-dependencies): Ignore dotfiles (dir-locals).
4612 Don't mistakenly ignore files whose basenames match a basename
4613 from preloaded-file-list (eg cedet/ede/simple.el).
4614 Add a fallback method for getting :group.
4616 2013-05-15 Juri Linkov <juri@jurta.org>
4618 * isearch.el (isearch-char-by-name): Rename from
4619 `isearch-insert-char-by-name'. Doc fix.
4620 (isearch-forward): Mention `isearch-char-by-name' in
4621 the docstring. (Bug#13348)
4623 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4624 `exit-minibuffer' instead of
4625 `isearch-nonincremental-exit-minibuffer'.
4626 (isearch-edit-string): Remove mention of
4627 `isearch-nonincremental-exit-minibuffer' from docstring.
4628 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4629 (isearch-forward-exit-minibuffer)
4630 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4632 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * loadup.el: Just use unversioned DOC.
4636 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4637 literals as extending to EOB.
4638 (nxml-last-fontify-end): Remove unused variable.
4639 (nxml-after-change1): Use with-silent-modifications.
4640 (nxml-extend-after-change-region): Simplify.
4641 (nxml-extend-after-change-region1): Remove function.
4642 (nxml-after-change1): Don't adjust for dependent regions.
4643 (nxml-fontify-matcher): Simplify.
4644 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4645 (xmltok-add-dependent): Remove function.
4646 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4647 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4648 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4649 unclosed <[[, <?, comment, and other literals as extending to EOB.
4650 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4651 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4653 (rng-do-some-validation-1): Don't mark dependent regions.
4654 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4655 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4656 (nxml-clear-dependent-regions): Remove functions.
4657 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4658 (nxml-ensure-scan-up-to-date):
4659 Don't clear&mark dependent regions.
4661 2013-05-15 Leo Liu <sdl.web@gmail.com>
4663 * progmodes/octave.el (octave-goto-function-definition):
4664 Improve and fix callers.
4666 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4669 the setter (bug#14387).
4671 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4672 surrounding group (bug#14402).
4674 2013-05-14 Juri Linkov <juri@jurta.org>
4676 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4679 2013-05-14 Glenn Morris <rgm@gnu.org>
4681 * progmodes/f90.el (f90-imenu-generic-expression):
4682 Fix typo in 2013-05-08 change. (Bug#14402)
4684 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4686 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4687 Remove signals for which replies are never received.
4689 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4691 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4692 (gdb-handler-alist, gdb-handler-number): Remove variables.
4693 (gdb-handler-list): New variable.
4694 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4695 (gdb-pending-handler-p, gdb-handle-reply)
4696 (gdb-remove-all-pending-triggers): New functions.
4697 (gdb-discard-unordered-replies): New defcustom.
4698 (gdb-handler): New defstruct.
4699 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4700 instead of gdb-pending-triggers. Update docstring.
4701 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4702 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4703 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4704 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4705 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4706 (gdb-frame-handler): Pending triggers are now automatically managed.
4707 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4709 (gdb-input): Automatically handles pending triggers. Update docstring.
4710 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4711 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4713 (gdb-done-or-error): Now use gdb-handle-reply.
4715 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4717 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4720 2013-05-14 Glenn Morris <rgm@gnu.org>
4722 * subr.el (user-emacs-directory-warning): New option.
4723 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4725 2013-05-14 Leo Liu <sdl.web@gmail.com>
4727 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4729 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4730 (octave-font-lock-texinfo-comment): Fix invalid search bound
4731 error: wrong side of point.
4733 2013-05-14 Glenn Morris <rgm@gnu.org>
4735 * progmodes/flymake.el (flymake-xml-program): New option.
4736 (flymake-xml-init): Use it.
4738 * term/xterm.el: Provide a feature.
4740 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
4742 2013-05-13 Glenn Morris <rgm@gnu.org>
4744 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4745 Add compat aliases as a hack workaround. (Bug#14384)
4747 2013-05-13 Leo Liu <sdl.web@gmail.com>
4749 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4751 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4753 (octave-comment-start-skip): Include %!.
4754 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4756 2013-05-12 Leo Liu <sdl.web@gmail.com>
4758 * progmodes/octave.el (inferior-octave-startup): Store the value
4759 of __octave_srcdir__ for octave-source-directories.
4760 (inferior-octave-check-process): New function refactored out of
4761 inferior-octave-send-list-and-digest.
4762 (octave-source-directories)
4763 (octave-find-definition-filename-function): New variables.
4764 (octave-source-directories)
4765 (octave-find-definition-default-filename): New functions.
4766 (octave-find-definition): Improve to find functions implemented in C++.
4768 2013-05-12 Glenn Morris <rgm@gnu.org>
4770 * calendar/diary-lib.el (diary-outlook-format-1):
4771 Don't include dayname in the output. (Bug#14349)
4773 2013-05-11 Glenn Morris <rgm@gnu.org>
4775 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4777 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4778 Treat cc-provide like provide.
4780 2013-05-11 Kevin Ryde <user42@zip.com.au>
4782 * cus-dep.el (custom-make-dependencies):
4783 Use generated-autoload-load-name for the sake of files such
4784 such cedet/semantic/bovine/c.el, where the base file name
4785 is not in load-path. (Bug#5277)
4787 2013-05-11 Glenn Morris <rgm@gnu.org>
4789 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4792 2013-05-11 Leo Liu <sdl.web@gmail.com>
4794 * progmodes/octave.el (octave-indent-comment): Improve.
4795 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4796 (octave-eldoc-function-signatures, octave-eldoc-function):
4798 (octave-mode, inferior-octave-mode): Add eldoc support.
4800 2013-05-11 Richard Stallman <rms@gnu.org>
4802 * epa.el (epa-decrypt-file): Take output file name as argument
4803 and read it using `interactive'.
4805 2013-05-11 Leo Liu <sdl.web@gmail.com>
4807 * progmodes/octave.el (octave-beginning-of-line)
4808 (octave-end-of-line): Check before using up-list because it jumps
4809 out of more syntactic contructs since moving to smie.
4810 (octave-indent-comment): New function.
4811 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
4812 (octave-begin-keywords, octave-end-keywords)
4813 (octave-reserved-words, octave-smie-bnf-table)
4814 (octave-smie-rules): Add new keywords from Octave 3.6.4.
4816 2013-05-11 Glenn Morris <rgm@gnu.org>
4818 * faces.el (internal-face-x-get-resource):
4819 * frame.el (ns-display-monitor-attributes-list):
4820 * calc/calc-aent.el (math-to-radians-2):
4821 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4824 * calc/calc-menu.el: Make it loadable in isolation.
4826 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4827 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4828 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4829 (eudc-bbdb-query-internal): Require 'bbdb.
4831 * lpr.el (lpr-headers-switches):
4832 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4834 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4836 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4838 * term.el (term-set-escape-char): Make it idempotent.
4840 2013-05-10 Leo Liu <sdl.web@gmail.com>
4842 * progmodes/octave.el (inferior-octave-completion-table):
4843 No longer a function and all uses changed. Use cache to speed up
4844 completion due to bug#11906.
4845 (octave-beginning-of-defun): Re-write to be more general.
4847 2013-05-10 Glenn Morris <rgm@gnu.org>
4849 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4851 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4853 * comint.el (comint-redirect-send-command-to-process): Use :around
4854 rather than :override for comint-redirect-filter.
4855 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4856 Call it instead of comint-redirect-original-filter-function (which
4857 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4859 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4861 * frame.el (display-monitor-attributes-list): Add NS case.
4862 (ns-display-monitor-attributes-list): Declare.
4864 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
4866 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4868 2013-05-09 Glenn Morris <rgm@gnu.org>
4870 * international/fontset.el (vertical-centering-font-regexp):
4873 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4875 * bookmark.el (bookmark-search-delay):
4876 * cus-start.el (vertical-centering-font-regexp):
4877 * ps-mule.el (ps-mule-font-info-database-default):
4878 * ps-print.el (ps-default-fg, ps-default-bg):
4879 * type-break.el (type-break-good-break-interval):
4880 * whitespace.el (whitespace-indentation-regexp)
4881 (whitespace-space-after-tab-regexp):
4882 * emacs-lisp/testcover.el (testcover-1value-functions)
4883 (testcover-noreturn-functions, testcover-progn-functions)
4884 (testcover-prog1-functions):
4885 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4886 * eshell/em-glob.el (eshell-glob-translate-alist):
4887 * play/tetris.el (tetris-tty-colors):
4888 * progmodes/cpp.el (cpp-face-default-list):
4889 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4890 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4891 (idlwave-help-browser-generic-args):
4892 * progmodes/make-mode.el (makefile-special-targets-list):
4893 * progmodes/python.el (python-shell-virtualenv-path):
4894 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4895 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4896 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4897 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4898 * textmodes/reftex-vars.el (reftex-format-label-function):
4899 * textmodes/remember.el (remember-diary-file): Fix custom types.
4901 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4904 2013-05-09 Leo Liu <sdl.web@gmail.com>
4906 * progmodes/octave.el (inferior-octave-completion-at-point):
4907 Restore file completion. (Bug#14300)
4908 (inferior-octave-startup): Fix incorrect highlighting for the
4911 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4913 * progmodes/ruby-mode.el: First cut at SMIE support.
4914 (ruby-use-smie): New var.
4915 (ruby-smie-grammar): New constant.
4916 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4917 (ruby-smie--forward-token, ruby-smie--backward-token)
4918 (ruby-smie-rules): New functions.
4919 (ruby-mode-variables): Setup SMIE if applicable.
4921 2013-05-08 Eli Zaretskii <eliz@gnu.org>
4923 * simple.el (line-move-visual): Signal beginning/end of buffer
4924 only if vertical-motion moved less than it was requested. Avoids
4925 silly incorrect error messages when there are display strings with
4926 multiple newlines at EOL.
4928 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4930 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4931 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4932 (prolog-char-quote-workaround):
4933 * progmodes/cperl-mode.el (cperl-under-as-char):
4934 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4936 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4938 (vhdl-mode-syntax-table-init): Remove.
4940 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4943 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4945 (ld-script-font-lock-keywords):
4946 Change regexps to use things like \_< and \_>.
4948 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4949 Change all regexps to use things like \_< and \_>.
4951 * progmodes/autoconf.el (autoconf-definition-regexp)
4952 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4953 Handle a _ with symbol syntax.
4954 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4956 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4957 Consolidate declaration.
4958 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4960 (ada-create-syntax-table): Remove.
4961 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4962 already has the right syntax nowadays.
4963 (ada-goto-next-word): Don't change the syntax of "_".
4965 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4968 2013-05-08 Sam Steingold <sds@gnu.org>
4970 * thingatpt.el (thing-at-point): Accept optional second argument
4971 NO-PROPERTIES to strip the text properties from the return value.
4972 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4973 to `thing-at-point' instead of stripping the properties ourselves.
4974 Also, when `thing-at-point' fails to find a url, prepend "http://"
4975 to the filename at point on the assumption that the user is
4976 pointing at something like gnu.org/gnu.
4978 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
4980 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4981 * faces.el (crm-separator):
4982 Silence byte-compiler.
4984 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4985 (tool-bar-map): Remove unneeded defvars.
4987 2013-05-08 Leo Liu <sdl.web@gmail.com>
4989 Re-work a fix for bug#10994 based on Le Wang's patch.
4990 * ido.el (ido-remove-consecutive-dups): New helper.
4991 (ido-completing-read): Use it.
4992 (ido-chop): Revert fix for bug#10994.
4994 2013-05-08 Adam Spiers <emacs@adamspiers.org>
4996 * cus-edit.el (custom-save-variables):
4997 Pretty-print long values. (Bug#14187)
4999 2013-05-08 Glenn Morris <rgm@gnu.org>
5001 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5002 (m4-mode-syntax-table): Init in the defvar.
5003 (m4-mode-abbrev-table): Let define-derived-mode define it.
5005 2013-05-08 Tom Tromey <tromey@redhat.com>
5007 * progmodes/m4-mode.el (m4-mode-syntax-table):
5008 Do not treat "_" as word constituent. (Bug#14167)
5010 2013-05-07 Glenn Morris <rgm@gnu.org>
5012 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5013 Remove explicit eshell-isearch-cancel-map.
5015 * progmodes/f90.el (f90-smart-end-names): New option.
5016 (f90-smart-end): Doc fix.
5017 (f90-end-block-optional-name): New constant.
5018 (f90-block-match): Respect f90-smart-end-names.
5020 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5022 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5023 about implicit semi-colons (bug#14218).
5025 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5027 * frame.el (display-monitor-attributes-list)
5028 (frame-monitor-attributes): New functions.
5030 2013-05-06 Leo Liu <sdl.web@gmail.com>
5032 * progmodes/octave.el (octave-syntax-propertize-function): Change
5033 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5034 (octave-font-lock-keywords): Use octave-operator-regexp.
5035 (octave-completion-at-point): Rename from
5036 octave-completion-at-point-function.
5037 (inferior-octave-directory-tracker): Robustify.
5038 (octave-text-functions): Remove and fix its uses. No such things
5041 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5043 * emacs-lisp/trace.el (trace--display-buffer): New function.
5044 (trace-make-advice): Use it.
5046 2013-05-06 Juri Linkov <juri@jurta.org>
5048 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5049 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5051 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5052 in the help string. (Bug#12985)
5054 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5056 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5058 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5060 * progmodes/perl-mode.el: Add support for here documents.
5061 (perl-syntax-propertize-function): Match here-doc markers.
5062 (perl-syntax-propertize-special-constructs): Find their end.
5063 (perl-imenu-generic-expression): Use [:alnum:].
5065 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5066 (advice--add-function): Refresh the advice if already present
5069 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
5071 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5073 2013-05-06 Glenn Morris <rgm@gnu.org>
5075 * w32-fns.el (w32-charset-info-alist): Declare.
5077 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5078 of its defcustom properties.
5079 (eshell-cmpl-initialize): No need to load pcomplete.
5081 * generic-x.el: No need to require comint when compiling.
5083 * net/eudc-export.el: Make it loadable without bbdb.
5084 (top-level): Use require rather than load-library.
5085 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5086 (eudc-batch-export-records-to-bbdb)
5087 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5090 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5092 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5093 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5094 some tweaks, instead.
5096 2013-05-05 Leo Liu <sdl.web@gmail.com>
5098 * progmodes/octave.el (octave-font-lock-keywords)
5099 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5100 (inferior-octave-send-list-and-digest): Improve error message.
5101 (octave-mode, inferior-octave-mode): Use setq-local.
5102 (octave-help): Set info-lookup-mode.
5104 2013-05-05 Richard Stallman <rms@gnu.org>
5106 * vc/compare-w.el (compare-windows-whitespace):
5107 Treat no-break space as whitespace.
5109 * mail/rmailsum.el (rmail-summary-rmail-update):
5110 Detect empty summary and don't change selected message.
5111 (rmail-summary-goto-msg): Likewise.
5113 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5114 Doc fixes, rename args.
5116 2013-05-05 Alan Mackenzie <acm@muc.de>
5118 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5120 2013-05-05 Juri Linkov <juri@jurta.org>
5122 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5123 to not add the length of the summary segment to the return value.
5126 2013-05-05 Leo Liu <sdl.web@gmail.com>
5128 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5129 (inferior-octave-output-filter): Remove.
5130 (octave-send-region, inferior-octave-startup): Fix callers.
5131 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5132 (octave-binary-file-extensions): New user variable.
5133 (octave-find-definition): Confirm if opening binary files.
5134 (octave-help-file): Use octave-find-definition to get the binary
5136 (octave-help): Adjust for octave-help-file change.
5138 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5141 Merge the two entries that handle function definitions.
5142 (pascal--syntax-propertize): New const.
5143 (pascal-mode): Use it. Use setq-local.
5145 2013-05-04 Glenn Morris <rgm@gnu.org>
5147 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5148 (diary-from-outlook): Respect diary-from-outlook-function.
5150 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5152 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5153 Move the declaration from C.
5154 (read-minibuffer, eval-minibuffer): Move from C.
5155 (completion-setup-function): Avoid minibuffer-completion-contents.
5157 2013-05-03 Leo Liu <sdl.web@gmail.com>
5159 * progmodes/octave.el (octave-font-lock-keywords): Do not
5160 dehighlight 'end' in comments or strings.
5161 (octave-completing-read, octave-goto-function-definition):
5163 (octave-help-buffer): New user variable.
5164 (octave-help-file, octave-help-function): New button types.
5165 (octave-help): New command and bind it to C-h ;.
5166 (octave-find-definition): New command and bind it to M-.
5167 (user-error): Alias to error if not defined.
5169 2013-05-02 Leo Liu <sdl.web@gmail.com>
5171 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5173 (octave-font-lock-keywords): Include [ and {.
5175 2013-05-02 Leo Liu <sdl.web@gmail.com>
5177 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5178 (inferior-octave): Remove calling comint-mode and return the buffer.
5179 (inferior-octave-startup): Cosmetic changes.
5181 2013-05-02 Leo Liu <sdl.web@gmail.com>
5183 * progmodes/octave.el (octave-syntax-propertize-function):
5184 Include the case when ' is at line beginning. (Bug#14336)
5186 2013-05-02 Glenn Morris <rgm@gnu.org>
5188 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5189 * desktop.el (vc-dir-mode): Just autoload it here.
5191 2013-05-02 Alan Mackenzie <acm@muc.de>
5193 Eliminate variable c-standard-font-lock-fontify-region-function.
5194 * progmodes/cc-mode.el
5195 (c-standard-font-lock-fontify-region-function): Remove.
5196 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5198 2013-05-01 Leo Liu <sdl.web@gmail.com>
5200 * progmodes/octave.el: Compatible with older emacs-24 releases.
5201 (inferior-octave-has-built-in-variables): Remove. Built-in
5202 variables were removed from Octave in 2007.
5203 (inferior-octave-startup): Fix uses.
5204 (comint-line-beginning-position): Remove compatibility code for
5207 2013-05-01 Juri Linkov <juri@jurta.org>
5209 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5211 2013-05-01 Juri Linkov <juri@jurta.org>
5213 * comint.el (comint-previous-matching-input): Don't print message
5214 "History item: %d" when `isearch-mode' is active.
5215 (comint-history-isearch-message): Print message "History item: %d"
5216 when `comint-input-ring-index' is not empty and this function is
5217 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5219 2013-05-01 Leo Liu <sdl.web@gmail.com>
5221 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5222 definitions. Use completion-at-point to insert keywords.
5223 (octave-abbrev-start): Remove.
5224 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5226 2013-04-30 Leo Liu <sdl.web@gmail.com>
5228 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5231 2013-04-30 Alan Mackenzie <acm@muc.de>
5233 Handle arbitrarily long C++ member initialisation lists.
5234 * progmodes/cc-engine.el (c-back-over-member-initializers):
5236 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5237 (most) member init lists.
5239 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5241 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5244 2013-04-30 Leo Liu <sdl.web@gmail.com>
5246 * progmodes/octave.el (octave-variables): Remove. No builtin
5247 variables any more. All converted to functions.
5248 (octave-font-lock-keywords, octave-completion-at-point-function):
5250 (octave-font-lock-texinfo-comment): New user variable.
5251 (octave-texinfo-font-lock-keywords): New variable for texinfo
5253 (octave-function-comment-block): New face.
5254 (octave-font-lock-texinfo-comment): New function.
5255 (octave-mode): Font lock texinfo comment block.
5257 2013-04-29 Leo Liu <sdl.web@gmail.com>
5259 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5260 indexing expression.
5261 (octave-continuation-string): Do not use \.
5262 (inferior-octave-complete-impossible): Remove.
5263 (inferior-octave-completion-table)
5264 (inferior-octave-completion-at-point): Remove its uses.
5265 (inferior-octave-startup): completion_matches was introduced to
5266 Octave in 1996 so safe to assume it.
5267 (octave-function-file-comment): Improve to follow how Octave does it.
5268 (octave-update-function-file-comment): Tweak.
5270 2013-04-29 Leo Liu <sdl.web@gmail.com>
5272 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5273 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5274 (octave-function-file-comment): Fix typo.
5275 (octave-sync-function-file-names): Use read-char-choice.
5277 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5279 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5280 to t for the less important warnings.
5282 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5284 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5286 2013-04-27 Glenn Morris <rgm@gnu.org>
5288 * vc/log-view.el (log-view-current-entry):
5289 Treat "---" separator lines as part of the following rev. (Bug#14169)
5291 2013-04-27 Juri Linkov <juri@jurta.org>
5293 * subr.el (read-number): Doc fix about using it by interactive
5294 code letter `n'. (Bug#14254)
5296 2013-04-27 Juri Linkov <juri@jurta.org>
5298 * desktop.el (desktop-auto-save-timeout): New option.
5299 (desktop-file-checksum): New variable.
5300 (desktop-save): Add optional arg `auto-save' and don't auto-save
5302 (desktop-auto-save-timer): New variable.
5303 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5304 (after-init-hook): Call `desktop-auto-save-set-timer'.
5305 Suggested by Reuben Thomas <rrt@sc3d.org> in
5306 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5308 2013-04-27 Leo Liu <sdl.web@gmail.com>
5310 * progmodes/octave.el (octave-function-file-p)
5311 (octave-skip-comment-forward, octave-function-file-comment)
5312 (octave-update-function-file-comment): New functions.
5313 (octave-mode-map): Bind C-c ; to
5314 octave-update-function-file-comment.
5315 (octave-mode-menu): Add octave-update-function-file-comment.
5316 (octave-mode, inferior-octave-mode): Fix doc-string.
5317 (octave-insert-defun): Conform to Octave's coding convention.
5320 * files.el (basic-save-buffer): Don't let errors in
5321 before-save-hook prevent saving buffer.
5323 2013-04-20 Roland Winkler <winkler@gnu.org>
5325 * faces.el (read-face-name): Use completing-read if arg multiple
5328 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5330 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5331 displayed, move point to after the totals line.
5332 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5335 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5337 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5338 Add current dir to the load-path.
5339 (package-generate-autoloads): Don't rely on
5340 autoload-ensure-default-file.
5342 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5344 * textmodes/remember.el (remember-store-in-files): Document that
5345 the file name format is passed to `format-time-string'.
5347 2013-04-26 Leo Liu <sdl.web@gmail.com>
5349 * progmodes/octave.el (octave-sync-function-file-names): New function.
5350 (octave-mode): Use it in before-save-hook.
5352 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5354 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5357 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5358 \n and comment, even if it's not an implicit ; (bug#14218).
5360 2013-04-26 Glenn Morris <rgm@gnu.org>
5362 * subr.el (read-number): Once more use `read' rather than
5363 `string-to-number', to trap non-numeric input. (Bug#14254)
5365 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5367 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5368 Use `syntax-multiline' text property consistently instead of
5369 `font-lock-multiline'. (Bug#14237)
5371 2013-04-26 Glenn Morris <rgm@gnu.org>
5373 * emacs-lisp/shadow.el (list-load-path-shadows):
5374 No longer necessary to check for duplicate simple.el, since
5375 2012-07-07 change to init_lread to not include installation lisp
5376 directories in load-path when running uninstalled. (Bug#14270)
5378 2013-04-26 Leo Liu <sdl.web@gmail.com>
5380 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5381 (octave-mode, inferior-octave-mode): Use setq-local.
5382 (octave-not-in-string-or-comment-p): Rename to
5383 octave-in-string-or-comment-p.
5384 (octave-in-comment-p, octave-in-string-p)
5385 (octave-in-string-or-comment-p): Replace defsubst with defun.
5387 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5389 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5391 2013-04-25 Bastien Guerry <bzg@gnu.org>
5393 * textmodes/remember.el (remember-data-directory)
5394 (remember-directory-file-name-format): Fix custom types.
5396 2013-04-25 Leo Liu <sdl.web@gmail.com>
5398 * progmodes/octave.el (octave-completion-at-point-function):
5399 Make use of inferior octave process.
5400 (octave-initialize-completions): Remove.
5401 (inferior-octave-completion-table): New function.
5402 (inferior-octave-completion-at-point): Use it.
5403 (octave-completion-alist): Remove.
5405 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5407 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5408 (opascal-mode-syntax-table): New var.
5409 (opascal-literal-kind, opascal-is-literal-end)
5410 (opascal-literal-token-at): Rewrite.
5411 (opascal--literal-start-re, opascal-font-lock-keywords)
5412 (opascal--syntax-propertize): New constants.
5413 (opascal-font-lock-defaults): Adjust.
5414 (opascal-mode): Use them. Set comment-<foo> variables as well.
5415 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5416 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5417 (delphi-other-face, opascal-other-face): Remove face variables.
5418 (opascal-save-state): Remove macro.
5419 (opascal-fontifying-progress-step): Remove constant.
5420 (opascal--ignore-changes): Remove var.
5421 (opascal-set-token-property, opascal-parse-next-literal)
5422 (opascal-is-stable-literal, opascal-complete-literal)
5423 (opascal-is-literal-start, opascal-face-of)
5424 (opascal-parse-region, opascal-parse-region-until-stable)
5425 (opascal-fontify-region, opascal-after-change)
5426 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5427 (opascal-debug-parse-region, opascal-debug-parse-window)
5428 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5429 (opascal-debug-fontify-buffer): Remove.
5430 (opascal-debug-mode-map): Adjust accordingly.
5432 2013-04-25 Leo Liu <sdl.web@gmail.com>
5434 Merge octave-mod.el and octave-inf.el into octave.el with some
5436 * progmodes/octave.el: New file renamed from octave-mod.el.
5437 * progmodes/octave-inf.el: Merged into octave.el.
5438 * progmodes/octave-mod.el: Renamed to octave.el.
5440 2013-04-25 Tassilo Horn <tsdh@gnu.org>
5442 * textmodes/reftex-vars.el
5443 (reftex-label-ignored-macros-and-environments): New defcustom.
5445 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5447 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5449 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5450 (smie-indent-keyword): Improve the check to ensure that the next
5451 comment is really on the same line.
5452 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5454 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5455 semi-colons if the line is not otherwise empty (bug#14218).
5457 2013-04-25 Glenn Morris <rgm@gnu.org>
5459 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5461 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5463 * progmodes/opascal.el (opascal-set-token-property): Rename from
5464 opascal-set-text-properties and only set `token' (bug#14134).
5465 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5466 (opascal-literal-text-properties): Remove.
5467 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5470 2013-04-24 Reuben Thomas <rrt@sc3d.org>
5472 * textmodes/remember.el (remember-handler-functions): Add an
5473 option for a new handler `remember-store-in-files'.
5474 (remember-data-directory, remember-directory-file-name-format):
5476 (remember-store-in-files): New function to store remember notes
5477 as separate files within a directory.
5479 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5481 * progmodes/compile.el (compilation-next-error-function):
5482 Pass "formats" to compilation-find-file (bug#11777).
5484 2013-04-24 Glenn Morris <rgm@gnu.org>
5486 * vc/vc-bzr.el (vc-bzr-print-log):
5487 * vc/vc-hg.el (vc-hg-print-log):
5488 * vc/vc-svn.el (vc-svn-print-log):
5489 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5491 * vc/vc-bzr.el (vc-bzr-print-log):
5492 * vc/vc-cvs.el (vc-cvs-print-log):
5493 * vc/vc-git.el (vc-git-print-log):
5494 * vc/vc-hg.el (vc-hg-print-log):
5495 * vc/vc-mtn.el (vc-mtn-print-log):
5496 * vc/vc-rcs.el (vc-rcs-print-log):
5497 * vc/vc-sccs.el (vc-sccs-print-log):
5498 * vc/vc-svn.el (vc-svn-print-log):
5499 * vc/vc.el (vc-print-log-internal): Doc fixes.
5501 2013-04-23 Glenn Morris <rgm@gnu.org>
5503 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5504 Remove venerable code attempting to avoid substitute-command-keys.
5506 2013-04-23 Tassilo Horn <tsdh@gnu.org>
5508 * textmodes/reftex-vars.el (reftex-label-regexps):
5509 Call `reftex-compile-variables' after changes to this variable.
5511 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5513 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5514 Use lexical-binding.
5515 (jit-lock-force-redisplay): Use markers, check buffer's continued
5516 existence and beware narrowed buffers.
5517 (jit-lock-fontify-now): Adjust call accordingly.
5519 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5521 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5522 to avoid misleading the user.
5524 2013-04-22 Leo Liu <sdl.web@gmail.com>
5526 * info-look.el: Prefer latex2e.info. (Bug#14240)
5528 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
5530 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5532 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5533 * net/tramp.el (tramp-call-process): ... here.
5534 (tramp-set-completion-function, tramp-parse-putty):
5535 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5536 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5537 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5538 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5539 (tramp-call-local-coding-command): Use `tramp-call-process'
5540 instead of `tramp-compat-call-process'.
5542 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5543 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5544 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5545 (tramp-find-inline-compress): Improve traces.
5546 (tramp-maybe-send-script): Check for Perl binary.
5547 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5549 2013-04-22 Daiki Ueno <ueno@gnu.org>
5551 * epg.el (epg-context-pinentry-mode): New function.
5552 (epg-context-set-pinentry-mode): New function.
5553 (epg--start): Pass --pinentry-mode option to gpg command.
5555 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5557 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5558 `comint-dynamic-complete' is obsolete since 24.1, replaced by
5559 `completion-at-point'. (Bug#13774)
5561 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5562 default key binding for `describe-distribution' has been moved to
5563 `C-h C-o'. (Bug#13970)
5565 2013-04-21 Glenn Morris <rgm@gnu.org>
5567 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5569 (vc-print-log): Clarify interactive prompt.
5571 2013-04-20 Glenn Morris <rgm@gnu.org>
5573 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5574 No longer include timestamp etc information.
5576 2013-04-20 Roland Winkler <winkler@gnu.org>
5578 * faces.el (read-face-name): Bug fix, return just one face if arg
5579 multiple is nil. (Bug#14209)
5581 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5583 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5584 (remove-function): Autoload.
5586 * comint.el (comint-redirect-original-filter-function): Remove.
5587 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5588 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5589 (vc-cvs-annotate-command):
5590 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5591 * progmodes/prolog.el (prolog-consult-compile):
5592 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5593 Use add/remove-function instead.
5594 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5595 (gud-tooltip-process-output, gud-tooltip-tips):
5596 Use add/remove-function instead.
5597 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5598 (scheme-interaction-mode, exit-scheme-interaction-mode):
5599 Use add/remove-function instead.
5601 * vc/vc-dispatcher.el: Use lexical-binding.
5602 (vc--process-sentinel): Rename from vc-process-sentinel.
5603 Change last arg to be the code to run. Don't use vc-previous-sentinel
5604 and vc-sentinel-commands any more.
5605 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5606 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5608 2013-04-19 Masatake YAMATO <yamato@redhat.com>
5610 * progmodes/sh-script.el (sh-imenu-generic-expression):
5611 Handle function names with a single character. (Bug#14111)
5613 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
5615 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5616 for subroutines defined in an eval (bug#14182).
5618 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5620 * bookmark.el (bookmark-completing-read): Improve handling of empty
5623 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5625 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5627 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5629 New faster Imenu implementation (bug#14058).
5630 * progmodes/python.el:
5631 (python-imenu-prev-index-position):
5632 (python-imenu-format-item-label-function)
5633 (python-imenu-format-parent-item-label-function)
5634 (python-imenu-format-parent-item-jump-label-function):
5636 (python-imenu-format-item-label)
5637 (python-imenu-format-parent-item-label)
5638 (python-imenu-format-parent-item-jump-label)
5639 (python-imenu--put-parent, python-imenu--build-tree)
5640 (python-imenu-create-index, python-imenu-create-flat-index)
5641 (python-util-popn): New functions.
5642 (python-mode): Set imenu-create-index-function to
5643 python-imenu-create-index.
5645 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * winner.el (winner-active-region): Use region-active-p, activate-mark
5648 and deactivate-mark (bug#14225).
5650 * simple.el (deactivate-mark): Don't inline it.
5652 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
5654 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5656 2013-04-18 Tassilo Horn <tsdh@gnu.org>
5658 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5659 file extensions from the archive-mode entry in order to prefer
5660 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5662 2013-04-18 Leo Liu <sdl.web@gmail.com>
5664 * bindings.el (help-event-list): Add ?\?.
5666 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5668 * subr.el (with-wrapper-hook): Declare obsolete.
5669 * simple.el (filter-buffer-substring-function): New hook.
5670 (filter-buffer-substring): Use it.
5671 (filter-buffer-substring-functions): Mark obsolete.
5672 * minibuffer.el (completion-in-region-function): New hook.
5673 (completion-in-region): Use it.
5674 (completion-in-region-functions): Mark obsolete.
5675 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5676 * abbrev.el (abbrev-expand-function): New hook.
5677 (expand-abbrev): Use it.
5678 (abbrev-expand-functions): Mark obsolete.
5679 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5682 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5684 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5685 and do not care about match data.
5687 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5689 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5690 completion tables when completing error conditions and
5691 `declare' arguments.
5692 (lisp-complete-symbol, field-complete): Mark as obsolete.
5693 (check-parens): Unmatched parens are user errors.
5694 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5696 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
5698 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5699 command changed buffer (ie. `flyspell-pre-buffer' is not current
5700 buffer), which prevents making decisions based on invalid value of
5701 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5702 cause an error when `flyspell-pre-point' was nil after switching
5704 (flyspell-post-command-hook): No longer needs to change buffers when
5705 checking pre-word. While at it remove unnecessary progn.
5707 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5709 * textmodes/ispell.el (ispell-add-per-file-word-list):
5710 Fix `flyspell-correct-word-before-point' error when accepting
5711 words and `coment-padding' is an integer by using
5712 `comment-normalize-vars' (Bug #14214).
5714 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5716 New defun movement commands.
5717 * progmodes/python.el (python-nav--syntactically)
5718 (python-nav--forward-defun, python-nav-backward-defun)
5719 (python-nav-forward-defun): New functions.
5721 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5723 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5724 (python-syntax-context): Use named compiler-macro for backwards
5725 compatibility with Emacs 24.x.
5727 2013-04-17 Leo Liu <sdl.web@gmail.com>
5729 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5730 octave-hide-process-buffer.
5732 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5734 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5737 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5739 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5740 Fix adjustment of offset when receiving incomplete responses from GDB
5743 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5745 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5746 python-mode-abbrev-table.
5747 (python-skeleton-define): Adjust accordingly.
5748 (python-mode-abbrev-table): New table that inherits from it so that
5749 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5751 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5752 (abbrev-symbol): Use it.
5753 (abbrev--before-point): Use it since we already handle inheritance.
5755 2013-04-16 Leo Liu <sdl.web@gmail.com>
5757 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5758 binding to info-lookup-symbol.
5760 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
5762 * minibuffer.el (completion--twq-all):
5763 * term/ns-win.el (ns-initialize-window-system):
5764 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5766 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5768 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5771 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5773 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5775 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5776 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5778 (ruby-end-of-defun): Remove the unused arg, change the docstring
5779 to reflect that this function is only used as the value of
5780 `end-of-defun-function'.
5781 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5782 to reflect an earlier change that beginning/end-of-defun functions
5783 jump between methods in a class definition, as well as top-level
5786 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5788 * minibuffer.el (minibuffer-complete): Don't just scroll
5789 a *Completions* that's been iconified.
5790 (minibuffer-force-complete): Make sure repetitions do cycle when going
5791 through completion-in-region -> minibuffer-complete.
5793 2013-04-15 Alan Mackenzie <acm@muc.de>
5795 Correct the placement of c-cpp-delimiters when there're #s not at
5798 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5799 place a submatch around the #.
5800 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5801 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
5804 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5806 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5807 (advice--member-p): New arg `name'.
5808 (advice--add-function, advice-member-p): Use it (bug#14202).
5810 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5812 Reformulate java imenu-generic-expression.
5813 The old expression contained ill formed regexps.
5815 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5816 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5817 (cc-imenu-java-method-arg-regexp): New defconsts.
5818 (cc-imenu-java-build-type-args-regex): New defun.
5819 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5820 handling of spaces in the regexp.
5822 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5824 * textmodes/ispell.el (ispell-command-loop): Remove
5825 flyspell highlight of a word when ispell accepts it (bug #14178).
5827 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
5829 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5830 uses code from the previous `ange-ftp-run-real-handler'.
5831 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5832 only in case that function exist. This is needed for proper
5835 2013-04-15 Tassilo Horn <tsdh@gnu.org>
5837 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5839 * textmodes/reftex.el (reftex-compile-variables): Use it.
5841 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5843 * files.el (normal-mode): Only use default major-mode if no other mode
5846 * emacs-lisp/trace.el (trace-values): New function.
5848 * files.el: Allow : in local variables (bug#14089).
5849 (hack-local-variable-regexp): New var.
5850 (hack-local-variables-prop-line, hack-local-variables): Use it.
5852 2013-04-13 Roland Winkler <winkler@gnu.org>
5854 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5855 data before it gets modified by bibtex-beginning-of-entry.
5857 2013-04-13 Roland Winkler <winkler@gnu.org>
5859 * textmodes/bibtex.el (bibtex-url): Doc fix.
5861 2013-04-13 Roland Winkler <winkler@gnu.org>
5863 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5864 does not visit a BibTeX file, exclude it from the list of buffers
5865 returned by bibtex-initialize.
5867 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
5869 * window.el (split-window): Remove interactive form, since as a
5870 command this function is a special case of split-window-below.
5873 2013-04-12 Roland Winkler <winkler@gnu.org>
5875 * faces.el (read-face-name): Do not override value of arg default.
5876 Allow single faces and strings as default values. Remove those
5877 elements from return value that are not faces.
5878 (describe-face): Simplify.
5879 (face-at-point): New optional args thing and multiple so that this
5880 function can provide the same functionality previously provided by
5882 (make-face-bold, make-face-unbold, make-face-italic)
5883 (make-face-unitalic, make-face-bold-italic, invert-face)
5884 (modify-face, read-face-and-attribute): Use face-at-point.
5886 * cus-edit.el (customize-face, customize-face-other-window)
5887 * cus-theme.el (custom-theme-add-face)
5888 * face-remap.el (buffer-face-set)
5889 * facemenu.el (facemenu-set-face): Use face-at-point.
5891 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
5893 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5895 2013-04-10 Tassilo Horn <tsdh@gnu.org>
5897 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5898 off leading { and trailing } from field values.
5900 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5902 * emacs-lisp/timer.el (timer--check): New function.
5903 (timer--time, timer-set-function, timer-event-handler): Use it.
5904 (timer-set-idle-time): Simplify.
5905 (timer--activate): CSE.
5906 (timer-event-handler): Give more info in error message.
5907 (internal-timer-start-idle): New function, moved from C.
5909 * mpc.el (mpc-proc): Add `restart' argument.
5910 (mpc-proc-cmd): Use it.
5911 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5912 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5915 2013-04-10 Masatake YAMATO <yamato@redhat.com>
5917 * progmodes/sh-script.el: Implement `sh-mode' own
5918 `add-log-current-defun-function' (bug#14112).
5919 (sh-current-defun-name): New function.
5920 (sh-mode): Use the function.
5922 2013-04-09 Bastien Guerry <bzg@gnu.org>
5924 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5926 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5928 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5930 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5933 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5935 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5938 2013-04-07 Leo Liu <sdl.web@gmail.com>
5940 * pcmpl-x.el: New file.
5942 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5944 Do not set x-display-name until X connection is established.
5945 This is needed to prevent from weird situation described at
5946 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5947 * frame.el (make-frame): Set x-display-name after call to
5948 window system initialization function, not before.
5949 * term/x-win.el (x-initialize-window-system): Add optional
5950 display argument and use it.
5951 * term/w32-win.el (w32-initialize-window-system):
5952 * term/ns-win.el (ns-initialize-window-system):
5953 * term/pc-win.el (msdos-initialize-window-system):
5954 Add compatible optional display argument.
5956 2013-04-06 Eli Zaretskii <eliz@gnu.org>
5958 * files.el (normal-backup-enable-predicate): On MS-Windows and
5959 MS-DOS compare truenames of temporary-file-directory and of the
5960 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5961 don't fail comparison by compare-strings. Also, compare file
5962 names case-insensitively on MS-Windows and MS-DOS.
5964 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5966 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5967 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5969 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
5971 * whitespace.el (whitespace-color-on, whitespace-color-off):
5972 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5974 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
5976 * ispell.el (ispell-set-spellchecker-params):
5977 Really set `ispell-args' for all equivs.
5979 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5981 * ido.el (ido-completions): Use extra elements of ido-decorations
5983 (ido-decorations): Update docstring.
5985 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
5987 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5988 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5989 nil during initialization, in order not to miss changes since the
5990 file was opened. (Bug#14140)
5992 2013-04-05 Leo Liu <sdl.web@gmail.com>
5994 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5996 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5998 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6000 2013-04-04 Glenn Morris <rgm@gnu.org>
6002 * electric.el (electric-pair-inhibit-predicate): Add :version.
6004 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6006 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6007 when a package is required several times (bug#14082).
6009 2013-04-04 Roland Winkler <winkler@gnu.org>
6011 * faces.el (read-face-name): Behave as promised by the docstring.
6012 Assume that arg default is a list of faces.
6013 (describe-face): Call read-face-name with list of default faces.
6015 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6017 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6018 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6019 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6021 (bookmark-exit-hook-internal): Save even if list is empty.
6023 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6025 * emacs-lisp/package.el (package-pinned-packages): New var.
6026 (package--add-to-archive-contents): Obey it (bug#14118).
6028 2013-04-03 Alan Mackenzie <acm@muc.de>
6030 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6031 Also adapt to the new values of element 7 of a parse state.
6033 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6034 parameter `not-in-delimiter'. Handle being inside comment opener.
6035 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6036 character in case we're typing a '*' after a '/'.
6037 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6038 instead by passing the parameter to c-state-pp-to-literal.
6040 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6041 for elt. 7 of a parse state.
6043 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6045 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6046 * international/latin1-disp.el, international/mule-util.el:
6047 * language/cyril-util.el, language/european.el, language/ind-util.el:
6048 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6049 * language/tibetan.el, language/viet-util.el:
6050 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6052 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6054 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6055 (electric-pair-post-self-insert-function): Use it.
6056 (electric-pair-default-inhibit): New function, extracted from
6057 electric-pair-post-self-insert-function.
6059 2013-03-31 Roland Winkler <winkler@gnu.org>
6061 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6063 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6065 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6067 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
6069 Un-indent after "pass" and "return" statements (Bug#13888)
6070 * progmodes/python.el (python-indent-block-enders): New var.
6071 (python-indent-calculate-indentation): Use it.
6073 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
6075 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6076 defun. Defining it as defalias could introduce too eager
6077 byte-compiler optimization. (Bug#14030)
6079 2013-03-30 Chong Yidong <cyd@gnu.org>
6081 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6083 2013-03-30 Leo Liu <sdl.web@gmail.com>
6085 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6086 (kmacro-execute-from-register): Pass the keyboard macro to
6087 kmacro-call-macro or repeating won't work correctly.
6089 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6091 * progmodes/subword.el: Back to using `forward-symbol'.
6093 * subr.el (forward-whitespace, forward-symbol)
6094 (forward-same-syntax): Move from thingatpt.el.
6096 2013-03-29 Leo Liu <sdl.web@gmail.com>
6098 * kmacro.el (kmacro-to-register): New command.
6099 (kmacro-execute-from-register): New function.
6100 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6102 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * mpc.el: Use defvar-local and setq-local.
6105 (mpc--proc-connect): Connection failures are not bugs.
6106 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6107 (mpc-volume-map): Bind to the up-events.
6109 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6111 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6112 instead of `forward-symbol'.
6114 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6116 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6117 (edebug--recursive-edit): Use it.
6118 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6119 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6121 2013-03-28 Leo Liu <sdl.web@gmail.com>
6123 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6125 2013-03-27 Eli Zaretskii <eliz@gnu.org>
6127 * facemenu.el (list-colors-callback): New defvar.
6128 (list-colors-redisplay): New function.
6129 (list-colors-display): Install list-colors-redisplay as the
6130 revert-buffer-function. (Bug#14063)
6132 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6134 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6135 and suffixes don't overlap (bug#14061).
6137 * case-table.el: Use lexical-binding.
6138 (case-table-get-table): New function.
6139 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6141 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6143 * progmodes/subword.el: Add `superword-mode' to do word motion
6144 over symbol_words (parallels and leverages `subword-mode' which
6145 does word motion inside MixedCaseWords).
6147 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6149 * eshell/em-unix.el: Move su and sudo to...
6150 * eshell/em-tramp.el: ...Eshell tramp module.
6152 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6154 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6155 Change return value to be a sexp. Delay `get-buffer' to after
6156 restoring the desktop (bug#13951).
6158 2013-03-26 Leo Liu <sdl.web@gmail.com>
6160 * register.el: Move semantic tag handling back to
6161 cedet/semantic/senator.el. (Bug#14052)
6163 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6165 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6166 into the prompt either (bug#13963).
6168 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6170 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6171 part of "(error-foo)".
6173 2013-03-24 Juri Linkov <juri@jurta.org>
6175 * replace.el (list-matching-lines-prefix-face): New defcustom.
6176 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6177 `occur-engine' if `face-differs-from-default-p' returns t.
6178 (occur-engine): Add `,' inside backquote construct to evaluate
6179 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6180 Pass `prefix-face' to the functions `occur-context-lines' and
6181 `occur-engine-add-prefix'.
6182 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6183 `prefix-face' and propertize the prefix with `prefix-face'.
6186 2013-03-24 Leo Liu <sdl.web@gmail.com>
6188 * nxml/rng-valid.el (rng-validate-while-idle)
6189 (rng-validate-quick-while-idle): Guard against deleted buffer.
6192 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6193 is the last entry in kill-buffer-hook.
6195 * files.el (kill-buffer-hook): Doc fix.
6197 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6199 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6202 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6204 2013-03-23 Leo Liu <sdl.web@gmail.com>
6206 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6209 * nxml/rng-valid.el (rng-validate-mode)
6210 (rng-after-change-function, rng-do-some-validation):
6211 * nxml/rng-maint.el (rng-validate-buffer):
6212 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6213 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6214 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6215 (nxml-extend-after-change-region): Use with-silent-modifications.
6217 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6220 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6221 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6222 timer-idle-list. (Bug#13999)
6224 2013-03-23 Juri Linkov <juri@jurta.org>
6226 * info.el (info-index-match): New face.
6227 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6228 main pattern and add text properties with the new face to matches
6229 in index entries relative to the beginning of the index entry.
6232 2013-03-21 Eric Ludlam <zappo@gnu.org>
6234 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6235 Inhibit read only while inserting objects.
6237 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6239 * progmodes/cfengine.el: Update docs to mention
6240 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6241 symbol motion. Remove "_" from the word syntax.
6243 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6245 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6246 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6248 2013-03-20 Juri Linkov <juri@jurta.org>
6250 * info.el (Info-next-reference-or-link)
6251 (Info-prev-reference-or-link): New functions.
6252 (Info-next-reference, Info-prev-reference): Use them.
6253 (Info-try-follow-nearest-node): Handle footnote navigation.
6254 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6256 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6258 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6259 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6261 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6263 Suppress unnecessary non-ASCII chatter during build process.
6264 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6265 (batch-skkdic-convert): Suppress most of the chatter.
6266 It's not needed so much now that machines are faster,
6267 and its non-ASCII component was confusing; see Dmitry Gutov in
6268 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6270 2013-03-20 Leo Liu <sdl.web@gmail.com>
6272 * ido.el (ido-chop): Fix bug#10994.
6274 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6276 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6278 (whitespace-color-on, whitespace-color-off):
6279 Use `font-lock-fontify-buffer' (Bug#13817).
6281 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6283 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6284 remapping in mode-line.
6285 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6287 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6289 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6290 value for `whitespace-line' face (Bug#13875).
6291 (whitespace-font-lock-keywords): Change description.
6292 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6293 the constructed keywords instead.
6294 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6296 2013-03-19 Leo Liu <sdl.web@gmail.com>
6298 * progmodes/compile.el (compilation-display-error): New command.
6299 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6302 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6304 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6306 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6308 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6310 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6312 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6314 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6315 * net/tramp-gvfs.el (top):
6316 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6317 (tramp-handle-shell-command): Use it.
6318 (tramp-dissect-file-name): Raise an error when hostname is a
6319 method name, and neither method nor user is specified.
6321 * net/trampver.el: Update release number.
6323 2013-03-18 Leo Liu <sdl.web@gmail.com>
6325 Make sure eldoc can be turned off properly.
6326 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6328 (eldoc-display-message-p): Revert last change.
6329 (eldoc-display-message-no-interference-p)
6330 (eldoc-print-current-symbol-info): Tweak.
6332 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6334 * doc-view.el (doc-view-new-window-function): Check the new window
6335 overlay's display property instead the char property of the
6336 buffer's first char. Use `with-selected-window' instead of
6337 `save-window-excursion' with `select-window'.
6338 (doc-view-document->bitmap): Check the current doc-view overlay's
6339 display property instead the char property of the buffer's first char.
6341 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6343 Automate the build of ja-dic.el (Bug#13984).
6344 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6345 from the input, rather than assume that it's been done for us by the
6346 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6347 the current date into a ja-dic.el comment, as that complicates
6350 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6352 * whitespace.el: Fix double evaluation.
6353 (whitespace-space, whitespace-hspace, whitespace-tab)
6354 (whitespace-newline, whitespace-trailing, whitespace-line)
6355 (whitespace-space-before-tab, whitespace-indentation)
6356 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6358 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6359 (whitespace-color-on): Use a single font-lock-add-keywords call.
6360 Fix double-evaluation of face variables.
6362 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6364 * net/tramp-adb.el (tramp-adb-parse-device-names):
6365 Use `start-process' instead of `call-process'. Otherwise, the
6366 function might be blocked under MS Windows. (Bug#13299)
6368 2013-03-17 Leo Liu <sdl.web@gmail.com>
6370 Extend eldoc to display info in the mode-line. (Bug#13978)
6371 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6372 (eldoc-mode-line-string): New variable.
6373 (eldoc-minibuffer-message): New function.
6374 (eldoc-message-function): New variable.
6375 (eldoc-message): Use it.
6376 (eldoc-display-message-p)
6377 (eldoc-display-message-no-interference-p):
6378 Support eldoc-post-insert-mode.
6380 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6381 (eval-expression): Run it.
6383 2013-03-17 Roland Winkler <winkler@gnu.org>
6385 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6386 strings in the list of return values.
6388 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6390 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6391 radix before checking for HMS forms.
6393 2013-03-16 Leo Liu <sdl.web@gmail.com>
6395 * progmodes/scheme.el: Add indentation and font-locking for λ.
6398 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
6400 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6401 token before point (bug#13942).
6403 2013-03-16 Leo Liu <sdl.web@gmail.com>
6405 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
6407 2013-03-16 Eli Zaretskii <eliz@gnu.org>
6409 * startup.el (command-line-normalize-file-name): Fix handling of
6410 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6411 <xfq.free@gmail.com> in
6412 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6414 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
6416 Sync with Tramp 2.2.7.
6418 * net/trampver.el: Update release number.
6420 2013-03-14 Tassilo Horn <tsdh@gnu.org>
6422 * doc-view.el Fix bug#13887.
6423 (doc-view-insert-image): Don't modify overlay associated to
6424 non-live windows, and implement horizontal centering of image in
6425 case it's smaller than the window.
6426 (doc-view-new-window-function): Force redisplay of new windows on
6429 2013-03-13 Karl Fogel <kfogel@red-bean.com>
6431 * saveplace.el (save-place-alist-to-file): Don't sort
6432 `save-place-alist', just pretty-print it (bug#13882).
6434 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
6436 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6437 Check whether `default-file-name-coding-system' is bound.
6440 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6442 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6443 backquotes for `obsolete' (bug#13929).
6445 * international/mule.el (find-auto-coding): Include file name in
6446 obsolescence warning (bug#13922).
6448 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6450 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6451 for CFEngine 3-specific indentation.
6452 (cfengine3-indent-line): Use it. Fix up category regex.
6453 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6455 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * type-break.el (type-break-file-name):
6458 * textmodes/remember.el (remember-data-file):
6459 * strokes.el (strokes-file):
6460 * shadowfile.el (shadow-initialize):
6461 * saveplace.el (save-place-file):
6462 * ps-bdf.el (bdf-cache-file):
6463 * progmodes/idlwave.el (idlwave-config-directory):
6464 * net/quickurl.el (quickurl-url-file):
6465 * international/kkc.el (kkc-init-file-name):
6466 * ido.el (ido-save-directory-list-file):
6467 * emulation/viper.el (viper-custom-file-name):
6468 * emulation/vip.el (vip-startup-file):
6469 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6470 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6472 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6474 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6475 * language/thai-word.el: Switch to UTF-8.
6477 See ChangeLog.16 for earlier changes.
6483 Copyright (C) 2011-2013 Free Software Foundation, Inc.
6485 This file is part of GNU Emacs.
6487 GNU Emacs is free software: you can redistribute it and/or modify
6488 it under the terms of the GNU General Public License as published by
6489 the Free Software Foundation, either version 3 of the License, or
6490 (at your option) any later version.
6492 GNU Emacs is distributed in the hope that it will be useful,
6493 but WITHOUT ANY WARRANTY; without even the implied warranty of
6494 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6495 GNU General Public License for more details.
6497 You should have received a copy of the GNU General Public License
6498 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.