1 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3 * image.el (image-content-type-suffixes): New variable.
5 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7 * progmodes/python.el (python-imenu--build-tree)
8 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
12 * simple.el (backward-word): Mention the optional argument.
14 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
16 * frameset.el (frameset--make): Rename constructor from make-frameset.
17 (frameset-p, frameset-valid-p): Don't autoload.
18 (frameset-valid-p): Use normal accessors.
20 2013-08-13 Glenn Morris <rgm@gnu.org>
22 * progmodes/compile.el (compile-command): Tweak example in doc.
23 * obsolete/scribe.el (scribe-mode):
24 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
26 * mail/feedmail.el (feedmail-confirm-outgoing)
27 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
29 * cus-start.el (truncate-partial-width-windows): Fix type.
31 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
33 * net/shr.el (shr-table-horizontal-line): Fix custom type.
35 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
37 * emacs-lisp/timer.el (timer--time-setter): New function.
38 (timer--time): Use it as gv-setter.
40 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
41 setter is not a symbol.
43 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
45 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
46 if sending fails. This makes debugging easier.
48 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
50 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
51 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
52 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
54 2013-08-12 Eli Zaretskii <eliz@gnu.org>
56 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
58 2013-08-12 Glenn Morris <rgm@gnu.org>
60 * format.el (format-annotate-function):
61 Handle read-only text properties in the source. (Bug#14887)
63 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
65 * net/eww.el (eww-display-html): Ignore coding system errors.
66 One web site uses "utf-8lias" as the coding system.
68 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
70 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
72 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
74 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
75 (tutorial--detailed-help): Remove unused local variables.
76 (tutorial--save-tutorial-to): Use ignore-errors.
77 (help-with-tutorial): Use looking-at-p.
79 * view.el (view-buffer-other-window, view-buffer-other-frame):
80 Mark unused arguments.
82 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
83 (woman-select-symbol-fonts, woman, woman-find-file)
84 (woman-insert-file-contents, woman-non-underline-faces):
86 (woman1-unquote): Move declaration.
88 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
89 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
90 argument. Remove unused local variable.
91 (xml-parse-elem-type): Use string-match-p.
92 (xml-substitute-numeric-entities): Use ignore-errors.
94 * calculator.el (calculator): Mark unused argument.
95 (calculator-paste, calculator-quit, calculator-integer-p):
97 (calculator-string-to-number, calculator-decimal, calculator-exp)
98 (calculator-op-or-exp): Use string-match-p.
100 * dired.el (dired-buffer-more-recently-used-p): Declare.
101 (dired-insert-set-properties, dired-insert-old-subdirs):
104 * dired-aux.el (dired-compress): Use ignore-errors.
105 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
106 (dired-do-async-shell-command, dired-do-shell-command)
107 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
108 (dired-insert-subdir-validate): Use string-match-p.
109 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
110 (dired-add-entry): Use string-match-p, looking-at-p.
111 (dired-insert-subdir-newpos): Remove unused local variable.
113 * filenotify.el (file-notify-callback): Remove unused local variable.
115 * filesets.el (filesets-error): Mark unused argument.
116 (filesets-which-command-p, filesets-filter-dir-names)
117 (filesets-directory-files, filesets-get-external-viewer)
118 (filesets-ingroup-get-data): Use string-match-p.
120 * find-file.el (ff-other-file-name, ff-other-file-name)
121 (ff-find-the-other-file, ff-cc-hh-converter):
122 Remove unused local variables.
123 (ff-get-file-name): Use string-match-p.
124 (ff-all-dirs-under): Use ignore-errors.
126 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
127 (follow-select-if-visible): Remove unused local variable.
129 * forms.el (read-file-filter): Move declaration.
130 (forms--make-format, forms--make-parser, forms-insert-record):
131 Quote function with #'.
132 (forms--update): Use string-match-p. Quote function with #'.
134 * help-mode.el (help-dir-local-var-def): Mark unused argument.
135 (help-make-xrefs): Use looking-at-p.
136 (help-xref-on-pp): Use looking-at-p, ignore-errors.
138 * ibuffer.el (ibuffer-ext-visible-p): Declare.
139 (ibuffer-confirm-operation-on): Use string-match-p.
141 * msb.el (msb-item-handler, msb-dired-item-handler):
142 Mark unused arguments.
144 * ses.el (ses-decode-cell-symbol)
145 (ses-kill-override): Remove unused local variable.
146 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
147 (ses-load): Use ignore-errors, looking-at-p.
148 (ses-jump-safe): Use ignore-errors.
149 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
151 * tabify.el (untabify, tabify): Mark unused arguments.
153 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
154 Mark unused argument.
155 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
156 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
158 * emacs-lisp/timer.el (timer--time): Define setter with
159 gv-define-setter to avoid deprecation warning.
161 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
162 (*record-cmpl-statistics-p*): Remove (was commented out).
163 (cmpl-statistics-block): Remove (body was commented out).
165 (add-completions-from-buffer, load-completions-from-file):
166 Remove unused variables.
168 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
170 * filecache.el (file-cache-delete-file-list):
171 Print message only when told so.
172 (file-cache-files-matching): Use #' in mapconcat argument.
174 * ffap.el (ffap-url-at-point): Fix reference to variable
175 thing-at-point-default-mail-uri-scheme.
177 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
179 * subr.el (define-error): New function.
180 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
181 error-file-not-found and define with define-error.
182 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
183 and define with define-error.
184 * userlock.el (file-locked, file-supersession):
185 * simple.el (mark-inactive):
186 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
187 * progmodes/ada-mode.el (ada-mode-errors):
188 * play/life.el (life-extinct):
189 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
190 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
191 * nxml/rng-util.el (rng-error):
192 * nxml/rng-uri.el (rng-uri-error):
193 * nxml/rng-match.el (rng-compile-error):
194 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
195 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
196 * nxml/nxml-rap.el (nxml-scan-error):
197 * nxml/nxml-outln.el (nxml-outline-error):
198 * net/soap-client.el (soap-error):
199 * net/gnutls.el (gnutls-error):
200 * net/ange-ftp.el (ftp-error):
201 * mpc.el (mpc-proc-error):
202 * json.el (json-error, json-readtable-error, json-unknown-keyword)
203 (json-number-format, json-string-escape, json-string-format)
204 (json-key-format, json-object-format):
205 * jka-compr.el (compression-error):
206 * international/quail.el (quail-error):
207 * international/kkc.el (kkc-error):
208 * emacs-lisp/ert.el (ert-test-failed):
209 * calc/calc.el (calc-error, inexact-result, math-overflow)
211 * bookmark.el (bookmark-error-no-filename):
212 * epg.el (epg-error): Define with define-error.
214 * time.el (display-time-event-handler)
215 (display-time-next-load-average): Don't call sit-for since it seems
216 unnecessary (bug#15045).
218 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
219 Use #' instead of ' to quote functions.
220 (checkdoc-output-mode): Use setq-local.
221 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
222 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
223 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
224 (checkdoc-ispell, checkdoc-ispell-current-buffer)
225 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
226 (checkdoc-ispell-message-text, checkdoc-ispell-start)
227 (checkdoc-ispell-continue, checkdoc-ispell-comments)
228 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
230 * ido.el (ido-completion-help): Fix up compiler warning.
232 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
234 * frameset.el (frameset-p): Add autoload cookie.
235 (frameset--jump-to-register): New function, based on code moved from
237 (frameset-to-register): Move from register.el. Adapt to `registerv'.
239 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
240 (frameset-restore, frameset-save, frameset-session-filter-alist):
242 (register-alist): Doc fix.
243 (frameset-to-register): Move to frameset.el.
244 (jump-to-register, describe-register-1): Remove frameset-specific code.
246 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
248 * allout-widgets.el (allout-widgets-pre-command-business)
249 (allout-widgets-post-command-business)
250 (allout-widgets-after-change-handler)
251 (allout-decorate-item-and-context, allout-set-boundary-marker)
252 (allout-body-modification-handler)
253 (allout-graphics-modification-handler): Mark ignored arguments.
254 (allout-widgets-post-command-business)
255 (allout-widgets-exposure-change-processor)
256 (allout-widgets-exposure-undo-processor)
257 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
258 (allout-parse-item-at-point, allout-decorate-item-guides)
259 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
260 * allout.el (epa-passphrase-callback-function): Declare.
261 (allout-overlay-insert-in-front-handler)
262 (allout-overlay-interior-modification-handler)
263 (allout-isearch-end-handler, allout-chart-siblings)
264 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
265 (allout-yank-processing, allout-process-exposed)
266 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
267 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
268 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
269 (lisp-indent-defform): Mark ignored arguments.
270 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
271 (calculate-lisp-indent): Remove unused variables.
272 * international/characters.el (indian-2-column, arabic-2-column)
273 (tibetan): Mark ignored arguments.
274 (use-cjk-char-width-table): Mark ignored arguments.
275 Remove unused variables.
276 * international/fontset.el (build-default-fontset-data)
277 (x-compose-font-name, create-fontset-from-fontset-spec):
278 Mark ignored arguments.
279 (fontset-plain-name): Remove unused variables.
280 * international/mule.el (charset-id, charset-bytes, generic-char-p)
281 (keyboard-coding-system): Mark ignored arguments.
282 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
283 * help.el (resize-temp-buffer-window):
284 * window.el (display-buffer-in-major-side-window)
285 (display-buffer-in-side-window, display-buffer-in-previous-window):
286 Remove unused variables.
287 * isearch.el (isearch-forward-symbol):
288 * version.el (emacs-bzr-version-bzr):
289 * international/mule-cmds.el (current-language-environment):
290 * term/common-win.el (x-handle-iconic, x-handle-geometry)
292 * term/pc-win.el (x-list-fonts, x-display-planes)
293 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
294 (x-server-version, x-display-screens, x-display-mm-height)
295 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
296 (x-selection-owner-p, x-own-selection-internal)
297 (x-disown-selection-internal, x-get-selection-internal)
298 (msdos-initialize-window-system):
299 * term/tty-colors.el (tty-color-alist, tty-color-clear):
300 * term/x-win.el (x-handle-no-bitmap-icon):
301 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
302 (vc-default-find-file-hook, vc-default-extra-menu):
303 Mark ignored arguments.
305 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
307 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
308 break-condition in the context of the debugged code (bug#12685).
310 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
313 Do not use an overlay to highlight the last prompt. (Bug#14744)
314 (comint-mode): Make comint-last-prompt buffer local.
315 (comint-last-prompt): New variable.
316 (comint-last-prompt-overlay): Remove. Superseded by
318 (comint-snapshot-last-prompt, comint-output-filter):
319 Use comint-last-prompt.
321 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
323 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
324 (frameset-save): Check validity of the resulting frameset.
326 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
328 * ido.el (ido-record-command): Add doc string.
330 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
332 * frameset.el (frameset): Do not disable creation of the default
333 frameset-p predicate. Doc fix.
334 (frameset-valid-p): New function, copied from the old predicate-p.
335 Add additional checks.
336 (frameset-restore): Check with frameset-valid-p.
337 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
338 (frameset-name, frameset-description, frameset-properties)
339 (frameset-states): Add docstring.
340 (frameset-session-filter-alist, frameset-persistent-filter-alist)
341 (frameset-filter-alist): Doc fixes.
343 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
345 * frameset.el (frameset-p, frameset-prop): Doc fixes.
347 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
349 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
350 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
351 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
352 (byte-compile-normal-call): Remove obsolescence check.
354 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
356 * frameset.el (frameset-restore): Doc fix.
358 * register.el (frameset-frame-id, frameset-frame-with-id)
359 (frameset-p, frameset-restore, frameset-save): Declare.
360 (register-alist): Document framesets.
361 (frameset-session-filter-alist): Declare.
362 (frameset-to-register): New function.
363 (jump-to-register): Implement jumping to framesets. Doc fix.
364 (describe-register-1): Describe framesets.
366 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
368 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
370 * desktop.el (desktop-save-frameset): Use new frameset-save args.
373 * frameset.el (frameset): Use type vector, not list (incompatible
374 change). Do not declare a new constructor, use the default one.
375 Upgrade suggested properties `app', `name' and `desc' to slots `app',
376 `name' and `description', respectively, and add read-only slot
377 `timestamp'. Doc fixes.
378 (frameset-copy, frameset-persistent-filter-alist)
379 (frameset-filter-alist, frameset-switch-to-gui-p)
380 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
381 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
382 (frameset-filter-iconified, frameset-keep-original-display-p):
384 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
385 Rename from frameset-filter-(save|restore)-param. All callers changed.
387 (frameset-p): Adapt to change to vector and be more thorough.
388 Change arg name to OBJECT. Doc fix.
389 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
390 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
392 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
394 (frameset--record-minibuffer-relationships): Rename from
395 frameset--process-minibuffer-frames. All callers changed.
396 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
397 Use new default constructor (again). Doc fix.
398 (frameset--find-frame-if): Rename from `frameset--find-frame.
400 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
401 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
403 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
404 PARAMETERS and WINDOW-STATE, respectively.
405 (frameset-restore): Add new keyword argument PREDICATE.
406 Reset frameset--target-display to nil. Doc fix.
408 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
410 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
412 (bat-mode-syntax-table): Mark \n as end-of-comment.
413 (bat-font-lock-keywords): Remove comment rule.
415 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
416 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
418 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
419 (byte-compile-callargs-warn): Use `push'.
420 (byte-compile-arglist-warn): Ignore higher-order "calls".
421 (byte-compile-file-form-autoload): Use `pcase'.
422 (byte-compile-function-form): If quoting a symbol, check that it exists.
424 2013-08-07 Eli Zaretskii <eliz@gnu.org>
426 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
427 and add a few popular commands found in batch files.
428 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
429 (dos-mode): Doc fixes.
431 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
433 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
434 (dos-mode): Use setq-local. Add space after "rem".
435 (dos-mode-syntax-table): Don't use "w" for symbol chars.
436 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
438 2013-08-07 Arni Magnusson <arnima@hafro.is>
440 * progmodes/dos.el: New file.
441 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
444 2013-08-06 Glenn Morris <rgm@gnu.org>
446 * calendar/calendar.el: Add new faces, and day-header-array.
447 (calendar-weekday-header, calendar-weekend-header)
448 (calendar-month-header): New faces.
449 (calendar-day-header-construct): New function.
450 (calendar-day-header-width): Also :set calendar-day-header-array.
451 (calendar-american-month-header, calendar-european-month-header)
452 (calendar-iso-month-header): Use calendar- faces.
453 (calendar-generate-month):
454 Use calendar-day-header-array for day headers; apply faces to them.
455 (calendar-mode): Check calendar-font-lock-keywords non-nil.
456 (calendar-abbrev-construct): Add optional maxlen argument.
457 (calendar-day-name-array): Doc fix.
458 (calendar-day-name-array, calendar-abbrev-length)
459 (calendar-day-abbrev-array):
460 Also :set calendar-day-header-array, and maybe redraw.
461 (calendar-day-header-array): New option. (Bug#15007)
462 (calendar-font-lock-keywords): Set to nil and make obsolete.
463 (calendar-day-name): Add option to use header array.
465 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
467 * net/shr.el (shr-render-td): Remove debugging.
468 (shr-render-td): Make width computation consistent by defaulting
469 all zero-width columns to 10 characters. This may not be optimal,
470 but it's at least consistent.
471 (shr-make-table-1): Redo last change to fix the real problem in
474 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
476 * files.el (cache-long-line-scans):
477 Make obsolete alias to `cache-long-scans'.
479 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
481 * frameset.el (frameset, frameset-filter-alist)
482 (frameset-filter-params, frameset-save, frameset--reuse-frame)
483 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
484 (frameset-compute-pos): Rename from frameset--compute-pos,
486 (frameset-move-onscreen): Use frameset-compute-pos.
487 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
489 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
490 Fix typos in docstrings.
492 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
494 * frame.el (get-other-frame): Tiny cleanup.
496 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
498 * vc/vc.el (vc-default-ignore-completion-table):
499 Silence byte-compiler warning.
501 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
502 slot , which can indeed be nil.
503 (frameset-live-filter-alist, frameset-persistent-filter-alist):
504 Move entry for `left' from persistent to live filter alist.
505 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
507 (frameset-filter-params): When restoring a frame, copy items added to
508 `filtered', to avoid unwittingly modifying the original parameters.
509 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
510 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
512 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
513 to use looking-at-p instead of looking-at. (Bug#15028)
515 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
517 Revert introduction of isearch-filter-predicates (bug#14714).
518 Rely on add-function instead.
519 * isearch.el (isearch-filter-predicates): Rename it back to
520 isearch-filter-predicate.
521 (isearch-message-prefix): Use advice-function-mapc and advice
522 properties to get the isearch-message-prefix.
523 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
524 instead of run-hook-with-args-until-failure.
525 (isearch-filter-visible): Not obsolete any more.
526 * loadup.el: Preload nadvice.
527 * replace.el (perform-replace): Revert to funcall
528 instead of run-hook-with-args-until-failure.
529 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
530 * dired-aux.el (dired-isearch-filenames-mode): Rename from
531 dired-isearch-filenames-toggle; make it into a proper minor mode.
532 Use add/remove-function.
533 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
534 Call the minor-mode rather than add/remove-hook.
535 (dired-isearch-filter-filenames):
536 Remove isearch-message-prefix property.
537 * info.el (Info--search-loop): New function, extracted from Info-search.
538 Funcall isearch-filter-predicate instead of
539 run-hook-with-args-until-failure isearch-filter-predicates.
540 (Info-search): Use it.
541 (Info-mode): Use isearch-filter-predicate instead of
542 isearch-filter-predicates.
544 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
546 Do not call to `selected-window' where it is assumed by default.
547 Affected functions are `window-minibuffer-p', `window-dedicated-p',
548 `window-hscroll', `window-width', `window-height', `window-buffer',
549 `window-frame', `window-start', `window-point', `next-window'
550 and `window-display-table'.
551 * abbrev.el (abbrev--default-expand):
552 * bs.el (bs--show-with-configuration):
553 * buff-menu.el (Buffer-menu-mouse-select):
554 * calc/calc.el (calc):
555 * calendar/calendar.el (calendar-generate-window):
556 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
558 * comint.el (send-invisible, comint-dynamic-complete-filename)
559 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
560 * completion.el (complete):
561 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
562 * disp-table.el (describe-current-display-table):
563 * doc-view.el (doc-view-insert-image):
564 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
565 * ehelp.el (with-electric-help):
566 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
567 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
568 * emacs-lisp/helper.el (Helper-help-scroller):
569 * emulation/cua-base.el (cua--post-command-handler-1):
570 * eshell/esh-mode.el (eshell-output-filter):
571 * ffap.el (ffap-gnus-wrapper):
572 * help-macro.el (make-help-screen):
573 * hilit-chg.el (highlight-compare-buffers):
574 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
575 * hl-line.el (global-hl-line-highlight):
576 * icomplete.el (icomplete-simple-completing-p):
577 * isearch.el (isearch-done):
578 * jit-lock.el (jit-lock-stealth-fontify):
579 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
580 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
581 * mpc.el (mpc-tagbrowser, mpc):
582 * net/rcirc.el (rcirc-any-buffer):
583 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
584 * play/landmark.el (landmark-max-width, landmark-max-height):
585 * play/zone.el (zone):
586 * progmodes/compile.el (compilation-goto-locus):
587 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
588 * progmodes/etags.el (find-tag-other-window):
589 * progmodes/fortran.el (fortran-column-ruler):
590 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
591 * progmodes/verilog-mode.el (verilog-point-text):
592 * reposition.el (reposition-window):
593 * rot13.el (toggle-rot13-mode):
594 * server.el (server-switch-buffer):
595 * shell.el (shell-dynamic-complete-command)
596 (shell-dynamic-complete-environment-variable):
597 * simple.el (insert-buffer, set-selective-display)
598 (delete-completion-window):
599 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
601 * startup.el (fancy-splash-head):
602 * textmodes/ispell.el (ispell-command-loop):
603 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
604 * tutorial.el (help-with-tutorial):
605 * vc/add-log.el (add-change-log-entry):
606 * vc/compare-w.el (compare-windows):
607 * vc/ediff-help.el (ediff-indent-help-message):
608 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
609 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
610 (ediff-setup-control-frame):
611 * vc/emerge.el (emerge-position-region):
612 * vc/pcvs-util.el (cvs-bury-buffer):
613 * window.el (walk-windows, mouse-autoselect-window-select):
614 * winner.el (winner-set-conf, winner-undo): Related users changed.
616 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
618 * frameset.el (frameset--set-id): Doc fix.
619 (frameset-frame-id, frameset-frame-id-equal-p)
620 (frameset-locate-frame-id): New functions.
621 (frameset--process-minibuffer-frames, frameset--reuse-frame)
622 (frameset-restore): Use them.
624 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
626 Do not call to `selected-frame' where it is assumed by default.
627 Affected functions are `raise-frame', `redraw-frame',
628 `frame-first-window', `frame-terminal' and `delete-frame'.
629 * calendar/appt.el (appt-disp-window):
630 * epg.el (epg-wait-for-completion):
631 * follow.el (follow-delete-other-windows-and-split)
632 (follow-avoid-tail-recenter):
633 * international/mule.el (set-terminal-coding-system):
634 * mail/rmail.el (rmail-mail-return):
635 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
636 * progmodes/f90.el (f90-add-imenu-menu):
637 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
638 * server.el (server-switch-buffer):
639 * simple.el (delete-completion-window):
641 * term/xterm.el (terminal-init-xterm-modify-other-keys)
642 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
643 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
644 * vc/ediff.el (ediff-documentation): Related users changed.
645 * frame.el (selected-terminal): Remove the leftover.
647 2013-08-05 Glenn Morris <rgm@gnu.org>
649 * calendar/calendar.el (calendar-generate-month):
650 Fix for calendar-column-width != 1 + calendar-day-digit-width.
651 (calendar-generate-month, calendar-font-lock-keywords):
652 Fix for calendar-day-header-width > length of any day name.
654 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
656 * desktop.el (desktop-clear): Use new name of sort predicate.
658 * frameset.el (frameset): Add docstring. Move :version property to its
660 (frameset-copy): Rename from copy-frameset.
661 (frameset-p): Check more thoroughly.
662 (frameset-prop): Do not check for :version, which is no longer a prop.
663 (frameset-live-filter-alist, frameset-persistent-filter-alist):
664 Use new :never value instead of t.
665 (frameset-filter-alist): Expand and clarify docstring.
666 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
667 (frameset-filter-minibuffer, frameset-filter-save-param)
668 (frameset-filter-restore-param, frameset-filter-iconified):
669 Add pointer to docstring of frameset-filter-alist.
670 (frameset-filter-params): Rename filter values to be more meaningful:
671 :never instead of t, and reverse the meanings of :save and :restore.
672 (frameset--process-minibuffer-frames): Clarify error message.
673 (frameset-save): Avoid unnecessary and confusing call to framep.
674 Use new BOA constructor for framesets.
675 (frameset--reuse-list): Doc fix.
676 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
677 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
678 (frameset-minibufferless-first-p): Doc fix.
679 Rename from frameset-sort-frames-for-deletion.
680 (frameset-restore): Doc fixes. Use new function names.
681 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
683 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
685 * desktop.el (desktop-restore-forces-onscreen)
686 (desktop-restore-reuses-frames): Document :keyword constant values.
687 (desktop-filter-parameters-alist): Remove, now identical to
688 frameset-filter-alist.
689 (desktop--filter-tty*): Remove, moved to frameset.el.
690 (desktop-save-frameset, desktop-restore-frameset):
691 Do not pass :filters argument.
693 * frameset.el (frameset-live-filter-alist)
694 (frameset-persistent-filter-alist): New variables.
695 (frameset-filter-alist): Use them. Add autoload cookie.
696 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
697 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
698 `frameset--id' (it's supposed to be internal to frameset.el).
699 (frameset--process-minibuffer-frames): Ditto. Doc fix.
700 (frameset--initial-params): New function.
701 (frameset--get-frame): Use it. Doc fix.
702 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
703 Accept :all, not 'all.
704 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
705 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
706 with fbound symbols. Fix frame id matching, and remove matching ids if
707 the frame being restored is deleted. Obey :delete.
709 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
711 * subr.el (macrop): New function.
712 (text-clone--maintaining): New var.
713 (text-clone--maintain): Rename from text-clone-maintain. Use it
714 instead of inhibit-modification-hooks.
716 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
717 a proxy, so as handle autoloads and redefinitions of the target.
718 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
720 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
721 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
722 (pcase--mutually-exclusive-p): New function.
723 (pcase--split-consp): Use it.
724 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
725 mutually exclusive with the current predicate.
727 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
728 (edebug-macrop): Remove. Use `macrop' instead.
729 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
731 * eshell/esh-cmd.el (eshell-macrop):
732 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
734 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
736 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
737 (advice-mapc): New function, using it.
738 (advice-function-member-p): New function.
739 (advice--normalize): Store the cdr in advice--saved-rewrite since
740 that's the part that will be changed.
741 (advice--symbol-function): New function.
742 (advice-remove): Handle removal before the function is defined.
743 Adjust to new advice--saved-rewrite.
744 (advice-member-p): Use advice-function-member-p and
745 advice--symbol-function.
747 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
749 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
750 (frameset-filter-minibuffer): Doc fix.
751 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
752 (frameset--set-id, frameset--process-minibuffer-frames)
753 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
754 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
756 * desktop.el (desktop-clear): Only delete frames when called
757 interactively and desktop-restore-frames is non-nil. Doc fix.
758 (desktop-read): Set desktop-saved-frameset to nil.
760 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
762 * vc/vc.el (vc-ignore): Rewrite.
763 (vc-default-ignore-completion-table):
765 (vc--add-line, vc--remove-regexp): New functions.
767 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
768 (vc-svn-ignore-completion-table): New function.
770 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
771 (vc-hg-ignore-completion-table):
772 (vc-hg-find-ignore-file): New functions.
774 * vc/vc-git.el (vc-git-ignore): Rewrite.
775 (vc-git-ignore-completion-table):
776 (vc-git-find-ignore-file): New functions.
778 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
780 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
781 (vc-bzr-ignore-completion-table):
782 (vc-bzr-find-ignore-file): New functions.
784 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
786 * frameset.el (frameset-prop): New function and setter.
787 (frameset-save): Do not modify frame list passed by the caller.
789 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
791 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
793 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
795 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
796 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
798 * custom.el (custom-initialize-default, custom-initialize-set)
799 (custom-initialize-reset, custom-initialize-changed): Affect the
800 toplevel-default-value (bug#6275, bug#14586).
801 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
804 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
806 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
807 Add cl-def* expressions.
809 * frameset.el (frameset-filter-params): Fix order of arguments.
811 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
813 Move code related to saving frames to frameset.el.
814 * desktop.el: Require frameset.
815 (desktop-restore-frames): Doc fix.
816 (desktop-restore-reuses-frames): Rename from
817 desktop-restoring-reuses-frames.
818 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
819 (desktop-clear): Clear frames too.
820 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
821 (desktop--filter-tty*, desktop-save, desktop-read):
822 Use frameset functions.
823 (desktop-before-saving-frames-functions, desktop--filter-*-color)
824 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
825 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
826 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
827 (desktop--process-minibuffer-frames, desktop-save-frames)
828 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
829 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
830 (desktop--sort-states, desktop-restoring-frames-p)
831 (desktop-restore-frames): Remove. Most code moved to frameset.el.
832 (desktop-restoring-frameset-p, desktop-restore-frameset)
833 (desktop--check-dont-save, desktop-save-frameset): New functions.
834 (desktop--app-id): New constant.
835 (desktop-first-buffer, desktop-buffer-ok-count)
836 (desktop-buffer-fail-count): Move before first use.
837 * frameset.el: New file.
839 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
841 * files.el: Use lexical-binding.
842 (dir-locals-read-from-file): Remove unused `err' variable.
843 (hack-dir-local-variables--warned-coding): New var.
844 (hack-dir-local-variables): Use it to avoid repeated warnings.
845 (make-backup-file-name--default-function): New function.
846 (make-backup-file-name-function): Use it as default.
847 (buffer-stale--default-function): New function.
848 (buffer-stale-function): Use it as default.
849 (revert-buffer-insert-file-contents--default-function): New function.
850 (revert-buffer-insert-file-contents-function): Use it as default.
851 (insert-directory): Avoid add-to-list.
853 * autorevert.el (auto-revert-handler): Simplify.
854 Use buffer-stale--default-function.
856 2013-08-01 Tassilo Horn <tsdh@gnu.org>
858 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
860 * whitespace.el (whitespace-ensure-local-variables): New function.
861 (whitespace-cleanup-region): Call it.
862 (whitespace-turn-on): Call it.
864 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
866 Complete file name handlers.
868 * net/tramp.el (tramp-handle-set-visited-file-modtime)
869 (tramp-handle-verify-visited-file-modtime)
870 (tramp-handle-file-notify-rm-watch): New functions.
871 (tramp-call-process): Do not bind `default-directory'.
873 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
874 Order alphabetically.
875 [access-file, add-name-to-file, dired-call-process]:
876 [dired-compress-file, file-acl, file-notify-rm-watch]:
877 [file-ownership-preserved-p, file-selinux-context]:
878 [make-directory-internal, make-symbolic-link, set-file-acl]:
879 [set-file-selinux-context, set-visited-file-modtime]:
880 [verify-visited-file-modtime]: Add handler.
881 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
883 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
884 [file-notify-add-watch, file-notify-rm-watch]:
885 [set-file-times, set-visited-file-modtime]:
886 [verify-visited-file-modtime]: Add handler.
887 (with-tramp-gvfs-error-message)
888 (tramp-gvfs-handle-set-visited-file-modtime)
889 (tramp-gvfs-fuse-file-name): Remove.
890 (tramp-gvfs-handle-file-notify-add-watch)
891 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
892 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
894 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
895 Order alphabetically.
896 [file-notify-rm-watch ]: Use default Tramp handler.
897 [executable-find]: Remove private handler.
898 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
900 (tramp-sh-handle-executable-find)
901 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
902 (tramp-sh-file-gvfs-monitor-dir-process-filter)
903 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
904 Do not use `format' in `tramp-message'.
906 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
907 [file-notify-rm-watch, set-visited-file-modtime]:
908 [verify-visited-file-modtime]: Add handler.
909 (tramp-smb-call-winexe): Do not bind `default-directory'.
911 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
913 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
915 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
917 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
919 (log-view-diff-changeset): Same.
920 (log-view-diff-common): Call backend command `previous-revision'
921 to find out the previous revision, in both cases. Swap the
922 variables `to' and `fr', so that `fr' usually refers to the
923 earlier revision (Bug#14989).
925 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
927 * ibuf-ext.el (ibuffer-filter-by-filename):
928 Make it work with dired buffers too.
930 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
932 * emacs-lisp/re-builder.el (reb-color-display-p):
933 * files.el (save-buffers-kill-terminal):
934 * net/browse-url.el (browse-url):
935 * server.el (server-save-buffers-kill-terminal):
936 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
937 Prefer nil to selected-frame for the first arg of frame-parameter.
939 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
941 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
943 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
945 * minibuffer.el (completion--twq-all): Try and preserve each
946 completion's case choice (bug#14907).
948 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
950 * net/network-stream.el (open-network-stream): Mention the new
951 :nogreeting parameter.
952 (network-stream-open-starttls): Use the :nogreeting parameter
955 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
957 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
958 more natural than popping.
960 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
961 (shr-urlify): Highlight under mouse.
963 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
965 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
967 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
969 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
972 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
973 point-min==1. Fix search string. Fix parentheses missing.
975 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
976 assume point-min==1. Fix search string. Fix parentheses missing.
978 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
980 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
983 2013-07-29 Eli Zaretskii <eliz@gnu.org>
985 * frame.el (frame-notice-user-settings): Avoid inflooping when the
986 initial frame is minibuffer-less. (Bug#14841)
988 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
990 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
993 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
994 (tramp-maybe-open-connection): Use it.
996 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
998 * desktop.el (desktop--make-frame): Include `minibuffer' in the
999 minimal set of parameters passed when creating a frame, because
1000 the minibuffer status of a frame cannot be changed later.
1002 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
1004 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1005 replace-regexp-in-string and inadvertent omissions in previous change.
1006 (todo-filter-items): Ensure only file names are comma-separated in
1007 name of filtered items buffer.
1009 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1011 * desktop.el: Optionally force offscreen frames back onscreen.
1012 (desktop-restoring-reuses-frames): New option.
1013 (desktop--compute-pos, desktop--move-onscreen): New functions.
1014 (desktop--make-frame): Use desktop--move-onscreen.
1016 2013-07-27 Alan Mackenzie <acm@muc.de>
1018 Fontify a Java generic method as a function.
1019 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1022 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
1024 * calendar/todo-mode.el: Add command to rename todo files.
1025 (todo-rename-file): New command.
1026 (todo-key-bindings-t): Add key binding for it. Change the
1027 bindings of todo-filter-regexp-items(-multifile) to use `x'
1028 instead of `r', since the latter is better suited to the new
1031 2013-07-27 Alan Mackenzie <acm@muc.de>
1033 Make Java try-with-resources statement parse properly.
1034 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1035 (c-block-stmt-1-2-key): New language constants/variables.
1036 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1037 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1038 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
1039 with c-block-stmt-1-2-key.
1041 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
1043 * desktop.el (desktop--make-frame): Apply most frame parameters after
1044 creating the frame to force (partially or totally) offscreen frames to
1045 be restored as such.
1047 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1049 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
1052 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1054 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1055 `base' arg of backtrace-frame.
1057 2013-07-26 Eli Zaretskii <eliz@gnu.org>
1059 * simple.el (list-processes): Doc fix.
1061 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1063 * desktop.el (desktop--select-frame):
1064 Try harder to reuse existing frames.
1066 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1068 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1069 (edebug-eval): Use backtrace-eval.
1070 (edebug--display, edebug--recursive-edit): Don't let-bind the
1071 edebug-outer-* vars that keep track of variables we locally let-bind.
1072 (edebug-outside-excursion): Don't restore outside values of locally
1074 (edebug--display): Use user-error.
1075 (cl-lexical-debug, cl-debug-env): Remove.
1077 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1079 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1080 are restored to be sure that they are visible before deleting any
1083 2013-07-26 Matthias Meulien <orontee@gmail.com>
1085 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1086 vc-print-root-log. (Bug#14948)
1088 2013-07-26 Richard Stallman <rms@gnu.org>
1090 Add aliases for encrypting mail.
1091 * epa.el (epa-mail-aliases): New option.
1092 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1093 Bind inhibit-read-only so read-only text doesn't ruin everything.
1094 (epa-mail-default-recipients): New subroutine broken out.
1095 Handle epa-mail-aliases.
1097 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1099 Add support for lexical variables to the debugger's `e' command.
1100 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1101 vars, except for debugger-outer-match-data.
1102 (debugger-frame-number): Move check for "on a function call" from
1103 callers into it. Add `skip-base' argument.
1104 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1105 (debugger-env-macro): Only reset the state stored in non-variables,
1106 i.e. current-buffer and match-data.
1107 (debugger-eval-expression): Rewrite using backtrace-eval.
1108 * subr.el (internal--called-interactively-p--get-frame): Remove.
1109 (called-interactively-p):
1110 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1111 `base' arg of backtrace-frame instead.
1113 2013-07-26 Glenn Morris <rgm@gnu.org>
1115 * align.el (align-regexp): Doc fix. (Bug#14857)
1116 (align-region): Explicit error if subexpression missing/does not match.
1118 * simple.el (global-visual-line-mode):
1119 Do not duplicate the mode lighter. (Bug#14858)
1121 2013-07-25 Martin Rudalics <rudalics@gmx.at>
1123 * window.el (display-buffer): In display-buffer bind
1124 split-window-keep-point to t, bug#14829.
1126 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1128 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1129 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1130 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1131 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1133 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1134 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
1136 2013-07-25 Glenn Morris <rgm@gnu.org>
1138 * dired-x.el (dired-mark-extension): Convert comment to doc string.
1140 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1142 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1143 parameter to modify-frame-parameters if the value has not changed;
1144 this is a workaround for bug#14949.
1145 (desktop--make-frame): On cl-delete-if call, check parameter name,
1148 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1150 * vc/vc.el (vc-ignore): New function.
1152 * vc/vc-svn.el (vc-svn-ignore): New function.
1154 * vc/vc-hg.el (vc-hg-ignore): New function.
1156 * vc/vc-git.el (vc-git-ignore): New function.
1158 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1159 (vc-dir-ignore): New function.
1161 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1162 (cvs-append-to-ignore): Move here from pcvs.el.
1164 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1166 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1168 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
1170 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1171 (desktop-restore-frames): Warn when deleting an existing frame failed.
1173 2013-07-24 Glenn Morris <rgm@gnu.org>
1175 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1177 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
1179 * filenotify.el (file-notify-supported-p):
1180 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1183 * autorevert.el (auto-revert-use-notify):
1184 (auto-revert-notify-add-watch):
1185 * net/tramp.el (tramp-file-name-for-operation):
1186 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1187 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1188 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1189 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1190 Remove `file-notify-supported-p' entry.
1192 2013-07-24 Glenn Morris <rgm@gnu.org>
1194 * printing.el: Replace all uses of deleted ps-windows-system,
1195 ps-lp-system, ps-flatten-list with lpr- versions.
1197 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1199 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1200 checked with memq (bug#14935).
1202 * files.el (revert-buffer-function): Use a non-nil default.
1203 (revert-buffer-preserve-modes): Declare var to
1204 provide access to the `preserve-modes' argument.
1205 (revert-buffer): Let-bind it.
1206 (revert-buffer--default): New function, extracted from revert-buffer.
1208 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1210 * lpr.el: Signal print errors more prominently.
1211 (print-region-function): Don't default to nil.
1212 (lpr-print-region): New function, extracted from print-region-1.
1213 Check lpr's return value and signal an error in case of problem.
1214 (print-region-1): Use it.
1215 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1217 (ps-printer-name): Default to nil.
1218 (ps-printer-name-option): Default to lpr-printer-switch.
1219 (ps-print-region-function): Don't default to nil.
1220 (ps-postscript-code-directory): Simplify default.
1221 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1222 (ps-string-list, ps-eval-switch, ps-flatten-list)
1223 (ps-flatten-list-1): Remove.
1224 (ps-multibyte-buffer): Avoid setq.
1225 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1226 (print-region-function, ps-print-region-function): Don't set them here.
1228 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1230 * ido.el (ido-fractionp):
1231 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1232 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1233 (ido-max-directory-size, ido-max-dir-file-cache)
1234 (ido-decorations): Doc fix.
1236 * ansi-color.el: Fix old URL.
1238 2013-07-23 Michael R. Mauger <michael@mauger.com>
1240 * progmodes/sql.el Version 3.3
1241 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1242 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1243 (sql-interactive-remove-continuation-prompt): Rewrite, use
1244 functions above. Fix continuation prompt and complete output line
1246 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1247 redirected output buffer.
1248 (sql-mode): Restore deleted code (Bug#13591).
1250 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1252 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1254 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
1256 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1258 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1259 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1260 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1262 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1264 * desktop.el (desktop-clear): Simplify; remove useless checks
1265 against invalid buffer names.
1266 (desktop-list*): Use cl-list*.
1267 (desktop-buffer-info, desktop-create-buffer): Simplify.
1269 2013-07-23 Leo Liu <sdl.web@gmail.com>
1271 * bookmark.el (bookmark-make-record): Restore NAME as a default
1274 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1276 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1277 extracted from autoload--insert-text.
1278 (autoload--insert-text): Remove.
1279 (autoload--print-cookie-text): New function, extracted from
1280 autoload--insert-cookie-text.
1281 (autoload--insert-cookie-text): Remove.
1282 (autoload-generate-file-autoloads): Adjust calls accordingly.
1284 * winner.el (winner-hook-installed-p): Remove.
1285 (winner-mode): Simplify accordingly.
1287 * subr.el (add-to-list): Fix compiler-macro when `append' is
1288 not constant. Don't use `cl-member' for the base case.
1290 * progmodes/subword.el: Fix boundary case (bug#13758).
1291 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1293 (subword-backward-regexp): Make it a constant.
1294 (subword-forward-internal): Don't treat a trailing capital as the
1295 beginning of a word.
1297 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1299 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1300 global value of tabulated-list-revert-hook (bug#14930).
1302 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
1304 * desktop.el: Require 'cl-lib.
1305 (desktop-before-saving-frames-functions): New hook.
1306 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1307 for frames being saved. Rename from desktop--save-minibuffer-frames.
1308 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1309 Do not save frames with non-nil `desktop-dont-save' parameter.
1310 Filter out deleted frames.
1311 (desktop--find-frame): Use cl-find-if.
1312 (desktop--select-frame): Use cl-(first|second|third) to access values
1314 (desktop--make-frame): Use cl-delete-if.
1315 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1316 (desktop-restore-frames): Use cl-(first|second|third) to access values
1317 of desktop-mini. Look for visible frame at the end, not while
1320 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1321 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1322 Use string-match-p, looking-at-p (bug#14927).
1324 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1326 * desktop.el (desktop-saved-frame-states):
1327 Rename from desktop--saved-states; all users changed.
1328 (desktop-save-frames): Rename from desktop--save-frames.
1329 Do not save state to desktop file.
1330 (desktop-save): Save desktop-saved-frame-states to desktop file
1332 (desktop-restoring-frames-p): New function.
1333 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1334 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1335 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1337 * desktop.el: Correctly restore iconified frames.
1338 (desktop--filter-iconified-position): New function.
1339 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1341 2013-07-20 Glenn Morris <rgm@gnu.org>
1343 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1344 Let `message' do the formatting.
1345 (def-gdb-preempt-display-buffer): Add explicit format.
1347 * image-dired.el (image-dired-track-original-file):
1348 Use with-current-buffer.
1349 (image-dired-track-thumbnail): Use with-current-buffer.
1350 Avoid changing point of wrong window.
1352 * image-dired.el (image-dired-track-original-file):
1353 Avoid changing point of wrong window. (Bug#14909)
1355 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1357 * progmodes/gdb-mi.el (gdb-done-or-error):
1358 Guard against "%" in gdb output. (Bug#14127)
1360 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1362 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1365 * international/mule.el (coding-system-iso-2022-flags): Fix last
1368 2013-07-20 Kenichi Handa <handa@gnu.org>
1370 * international/mule.el (coding-system-iso-2022-flags):
1371 Add `8-bit-level-4'. (Bug#8522)
1373 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1375 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1378 * net/eww.el (eww-process-text-input): Allow inputting when the
1379 point is at the start of the line, as the properties aren't
1382 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1385 2013-07-19 Richard Stallman <rms@gnu.org>
1387 * epa.el (epa-popup-info-window): Doc fix.
1389 * subr.el (split-string): New arg TRIM.
1391 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1393 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1394 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1396 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1398 * filenotify.el (file-notify--library): Rename from
1399 `file-notify-support'. Do not autoload. Adapt all uses.
1400 (file-notify-supported-p): New defun.
1402 * autorevert.el (auto-revert-use-notify):
1403 Use `file-notify-supported-p' instead of `file-notify-support'.
1405 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1407 * net/tramp.el (tramp-file-name-for-operation):
1408 Add `file-notify-supported-p'.
1410 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1412 (tramp-sh-file-name-handler-alist): Add it as handler for
1413 `file-notify-supported-p '.
1415 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1416 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1418 Add `ignore' as handler for `file-notify-*' functions.
1420 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1422 * simple.el (line-move-partial, line-move): Don't start vscroll or
1423 scroll-up if the current line is not taller than the window.
1426 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1428 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1429 highlight question marks in the method names as strings.
1430 (ruby-block-beg-keywords): Inline.
1431 (ruby-font-lock-keyword-beg-re): Extract from
1432 `ruby-font-lock-keywords'.
1434 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1436 * frame.el (blink-cursor-blinks): New defcustom.
1437 (blink-cursor-blinks-done): New defvar.
1438 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1439 (blink-cursor-timer-function): Check if number of blinks has been
1441 (blink-cursor-suspend, blink-cursor-check): New defuns.
1443 2013-07-15 Glenn Morris <rgm@gnu.org>
1445 * edmacro.el (edmacro-format-keys): Fix previous change.
1447 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1449 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1450 The hack didn't work outside English locales anyway.
1452 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
1454 * simple.el (define-alternatives): Rename from alternatives-define,
1455 per RMS' suggestion.
1457 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
1459 * desktop.el (desktop-restore-frames): Change default to t.
1460 (desktop-restore-in-current-display): Now offer more options.
1461 (desktop-restoring-reuses-frames): New customization option.
1462 (desktop--saved-states): Doc fix.
1463 (desktop-filter-parameters-alist): New variable, renamed and expanded
1464 from desktop--excluded-frame-parameters.
1465 (desktop--target-display): New variable.
1466 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1467 (desktop--filter-tty*, desktop--filter-*-color)
1468 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1469 (desktop--filter-save-desktop-parm)
1470 (desktop-restore-in-original-display-p): New functions.
1471 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1472 (desktop--save-minibuffer-frames): New function, inspired by a similar
1473 function from Martin Rudalics.
1474 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1475 (desktop--restore-in-this-display-p): Remove.
1476 (desktop--find-frame): Rename from desktop--find-frame-in-display
1477 and add predicate argument.
1478 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1479 (desktop--reuse-list): New variable.
1480 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1482 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1484 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
1486 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1488 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1490 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1491 Highlight conversion methods on Kernel.
1493 2013-07-13 Alan Mackenzie <acm@muc.de>
1495 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1496 and comment it out. This out-commenting enables certain C++
1497 declarations to be parsed correctly.
1499 2013-07-13 Eli Zaretskii <eliz@gnu.org>
1501 * international/mule.el (define-coding-system): Doc fix.
1503 * simple.el (default-font-height): Don't call font-info if the
1504 frame's default font didn't change since the frame was created.
1507 2013-07-13 Leo Liu <sdl.web@gmail.com>
1509 * ido.el (ido-read-file-name): Guard against non-symbol value.
1511 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1513 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1516 2013-07-13 Leo Liu <sdl.web@gmail.com>
1518 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1519 ido-set-matches call. (Bug#6852)
1521 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1523 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1524 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1526 (ruby-font-lock-keywords): Distinguish calls to functions with
1527 module-like names from module references. Highlight character
1530 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1532 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1533 (gdb-send): Handle continued commands. (Bug#14847)
1535 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1537 * desktop.el (desktop--v2s): Remove unused local variable.
1538 (desktop-save-buffer): Make defvar-local; adjust docstring.
1539 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1540 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1542 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1544 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1546 2013-07-12 Eli Zaretskii <eliz@gnu.org>
1548 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1551 2013-07-12 Glenn Morris <rgm@gnu.org>
1553 * doc-view.el: Require cl-lib at runtime too.
1554 (doc-view-remove-if): Remove.
1555 (doc-view-search-next-match, doc-view-search-previous-match):
1558 * edmacro.el: Require cl-lib at runtime too.
1559 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1560 (edmacro-mismatch, edmacro-subseq): Remove.
1562 * shadowfile.el: Require cl-lib.
1563 (shadow-remove-if): Remove.
1564 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1567 * wid-edit.el: Require cl-lib.
1568 (widget-choose): Use cl-remove-if.
1569 (widget-remove-if): Remove.
1571 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1572 (ebrowse-delete-if-not): Remove.
1573 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1574 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1575 Use cl-delete-if-not.
1577 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1579 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1580 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1582 2013-07-12 Leo Liu <sdl.web@gmail.com>
1584 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1586 2013-07-11 Glenn Morris <rgm@gnu.org>
1588 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1589 (edebug-gensym-index, edebug-gensym):
1590 Remove reimplementation of cl-gensym.
1591 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1593 * thumbs.el: Require cl-lib at run-time too.
1594 (thumbs-gensym-counter, thumbs-gensym):
1595 Remove reimplementation of cl-gensym.
1596 (thumbs-temp-file): Use cl-gensym.
1598 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1599 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1600 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1601 (ert--union, ert--gensym-counter, ert--gensym-counter)
1602 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1603 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1604 (ert-make-test-unbound, ert--expand-should-1)
1605 (ert--expand-should, ert--should-error-handle-error)
1606 (should-error, ert--explain-equal-rec)
1607 (ert--plist-difference-explanation, ert-select-tests)
1608 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1609 Use cl-lib functions rather than reimplementations.
1611 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
1613 * net/tramp.el (tramp-methods): Extend docstring.
1614 (tramp-connection-timeout): New defcustom.
1615 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1616 (with-tramp-progress-reporter): Simplify.
1617 (tramp-process-actions): Improve messages.
1619 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1620 * net/tramp-sh.el (tramp-maybe-open-connection):
1621 Use `tramp-connection-timeout'.
1622 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1625 2013-07-11 Leo Liu <sdl.web@gmail.com>
1627 * ido.el (ido-read-file-name): Conform to the requirements of
1628 read-file-name. (Bug#11861)
1629 (ido-read-directory-name): Conform to the requirements of
1630 read-directory-name.
1632 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
1634 * subr.el (delay-warning): New function.
1636 2013-07-10 Eli Zaretskii <eliz@gnu.org>
1638 * simple.el (default-line-height): New function.
1639 (line-move-partial, line-move): Use it instead of computing the
1641 (line-move-partial): Always compute ROWH. If the last line is
1642 partially-visible, but its text is completely visible, allow
1643 cursor to enter such a partially-visible line.
1645 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
1647 Improve error messages. (Bug#14808)
1649 * net/tramp.el (tramp-current-connection): New defvar, moved from
1651 (tramp-message-show-progress-reporter-message): Remove, not
1653 (tramp-error-with-buffer): Show message in minibuffer.
1654 Discard input before waiting. Reset connection timestamp.
1655 (with-tramp-progress-reporter): Improve messages.
1656 (tramp-process-actions): Use progress reporter. Delete process in
1657 case of error. Improve messages.
1659 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1660 Call `tramp-error-with-buffer' with vector and buffer.
1661 (tramp-current-connection): Remove.
1662 (tramp-maybe-open-connection): The car of
1663 `tramp-current-connection' are the first 3 slots of the vector.
1665 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1667 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1668 inside continued strings.
1670 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1672 Timestamp fixes for undo (Bug#14824).
1673 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1675 2013-07-10 Leo Liu <sdl.web@gmail.com>
1677 * files.el (require-final-newline): Allow safe local value.
1680 2013-07-09 Leo Liu <sdl.web@gmail.com>
1682 * ido.el (ido-read-directory-name): Handle fallback.
1683 (ido-read-file-name): Update DIR to ido-current-directory.
1685 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
1687 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1689 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1690 "autoload". Remove "warn lower camel case" section, previously
1691 commented out. Highlight negation char. Do not highlight the
1692 target in singleton method definitions.
1694 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1696 * faces.el (tty-setup-hook): Declare the hook.
1698 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1699 and detect when a guard/pred depends on local vars (bug#14773).
1700 (pcase--u1): Adjust caller.
1702 2013-07-08 Eli Zaretskii <eliz@gnu.org>
1704 * simple.el (line-move-partial, line-move): Account for
1706 (line-move-partial): Avoid setting vscroll when the last
1707 partially-visible line in window is of default height.
1709 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1711 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1714 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
1716 * subr.el (read-quoted-char): Remove unused local variable `char'.
1718 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1720 * ediff.el (ediff-version): Version update.
1721 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1722 (ediff-merge-with-ancestor-command, ediff-directories-command)
1723 (ediff-directories3-command, ediff-merge-directories-command)
1724 (ediff-merge-directories-with-ancestor-command): New functions.
1725 All are command-line interfaces to ediff: to facilitate calling
1726 Emacs with the appropriate ediff functions invoked.
1728 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1729 (viper-save-kill-buffer): Check if buffer is modified.
1731 * viper.el (viper-version): Version update.
1732 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1734 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1736 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1737 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1738 (viper-intercept-ESC-key): Simplify.
1739 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1740 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1741 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1742 (viper-setup-ESC-to-escape): New functions.
1743 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1744 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
1746 2013-07-07 Eli Zaretskii <eliz@gnu.org>
1748 * simple.el (default-font-height, window-screen-lines):
1750 (line-move, line-move-partial): Use them instead of
1751 frame-char-height and window-text-height. This makes scrolling
1752 text smoother when the buffer's default face uses a font that is
1753 different from the frame's default font.
1755 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1757 * files.el (write-file): Do not display confirm dialog for NS,
1758 it does its own dialog, which can't be cancelled (Bug#14578).
1760 2013-07-06 Eli Zaretskii <eliz@gnu.org>
1762 * simple.el (line-move-partial): Adjust the row returned by
1763 posn-at-point for the current window-vscroll. (Bug#14567)
1765 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
1767 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1768 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1771 2013-07-06 Martin Rudalics <rudalics@gmx.at>
1773 * window.el (window-state-put-stale-windows): New variable.
1774 (window--state-put-2): Save list of windows without matching buffer.
1775 (window-state-put): Remove "bufferless" windows if possible.
1777 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1779 * simple.el (alternatives-define): Remove leftover :group keyword.
1782 2013-07-06 Leo Liu <sdl.web@gmail.com>
1784 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1785 (ido-enable-virtual-buffers): New variable.
1786 (ido-buffer-internal, ido-toggle-virtual-buffers)
1787 (ido-make-buffer-list): Use it.
1788 (ido-exhibit): Support turning on and off virtual buffers
1791 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1793 * simple.el (alternatives-define): New macro.
1795 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1797 * subr.el (read-quoted-char): Use read-key.
1798 (sit-for): Let read-event decode tty input (bug#14782).
1800 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
1802 * calendar/todo-mode.el: Add handling of file deletion, both by
1803 mode command and externally. Fix various related bugs.
1804 Clarify Commentary and improve some documentation strings and code.
1805 (todo-delete-file): New command.
1806 (todo-check-file): New function.
1807 (todo-show): Handle external deletion of the file we're trying to
1808 show (bug#14688). Replace called-interactively-p by an optional
1809 prefix argument to avoid problematic interaction with catch form
1810 when byte compiled (bug#14702).
1811 (todo-quit): Handle external deletion of the archive's todo file.
1812 Make sure the buffer that was visiting the archive file is still
1813 live before trying to bury it.
1814 (todo-category-completions): Handle external deletion of any
1815 category completion files.
1816 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1817 of todo files, in case of external deletion.
1818 (todo-add-file): Replace unnecessary setq by let-binding.
1819 (todo-find-archive): Check whether there are any archives.
1820 Replace unnecessary setq by let-binding.
1821 (todo-archive-done-item): Use find-file-noselect to get the
1822 archive buffer whether or not the archive already exists.
1823 Remove superfluous code. Use file size instead of buffer-file-name to
1824 check if the archive is new; if it is, update list of archives.
1825 (todo-default-todo-file): Allow nil to be a valid value for when
1826 there are no todo files.
1827 (todo-reevaluate-default-file-defcustom): Use corrected definition
1828 of todo-default-todo-file.
1829 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1830 (todo-delete-category, todo-show-categories-table)
1831 (todo-category-number): Clarify comment.
1832 (todo-filter-items): Clarify documentation string.
1833 (todo-show-current-file, todo-display-as-todo-file)
1834 (todo-reset-and-enable-done-separator): Tweak documentation string.
1835 (todo-done-separator): Make separator length window-width, since
1836 bug#2749 is now fixed.
1838 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
1840 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1841 Support both "gvfs-monitor-dir" and "inotifywait".
1842 (tramp-sh-file-inotifywait-process-filter): Rename from
1843 `tramp-sh-file-notify-process-filter'.
1844 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1845 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1847 2013-07-05 Leo Liu <sdl.web@gmail.com>
1849 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1851 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1853 * frame.el (display-pixel-height, display-pixel-width)
1854 (display-mm-height, display-mm-width): Mention behavior on
1855 multi-monitor setups in docstrings.
1856 (w32-display-monitor-attributes-list): Declare function.
1857 (display-monitor-attributes-list): Use it.
1859 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
1861 * filenotify.el: New package.
1863 * autorevert.el (top): Require filenotify.el.
1864 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1866 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1867 (auto-revert-notify-handler): Use `file-notify-*' functions.
1869 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1871 * net/tramp.el (tramp-file-name-for-operation):
1872 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1874 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1875 for `file-notify-add-watch' and `file-notify-rm-watch'.
1876 (tramp-process-sentinel): Improve trace.
1877 (tramp-sh-handle-file-notify-add-watch)
1878 (tramp-sh-file-notify-process-filter)
1879 (tramp-sh-handle-file-notify-rm-watch)
1880 (tramp-get-remote-inotifywait): New defuns.
1882 2013-07-03 Juri Linkov <juri@jurta.org>
1884 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1885 call of `occur-read-primary-args' to interactive spec.
1887 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1888 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1890 2013-07-03 Matthias Meulien <orontee@gmail.com>
1892 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1893 `Buffer-menu-multi-occur'. Add it to the menu.
1894 (Buffer-menu-mode): Document it in docstring.
1895 (Buffer-menu-multi-occur): New command. (Bug#14673)
1897 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1899 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1900 keywords and built-ins.
1902 2013-07-03 Glenn Morris <rgm@gnu.org>
1904 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1906 Make info-xref checks case-sensitive by default
1907 * info.el (Info-find-node, Info-find-in-tag-table)
1908 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1909 Add option for exact case matching of nodes.
1910 * info-xref.el (info-xref): New custom group.
1911 (info-xref-case-fold): New option.
1912 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1914 2013-07-03 Leo Liu <sdl.web@gmail.com>
1916 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1918 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1920 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1921 middle of block statement initially, lower the depth. Remove
1922 FIXME comment, not longer valid. Remove middle of block statement
1923 detection, no need to do that anymore since we've been using
1924 `ruby-parse-region' here.
1926 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1928 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1930 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
1932 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1934 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
1936 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1937 (desktop-restore-in-current-display): New customization option.
1938 (desktop--excluded-frame-parameters): Add `font'.
1939 (desktop--save-frames): Rename from desktop--save-windows.
1940 (desktop--restore-in-this-display-p): New function.
1941 (desktop--make-full-frame): Remove unwanted width/height from
1942 full(width|height) frames.
1943 (desktop--restore-frames): Rename from desktop--restore-windows.
1944 Obey desktop-restore-current-display. Do not delete old frames or
1945 select a new frame unless we were able to restore at least one frame.
1947 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
1949 * files.el (find-file-noselect): Simplify conditional expression.
1951 * remember.el (remember-append-to-file):
1952 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1954 Add `remember-notes' function to store random notes across Emacs
1956 * remember.el (remember-data-file): Add :set callback to affect
1957 notes buffer (if any).
1958 (remember-notes): New command.
1959 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1960 New defcustoms for the `remember-notes' function.
1961 (remember-notes-save-and-bury-buffer): New command.
1962 (remember-notes-mode-map): New variable.
1963 (remember-mode): New minor mode.
1964 (remember-notes--kill-buffer-query): New function.
1965 * startup.el (initial-buffer-choice): Add notes to custom type.
1967 2013-06-30 Eli Zaretskii <eliz@gnu.org>
1969 * bindings.el (right-char, left-char): Don't call sit-for, this is
1970 no longer needed. Use arithmetic comparison only for numerical
1973 * international/mule-cmds.el (select-safe-coding-system):
1974 Handle the case of FROM being a string correctly. (Bug#14755)
1976 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1978 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1979 progression on degenerate tables.
1980 (shr-rescale-image): ImageMagick animated images currently don't work.
1982 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
1984 Some fixes and improvements for desktop frame restoration.
1985 It is still experimental and disabled by default.
1986 * desktop.el (desktop--save-windows): Put the selected frame at
1987 the head of the list.
1988 (desktop--make-full-frame): New function.
1989 (desktop--restore-windows): Try to re-select the frame that was
1990 selected upon saving. Do not abort if some frames fail to restore,
1991 just show an error message and continue. Set up maximized frames
1992 so they have default non-maximized dimensions.
1994 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1996 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1997 Don't start heredoc inside a string or comment.
1999 2013-06-29 Eli Zaretskii <eliz@gnu.org>
2001 * bindings.el (visual-order-cursor-movement): New defcustom.
2002 (right-char, left-char): Provide visual-order cursor motion by
2003 calling move-point-visually. Update the doc strings.
2005 2013-06-28 Kenichi Handa <handa@gnu.org>
2007 * international/mule.el (define-coding-system): New coding system
2008 properties :inhibit-null-byte-detection,
2009 :inhibit-iso-escape-detection, and :prefer-utf-8.
2010 (set-buffer-file-coding-system): If :charset-list property of
2011 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2012 appropriate for setting.
2014 * international/mule-cmds.el (select-safe-coding-system):
2015 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2016 multibyte characters, return utf-8 (or one of its siblings).
2018 * international/mule-conf.el (prefer-utf-8): New coding system.
2019 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2022 2013-06-28 Ivan Kanis <ivan@kanis.fr>
2024 * net/shr.el (shr-render-region): New function.
2026 * net/eww.el: Autoload `eww-browse-url'.
2028 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2030 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2031 Adapt to `package-desc-version' being a list.
2032 Use `package--ac-desc-version' to retrieve version from a package
2035 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
2037 New experimental feature to save&restore window and frame setup.
2038 * desktop.el (desktop-save-windows): New defcustom.
2039 (desktop--saved-states): New var.
2040 (desktop--excluded-frame-parameters): New defconst.
2041 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2042 (desktop--restore-windows, desktop--save-windows): New functions.
2043 (desktop-save): Call `desktop--save-windows'.
2044 (desktop-read): Call `desktop--restore-windows'.
2046 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2048 * net/shr.el (add-face-text-property): Remove compat definition.
2050 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2052 * info.el (Info-try-follow-nearest-node): Move search for footnote
2053 above search for node name to prevent missing a footnote (bug#14717).
2055 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2057 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2059 2013-06-27 Leo Liu <sdl.web@gmail.com>
2061 * net/eww.el (eww-read-bookmarks): Check file size.
2063 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2066 advice--pending if newdef is nil or an autoload (bug#13820).
2067 (advice-mapc): New function.
2069 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2071 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2073 (eww-mode-map): Add a menu bar.
2074 (eww-add-bookmark): New command.
2075 (eww-bookmark-mode): New mode and commands.
2076 (eww-add-bookmark): Remove newlines from the title.
2077 (eww-bookmark-browse): Don't bug out if it's the only window.
2079 2013-06-26 Glenn Morris <rgm@gnu.org>
2081 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2082 (hfy-size): Handle ttys. (Bug#14668)
2084 * info-xref.el: Update for Texinfo 5 change in *note format.
2085 (info-xref-node-re, info-xref-note-re): New constants.
2086 (info-xref-check-buffer): Use info-xref-note-re.
2088 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2092 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2093 nil terminate the loop (bug#14718).
2095 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2097 * net/eww.el: Rework history traversal. When going forward/back,
2098 put these actions into the history, too, so that they can be
2100 (eww-render): Move the history reset to the correct buffer.
2102 2013-06-25 Juri Linkov <juri@jurta.org>
2104 * files-x.el (modify-dir-local-variable): Change the header comment
2105 in the file with directory local variables. (Bug#14692)
2107 * files-x.el (read-file-local-variable-value): Add `default'.
2110 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2112 * net/eww.el (eww-make-unique-file-name): Create a unique file
2113 name before saving to entering `y' accidentally asynchronously.
2115 2013-06-25 Ivan Kanis <ivan@kanis.fr>
2117 * net/eww.el (eww-download): New command and keystroke.
2119 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2121 * net/eww.el (eww-copy-page-url): Change name of command.
2123 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2124 be more consistent with Info and dired.
2126 * net/eww.el (eww-mode-map): Ditto.
2128 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2130 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2131 packages from archives.
2132 (package-archive-contents): Change format; include obsolete packages.
2133 (package-desc): Use `dir' to mark builtin packages.
2134 (package--from-builtin): Set the `dir' field to `builtin'.
2135 (generated-autoload-file, version-control): Declare.
2136 (package-compute-transaction): Change first arg and return value to be
2137 lists of package-descs. Adjust to new package-archive-contents format.
2138 (package--add-to-archive-contents): Adjust to new
2139 package-archive-contents format.
2140 (package-download-transaction): Arg is now a list of package-descs.
2141 (package-install): If `pkg' is a package name, pass it as
2142 a requirement, so it is subject to the usual (e.g. disabled) checks.
2143 (describe-package): Accept package-desc as well.
2144 (describe-package-1): Describe a specific package-desc. Add links to
2145 other package-descs for the same package name.
2146 (package-menu-describe-package): Pass the actual package-desc.
2147 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2149 (package-desc-status): New function.
2150 (package-menu--refresh): New function, extracted
2151 from package-menu--generate.
2152 (package-menu--generate): Use it.
2153 (package-delete): Update package-alist.
2154 (package-menu-execute): Don't call package-initialize.
2156 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2157 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2158 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2159 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2160 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2161 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2163 2013-06-25 Martin Rudalics <rudalics@gmx.at>
2165 * window.el (window--state-get-1): Workaround for bug#14527.
2166 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2168 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2170 * net/eww.el (eww-back-url): Implement the history by stashing all
2171 the data into a list.
2172 (eww-forward-url): Allow going forward in the history, too.
2174 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2177 for values and use read--expression for expressions (bug#14710).
2178 (read-file-local-variable): Avoid setq.
2179 (read-file-local-variable-mode): Use minor-mode-list.
2181 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2183 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
2186 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2188 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
2189 Update imenu-support when dialect changes.
2191 2013-06-25 Leo Liu <sdl.web@gmail.com>
2193 * ido.el (ido-read-internal): Allow forward slash on windows.
2195 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2197 * net/eww.el (eww): Start of strings is \\`, not ^.
2199 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2201 * net/shr.el (shr-browse-url): Fix interactive spec.
2203 * net/eww.el (eww): Add a trailing slash to domain names.
2205 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
2207 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2209 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2211 * net/shr.el (shr-browse-url): Use an external browser if given a
2214 * net/eww.el (eww-external-browser): Move to shr.
2216 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2218 * net/eww.el (eww): Work more correctly for file: URLs.
2219 (eww-detect-charset): Allow quoted charsets.
2220 (eww-yank-page-url): New command and keystroke.
2222 2013-06-24 Daiki Ueno <ueno@gnu.org>
2224 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2225 file name of gpg executable.
2226 (epg-context-program): New function.
2227 (epg-context-home-directory): New function.
2228 (epg-context-set-program): New function.
2229 (epg-context-set-home-directory): New function.
2230 (epg--start): Use `epg-context-program' instead of
2232 (epg--list-keys-1): Likewise.
2234 2013-06-24 Leo Liu <sdl.web@gmail.com>
2236 * ido.el (ido-read-internal): Fix bug#14620.
2238 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2240 * faces.el (face-documentation): Simplify.
2241 (read-face-attribute, tty-find-type, x-resolve-font-name):
2242 Use `string-match-p'.
2243 (list-faces-display): Use `string-match-p'. Simplify.
2244 (face-spec-recalc): Check face to avoid face alias loops.
2245 (read-color): Use `string-match-p' and non-capturing parenthesis.
2247 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2249 * net/shr.el (shr-rescale-image): Use the new
2250 :max-width/:max-height functionality.
2252 2013-06-23 Ivan Kanis <ivan@kanis.fr>
2254 * net/eww.el (eww-search-prefix): New variable.
2256 (eww-external-browser): New variable.
2257 (eww-mode-map): New keystroke.
2258 (eww-browse-with-external-browser): New command.
2260 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2262 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2264 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2265 Don't skip aligning the next header field when padding is 0;
2266 otherwise, field width is not respected unless the title is as
2269 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * emacs-lisp/package.el (package-el-version): Remove.
2272 (package-process-define-package): Fix inf-loop.
2273 (package-install): Allow symbols as arguments again.
2275 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2277 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2278 add some more keyword-like methods.
2279 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2281 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2283 * bs.el (bs-buffer-show-mark): Make defvar-local.
2284 (bs-mode): Use setq-local.
2286 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2287 (emacs-lock--try-unlocking): Make defvar-local.
2289 2013-06-22 Glenn Morris <rgm@gnu.org>
2291 * play/cookie1.el (cookie-apropos): Minor simplification.
2293 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2295 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2297 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2298 `regexp-opt', it breaks the build during dumping.
2300 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2302 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2303 Highlight keyword-like methods on Kernel and Module with
2304 font-lock-builtin-face.
2305 (auto-mode-alist): Consolidate different entries into one regexp
2306 and add more *file-s.
2308 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2310 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2312 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2313 (diary-entry): Use it in the action of this button type instead of
2316 * calendar/todo-mode.el: New version.
2317 (todo-add-category): Append new category to end of file and give
2318 it the highest number, instead of putting it at the beginning and
2319 giving it 0. Incorporate noninteractive functionality.
2320 (todo-forward-category): Adapt to 1-based category numbering.
2321 Allow skipping over archived categories.
2322 (todo-backward-category): Derive from todo-forward-category.
2323 (todo-backward-item, todo-forward-item): Make noninteractive and
2324 delegate interactive part to new commands. Make sensitive to done items.
2325 (todo-categories): Make value an alist of category names and
2326 vectors of item counts.
2327 (todo-category-beg): Make a defconst.
2328 (todo-category-number): Use 1 instead of 0 as initial value.
2329 (todo-category-select): Make sensitive to overlays, optional item
2330 highlighting and done items.
2331 (todo-delete-item): Make sensitive to overlays and marked and done items.
2332 (todo-edit-item): Make sensitive to overlays and editing of
2333 date/time header optional. Add format checks.
2334 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2335 no-op if point is not on an item. Advertise using todo-edit-quit.
2336 (todo-edit-mode): Make sensitive to new format, font-locking, and
2337 multiple todo files.
2338 (todo-insert-item, todo-insert-item-here): Derive from
2339 todo-basic-insert-item and extend functionality.
2340 (todo-item-end, todo-item-start): Make sensitive to done items.
2341 (todo-item-string): Don't return text properties. Restore point.
2342 (todo-jump-to-category): Make sensitive to multiple todo files and
2343 todo archives. Use extended category completion.
2344 (todo-lower-item, todo-raise-item): Rename to *-priority and
2345 derive from todo-set-item-priority.
2346 (todo-mode): Derive from special-mode. Make sensitive to new
2347 format, font-locking and multiple todo files. Make read-only.
2348 (todo-mode-map): Don't suppress digit keys, so they can supply
2349 prefix arguments. Add many new key bindings.
2350 (todo-prefix): Insert as an overlay instead of file text.
2351 Change semantics from diary date expression to purely visual mark.
2352 (todo-print): Rename to todo-print-buffer. Make buffer display
2353 features printable. Remove option to restrict number of items
2354 printed. Add option to print to file.
2355 (todo-print-function): Rename to todo-print-buffer-function.
2356 (todo-quit): Extend to handle exiting new todo modes.
2357 (todo-remove-item): Make sensitive to overlays.
2358 (todo-save): Extend to buffers of filtered items.
2359 (todo-show): Make sensitive to done items, multiple todo files and
2360 new todo modes. Offer to convert legacy todo file before creating
2361 first new todo file.
2362 (todo-show-priorities): Rename to todo-top-priorities.
2363 Change semantics of value 0.
2364 (todo-top-priorities): Rename to todo-filter-top-priorities,
2365 derive from todo-filter-items and extend functionality.
2366 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2367 and extend functionality to other types of filtered items.
2368 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2369 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2370 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2371 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2372 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2373 (todo-edit-mode-hook, todo-entry-prefix-function)
2374 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2375 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2376 (todo-initials, todo-insert-threshold, todo-item-string-start)
2377 (todo-line-string, todo-menu, todo-mode-hook)
2378 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2379 (todo-print-priorities, todo-remove-separator)
2380 (todo-save-top-priorities-too, todo-string-count-lines)
2381 (todo-string-multiline-p, todo-time-string-format)
2382 (todo-tmp-buffer-name): Remove.
2383 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2384 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2385 (todo-edit-category-diary-inclusion)
2386 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2387 (todo-edit-file, todo-edit-item-date-day)
2388 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2389 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2390 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2391 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2392 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2393 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2394 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2395 (todo-filter-top-priorities-multifile, todo-find-archive)
2396 (todo-find-filtered-items-file, todo-go-to-source-item)
2397 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2398 (todo-jump-to-archive-category, todo-lower-category)
2399 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2400 (todo-move-category, todo-move-item, todo-next-button)
2401 (todo-next-item, todo-padded-string, todo-powerset)
2402 (todo-previous-button, todo-previous-item)
2403 (todo-print-buffer-to-file, todo-raise-category)
2404 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2405 (todo-set-category-number, todo-set-item-priority)
2406 (todo-set-top-priorities-in-category)
2407 (todo-set-top-priorities-in-file, todo-show-categories-table)
2408 (todo-sort-categories-alphabetically-or-numerically)
2409 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2410 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2411 (todo-toggle-item-header, todo-toggle-item-highlighting)
2412 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2413 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2414 (todo-unarchive-items, todo-unmark-category): New commands.
2415 (todo-absolute-file-name, todo-add-to-buffer-list)
2416 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2417 (todo-basic-insert-item, todo-category-completions)
2418 (todo-category-number, todo-category-string-matcher-1)
2419 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2420 (todo-check-format, todo-clear-matches)
2421 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2422 (todo-current-category, todo-date-string-matcher)
2423 (todo-define-insertion-command, todo-diary-expired-matcher)
2424 (todo-diary-goto-entry, todo-diary-item-p)
2425 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2426 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2427 (todo-done-item-section-p, todo-done-separator)
2428 (todo-done-string-matcher, todo-files, todo-filter-items)
2429 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2430 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2431 (todo-insert-category-line, todo-insert-item-from-calendar)
2432 (todo-insert-sort-button, todo-insert-with-overlays)
2433 (todo-insertion-command-name, todo-insertion-key-bindings)
2434 (todo-label-to-key, todo-longest-category-name-length)
2435 (todo-make-categories-list, todo-mode-external-set)
2436 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2437 (todo-modes-set-3, todo-multiple-filter-files)
2438 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2439 (todo-read-category, todo-read-date, todo-read-dayname)
2440 (todo-read-file-name, todo-read-time)
2441 (todo-reevaluate-category-completions-files-defcustom)
2442 (todo-reevaluate-default-file-defcustom)
2443 (todo-reevaluate-filelist-defcustoms)
2444 (todo-reevaluate-filter-files-defcustom)
2445 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2446 (todo-reset-done-separator, todo-reset-done-separator-string)
2447 (todo-reset-done-string, todo-reset-global-current-todo-file)
2448 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2449 (todo-reset-prefix, todo-set-categories)
2450 (todo-set-date-from-calendar, todo-set-show-current-file)
2451 (todo-set-top-priorities, todo-short-file-name)
2452 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2453 (todo-total-item-counts, todo-update-buffer-list)
2454 (todo-update-categories-display, todo-update-categories-sexp)
2455 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2457 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2459 (todo-categories, todo-display, todo-edit, todo-faces)
2460 (todo-filtered): New defgroups.
2461 (todo-archived-only, todo-button, todo-category-string, todo-date)
2462 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2463 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2464 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2465 (todo-add-item-if-new-category, todo-always-add-time-string)
2466 (todo-categories-align, todo-categories-archived-label)
2467 (todo-categories-category-label, todo-categories-diary-label)
2468 (todo-categories-done-label, todo-categories-number-separator)
2469 (todo-categories-todo-label, todo-categories-totals-label)
2470 (todo-category-completions-files, todo-completion-ignore-case)
2471 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2472 (todo-done-separator-string, todo-done-string)
2473 (todo-files-function, todo-filter-done-items, todo-filter-files)
2474 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2475 (todo-initial-category, todo-initial-file, todo-item-mark)
2476 (todo-legacy-date-time-regexp, todo-mode-line-function)
2477 (todo-nondiary-marker, todo-number-prefix)
2478 (todo-print-buffer-function, todo-show-current-file)
2479 (todo-show-done-only, todo-show-first, todo-show-with-done)
2480 (todo-skip-archived-categories, todo-top-priorities-overrides)
2481 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2482 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2484 (todo-category-done, todo-date-pattern, todo-date-string-start)
2485 (todo-diary-items-buffer, todo-done-string-start)
2486 (todo-filtered-items-buffer, todo-item-start)
2487 (todo-month-abbrev-array, todo-month-name-array)
2488 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2489 (todo-top-priorities-buffer): New defconsts.
2490 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2491 (todo-categories-with-marks, todo-category-string-face)
2492 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2493 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2494 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2495 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2496 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2497 (todo-font-lock-keywords, todo-global-current-todo-file)
2498 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2499 (todo-insertion-commands-args)
2500 (todo-insertion-commands-args-genlist)
2501 (todo-insertion-commands-names, todo-insertion-map)
2502 (todo-key-bindings-t, todo-key-bindings-t+a)
2503 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2504 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2505 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2506 (todo-visited): New variables.
2508 2013-06-21 Glenn Morris <rgm@gnu.org>
2510 * play/cookie1.el (cookie-apropos): Add optional display argument.
2511 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2512 (psychoanalyze-pinhead): Use cookie-doctor.
2514 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2516 * emacs-lisp/package.el (tar-get-file-descriptor)
2517 (tar--extract): Declare.
2519 2013-06-21 Eduard Wiebe <usenet@pusto.de>
2521 Extend flymake's warning predicate to be a function (bug#14217).
2522 * progmodes/flymake.el (flymake-warning-predicate): New.
2523 (flymake-parse-line): Use it.
2524 (flymake-warning-re): Make obsolete alias to
2525 `flymake-warning-predicate'.
2527 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2529 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2530 (package-obsolete-list): Remove.
2531 (package-activate): Remove min-version argument. Add `force' argument.
2532 Adjust to new package-alist format.
2533 (package-mark-obsolete): Remove.
2534 (package-unpack): Force reload of the package's autoloads.
2535 (package-installed-p): Check builtins if the installed package is not
2537 (package-initialize): Don't reset package-obsolete-list.
2538 Don't specify which package version to activate.
2539 (package-process-define-package, describe-package-1)
2540 (package-menu--generate): Adjust to new package-alist format.
2542 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2544 * allout-widgets.el (allout-widgets-mode-off)
2545 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2546 (allout-widgets-post-command-business)
2547 (allout-widgets-after-copy-or-kill-function)
2548 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2549 (allout-decorate-item-and-context)
2550 (allout-graphics-modification-handler): Fix typos in docstrings.
2551 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2553 * cmuscheme.el (scheme-start-file): Doc fix.
2554 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2555 (scheme-input-filter): Use `string-match-p'.
2557 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2559 * dired-x.el: Use Dired consistently in docstrings.
2561 * dired.el: Use Dired consistently in docstrings.
2562 (dired-readin, dired-mode): Use `setq-local'.
2563 (dired-switches-alist): Make defvar-local.
2564 (dired-buffers-for-dir): Use `zerop'.
2565 (dired-safe-switches-p, dired-switches-escape-p)
2566 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2567 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2568 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2569 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2570 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2571 (dired-toggle-marks, dired-mark-files-containing-regexp)
2572 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2573 (dired-flag-auto-save-files, dired-flag-backup-files):
2575 (dired-mark-files-regexp, dired-build-subdir-alist):
2576 Use `string-match-p', `looking-at-p'.
2578 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2579 (direct-print-region-helper): Use `string-match-p'.
2581 2013-06-21 Leo Liu <sdl.web@gmail.com>
2583 * comint.el (comint-redirect-results-list-from-process):
2586 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2588 * net/eww.el (eww-update-header-line-format): Quote % characters.
2590 2013-06-21 Glenn Morris <rgm@gnu.org>
2592 * play/cookie1.el (cookie): New custom group.
2593 (cookie-file): New option.
2594 (cookie-check-file): New function.
2595 (cookie): Make it interactive. Make start and end messages optional.
2596 Interactively, display the result. Default to cookie-file.
2597 (cookie-insert): Default to cookie-file.
2598 (cookie-snarf): Make start and end messages optional.
2599 Default to cookie-file. Use with-temp-buffer.
2600 (cookie-read): Rename from read-cookie.
2601 Make start and end messages optional. Default to cookie-file.
2602 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
2604 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2605 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2607 2013-06-21 Leo Liu <sdl.web@gmail.com>
2609 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2611 2013-06-21 Glenn Morris <rgm@gnu.org>
2613 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2615 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2616 Daniel Hackney <dan@haxney.org>
2618 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2619 Consolidate the single-file vs tarball code.
2620 (package-desc-suffix): New function.
2621 (package-desc-full-name): Don't bother inlining it.
2622 (package-load-descriptor): Return the new package-desc.
2623 (package-mark-obsolete): Remove unused arg `package'.
2624 (package-unpack): Make it work for single files as well.
2625 Make it update package-alist.
2626 (package--make-autoloads-and-stuff): Rename from
2627 package--make-autoloads-and-compile. Don't compile any more.
2628 (package--compile): New function.
2629 (package-generate-description-file): New function, extracted from
2630 package-unpack-single.
2631 (package-unpack-single): Remove.
2632 (package--with-work-buffer): Add indentation and debugging info.
2633 (package-download-single): Remove.
2634 (package-install-from-archive): Rename from package-download-tar, make
2635 it take a pkg-desc, and make it work for single files as well.
2636 (package-download-transaction): Simplify.
2637 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2638 external tar program.
2639 (package-install-from-buffer): Remove `pkg-desc' argument.
2640 Use package-tar-file-info for tar-mode buffers.
2641 (package-install-file): Simplify accordingly.
2642 (package-archive-base): Change to take a pkg-desc.
2643 * tar-mode.el (tar--check-descriptor): New function, extracted from
2645 (tar-get-descriptor): Use it.
2646 (tar-get-file-descriptor): New function.
2647 (tar--extract): New function, extracted from tar-extract.
2648 (tar--extract): Use it.
2649 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2650 case the summary uses non-ascii. Adjust to new calling convention of
2651 package-tar-file-info.
2653 2013-06-21 Leo Liu <sdl.web@gmail.com>
2655 * comint.el (comint-redirect-results-list-from-process):
2656 Fix random delay. (Bug#14681)
2658 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2660 * profiler.el (profiler-format-number): Use log, not log10.
2662 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2664 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2666 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2668 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2669 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2671 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2672 (AUTOGENEL): ... here.
2673 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2674 (cl--defsubst-expand): Use it.
2676 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2678 * subr.el (log10): Move here from C code, and declare as obsolete.
2679 All uses of (log10 X) replaced with (log X 10).
2681 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2683 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2684 Declare with `defvar-local'.
2685 (tabulated-list-use-header-line, tabulated-list-entries)
2686 (tabulated-list-padding, tabulated-list-printer)
2687 (tabulated-list-sort-key): Declare with `defvar-local'.
2688 (tabulated-list-init-header, tabulated-list-print-fake-header):
2691 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
2693 * arc-mode.el (archive-mode): Add `archive-write-file' to
2694 `write-contents-functions' also for remote files. (Bug#14652)
2696 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2698 * cus-edit.el (custom-commands): Fix typos.
2699 (custom-display): Fix tooltip text.
2700 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2701 Fix typos in docstrings.
2702 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2703 (custom-unlispify-menu-entry, custom-magic-value-create)
2704 (custom-add-see-also, custom-group-value-create): Use ?\s.
2705 (custom-guess-type, customize-apropos, editable-field)
2706 (custom-face-value-create): Use `string-match-p'.
2707 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2709 * custom.el (custom-load-symbol): Use `string-match-p'.
2711 * ansi-color.el: Convert to lexical binding.
2712 (ansi-colors): Fix URL.
2713 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2714 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2715 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2717 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2719 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2721 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2723 2013-06-19 Tom Tromey <tromey@redhat.com>
2725 * net/eww.el (eww-top-url): Remove.
2726 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2727 (eww-render): Set new variables. Don't set eww-top-url.
2728 (eww-handle-link): Handle "prev", "home", and "contents".
2729 Downcase the rel text.
2730 (eww-top-url): Choose best top URL.
2732 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2734 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2735 relying in widget.el. Using widget.el leads to too many
2736 user interface inconsistencies.
2737 (eww-self-insert): Implement entering commands in text fields.
2738 (eww-process-text-input): New function to make text input field editing
2740 (eww-submit): Rewrite to use the new-style form methods.
2741 (eww-select-display): Display the correct selected item.
2742 (eww-change-select): Implement changing the select value.
2743 (eww-toggle-checkbox): Implement radio/checkboxes.
2744 (eww-update-field): Fix compilation error.
2745 (eww-tag-textarea): Implement <textarea>.
2747 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2748 we don't shadow mode-specific bindings.
2750 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2753 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2755 2013-06-19 Glenn Morris <rgm@gnu.org>
2757 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2759 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2761 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2764 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2766 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2768 * net/browse-url.el (browse-url-browser-function):
2769 `eww-browse-url' has the right calling signature, `eww' does not.
2771 2013-06-19 Glenn Morris <rgm@gnu.org>
2773 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2774 Only eval autoloaded macros.
2775 (byte-compile-autoload): Only give the macro warning for macros.
2777 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2778 (ps-underlined-faces): Declare.
2780 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2781 (speedbar-add-supported-extension): Declare.
2783 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2784 Don't include a date stamp in the header of the generated file;
2785 it leads to needless differences between output files.
2787 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2789 * net/secrets.el (secrets-struct-secret-content-type):
2790 Replace check of introspection data by a test call of "CreateItem".
2791 Some servers do not offer introspection.
2793 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2795 * electric.el (electric-pair-mode): Improve interaction with
2796 electric-layout-mode.
2797 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2798 (electric-pair-syntax): Use text-mode-syntax-table in comments
2800 (electric-pair--insert): New function.
2801 (electric-pair-post-self-insert-function): Use it and
2802 electric--after-char-pos.
2804 2013-06-19 Leo Liu <sdl.web@gmail.com>
2806 * progmodes/octave.el (octave-help): Fix regexp.
2808 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2810 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2811 (shr-table-horizontal-line): Allow nil as a value, and change the
2813 (shr-insert-table-ruler): Respect the nil value.
2815 2013-06-18 Tom Tromey <tromey@barimba>
2817 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2819 (eww-open-file): New defun.
2820 (eww-render): Initialize new variables.
2821 (eww-display-html): Handle "link" and "a".
2822 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2823 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2824 (eww-back-url): Rename from eww-previous-url.
2825 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2828 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2830 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2831 Distinguish ternary operator tokens from slash symbol and slash
2834 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2836 Convert symbol prettification into minor mode and global minor mode.
2838 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2839 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2840 (prettify-symbols--keywords): Rename from
2841 `prog-prettify-symbols-alist' and make a local defvar.
2842 (prettify-symbols--compose-symbol): Rename from
2843 `prog--prettify-font-lock-compose-symbol'.
2844 (prettify-symbols--make-keywords): Rename from
2845 `prog-prettify-font-lock-symbols-keywords' and simplify.
2846 (prog-prettify-install): Remove.
2847 (prettify-symbols-mode): New minor mode, based on
2848 `prog-prettify-install'.
2849 (turn-on-prettify-symbols-mode): New function.
2850 (global-prettify-symbols-mode): New globalized minor mode.
2852 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2853 * progmodes/cfengine.el (cfengine3-mode):
2854 * progmodes/perl-mode.el (perl-mode): Don't call
2855 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2857 2013-06-18 Juri Linkov <juri@jurta.org>
2859 * files-x.el (modify-file-local-variable-message): New function.
2860 (modify-file-local-variable)
2861 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2862 and call `modify-file-local-variable-message' when it's non-nil.
2863 (add-file-local-variable, delete-file-local-variable)
2864 (add-file-local-variable-prop-line)
2865 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2866 and use it. (Bug#9820)
2868 2013-06-18 Juri Linkov <juri@jurta.org>
2870 * emulation/vi.el (vi-shell-op):
2871 * emulation/vip.el (vip-execute-com, ex-command):
2872 * emulation/viper-cmd.el (viper-exec-bang):
2873 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2874 the call of `shell-command-on-region'. (Bug#14637)
2876 * simple.el (shell-command-on-region): Doc fix.
2878 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2880 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2883 2013-06-18 Glenn Morris <rgm@gnu.org>
2885 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2887 * newcomment.el (comment-search-forward, comment-search-backward):
2888 Doc fix. (Bug#14376)
2890 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2892 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2893 (buffer-face-mode-invoke): Doc fix.
2895 2013-06-18 Matthias Meulien <orontee@gmail.com>
2897 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2898 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2900 2013-06-18 Glenn Morris <rgm@gnu.org>
2902 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2903 Replace obsolete function generic-make-keywords with its expansion.
2905 * progmodes/python.el (ffap-alist): Declare.
2907 * textmodes/reftex.el (bibtex-mode-map): Declare.
2909 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2911 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2912 (package-unpack, package-unpack-single): Return the pkg-dir.
2913 (package-download-transaction): Use it to update package-alist.
2915 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2917 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2920 2013-06-17 Juri Linkov <juri@jurta.org>
2922 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2924 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2926 * emacs-lisp/package.el (package-load-descriptor):
2927 Remove `with-syntax-table' call, `read' doesn't need it.
2928 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2930 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2932 * startup.el (command-line): Expand package name returned by
2933 `package--description-file' (bug#14639).
2935 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2937 * emacs-lisp/package.el (package-load-descriptor): Do not call
2938 `emacs-lisp-mode', just use its syntax table.
2940 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2942 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2943 `font-lock-extra-managed-props' if any prettifying keyword is added.
2944 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2945 (prog-mode): Use `setq-local'.
2947 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2949 * international/characters.el (standard-case-table): Set syntax of ?»
2950 and ?« to punctuation.
2952 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
2954 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2955 Save relevant match data before calling `syntax-ppss' (bug#14595).
2957 2013-06-15 Juri Linkov <juri@jurta.org>
2959 * files-x.el (modify-file-local-variable-prop-line): Add local
2960 variables to the end of the existing comment on the first line.
2961 Use `file-auto-mode-skip' to skip interpreter magic line,
2962 and also skip XML declaration.
2964 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2966 * startup.el (package--builtin-versions): New var.
2967 (package-subdirectory-regexp): Remove.
2968 (package--description-file): Hard code its value instead.
2970 * emacs-lisp/package.el: Don't activate packages older than builtin.
2971 (package-obsolete-list): Rename from package-obsolete-alist, and make
2972 it into a simple list of package-desc.
2973 (package-strip-version): Remove.
2974 (package-built-in-p): Use package--builtin-versions.
2975 (package-mark-obsolete): Simplify.
2976 (package-process-define-package): Mark it obsolete if older than the
2978 (package-handle-response): Use line-end-position.
2979 (package-read-archive-contents, package--download-one-archive):
2981 (package--add-to-archive-contents): Skip if older than the builtin or
2983 (package-menu-describe-package): Fix last change.
2984 (package-list-unversioned): New var.
2985 (package-menu--generate): Use it.
2987 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2988 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2989 (autoload-builtin-package-versions): New variable.
2990 (autoload-generate-file-autoloads): Use them.
2991 Remove the list of autoloaded functions/macros from the
2992 (autoload...) comments.
2994 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2996 2013-06-15 Eli Zaretskii <eliz@gnu.org>
2998 * simple.el (line-move-partial): Don't jump to the next screen
2999 line as soon as it becomes visible. Instead, continue enlarging
3000 the vscroll until the portion of a tall screen line that's left on
3001 display is about the height of the frame's default font.
3004 2013-06-15 Glenn Morris <rgm@gnu.org>
3006 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3007 compilation-error-regexp-alist void, or local while let-bound.
3009 * progmodes/make-mode.el (makefile-mode-syntax-table):
3010 Treat "=" as punctuation. (Bug#14614)
3012 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
3014 * help-fns.el (describe-variable):
3015 Add extra line for permanent-local variables.
3017 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3019 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3020 Add export, import, library. (Bug#9164)
3021 (library): Set indent function.
3023 2013-06-14 Glenn Morris <rgm@gnu.org>
3025 * term/xterm.el (xterm--query):
3026 Stop after first matching handler. (Bug#14615)
3028 2013-06-14 Ivan Kanis <ivan@kanis.fr>
3030 Add support for dired in saveplace.
3031 * dired.el (dired-initial-position-hook): New variable.
3032 (dired-initial-position): Call hook to place cursor position.
3033 * saveplace.el (save-place-to-alist): Add dired position.
3034 (save-place-dired-hook): New function.
3036 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3038 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3039 through a symbol rather than letrec.
3041 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3042 (package-desc): Add `dir' field.
3043 (package-desc-full-name): New function.
3044 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3045 (package-maybe-load-descriptor): Remove.
3046 (package-load-all-descriptors): Just call package-load-descriptor.
3047 (package--disabled-p): New function.
3048 (package-desc-vers, package-desc-doc): Remove aliases.
3049 (package--dir): Remove function.
3050 (package-activate): Check if a package is disabled.
3051 (package-process-define-package): New function, extracted from
3053 (define-package): Turn into a place holder.
3054 (package-unpack-single, package-tar-file-info):
3055 Use package--description-file.
3056 (package-compute-transaction): Use package--disabled-p.
3057 (package-download-transaction): Don't call
3058 package-maybe-load-descriptor since they're all loaded anyway.
3059 (package-install): Change argument to be a pkg-desc.
3060 (package-delete): Use a single pkg-desc argument.
3061 (describe-package-1): Use package-desc-dir instead of package--dir.
3062 Use package-desc property instead of package-symbol.
3063 (package-install-button-action): Adjust accordingly.
3064 (package--push): Rewrite.
3065 (package-menu--print-info): Adjust accordingly. Change the ID format
3067 (package-menu-describe-package, package-menu-get-status)
3068 (package-menu--find-upgrades, package-menu-mark-upgrades)
3069 (package-menu-execute, package-menu--name-predicate):
3071 * startup.el (package--description-file): New function.
3072 (command-line): Use it.
3073 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3074 Use package-desc-version.
3076 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3077 (byte-compile-preprocess): Use it.
3078 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3079 can't quite recognize.
3080 (byte-compile-add-to-list): Remove.
3081 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3082 (cconv-closure-convert): Add assertion.
3084 * emacs-lisp/map-ynp.el: Use lexical-binding.
3085 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3086 Factor out some repeated code.
3088 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3090 * subr.el (with-eval-after-load): New macro.
3091 (eval-after-load): Allow form to be a function.
3092 take advantage of lexical-binding.
3093 (do-after-load-evaluation): Use dolist and adjust to new format.
3094 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3096 2013-06-13 Juri Linkov <juri@jurta.org>
3098 * replace.el (perform-replace): Display "symbol " and other search
3099 modes from `isearch-message-prefix' in the *Help* buffer.
3101 * isearch.el (isearch-query-replace): Add " symbol" and other
3102 possible search modes from `isearch-message-prefix' to the prompt.
3103 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3104 when reading a regexp to collect.
3106 2013-06-13 Juri Linkov <juri@jurta.org>
3108 * isearch.el (word-search-regexp): Match whitespace if the search
3109 string begins or ends in whitespace. The LAX arg is applied to
3110 both ends of the search string. Use `regexp-quote' and explicit
3111 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3112 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3113 boundaries are replaced with symbol boundaries, and characters
3114 between symbols match non-word non-symbol syntax. (Bug#14602)
3116 2013-06-13 Juri Linkov <juri@jurta.org>
3118 * isearch.el (isearch-del-char): Don't exceed the length of
3119 `isearch-string' by the prefix arg. (Bug#14563)
3121 2013-06-13 Juri Linkov <juri@jurta.org>
3123 * isearch.el (isearch-yank-word, isearch-yank-line)
3124 (isearch-char-by-name, isearch-quote-char)
3125 (isearch-printing-char, isearch-process-search-char):
3126 Add optional count prefix arg. (Bug#14563)
3128 * international/isearch-x.el
3129 (isearch-process-search-multibyte-characters):
3130 Add optional count prefix arg.
3132 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3135 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3138 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3140 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3142 2013-06-13 Glenn Morris <rgm@gnu.org>
3144 * startup.el (tty-handle-args):
3145 Don't just discard "--" and anything after. (Bug#14608)
3147 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3149 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
3151 Implement changes in Secret Service API. Make it backward compatible.
3152 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3153 (secrets-create-item): Use it. Prefix properties with interface.
3155 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3157 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3158 (term-emulate-terminal): Respect term-suppress-hard-newline.
3160 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3162 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3163 Only remove a `thumb-file' overlay. (Bug#14548)
3165 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
3167 * mail/reporter.el (reporter-submit-bug-report):
3168 Handle missing package-name. (Bug#14600)
3170 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3172 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3173 (reftex-citation-prompt, reftex-default-bibliography)
3174 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3175 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3176 (reftex-bib-sort-author, reftex-bib-sort-year)
3177 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3178 (reftex-extract-bib-entries-from-thebibliography)
3179 (reftex-get-bibkey-default, reftex-get-bib-names)
3180 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3181 (reftex-format-bib-entry, reftex-parse-bibitem)
3182 (reftex-format-bibitem, reftex-do-citation)
3183 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3184 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3185 (reftex-insert-bib-matches, reftex-format-citation)
3186 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3187 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3188 existing comments into docstrings.
3190 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3192 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3194 2013-06-12 Andreas Schwab <schwab@suse.de>
3196 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3197 for auto-save files.
3199 2013-06-12 Glenn Morris <rgm@gnu.org>
3201 * ido.el (ido-delete-ignored-files): Remove.
3202 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3203 Go back to calling ido-ignore-item-p directly.
3205 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3207 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3209 * ido.el (ido-delete-ignored-files): New function,
3210 split from ido-make-file-list-1.
3211 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3212 (ido-make-file-list-1): Use ido-delete-ignored-files.
3214 2013-06-12 Leo Liu <sdl.web@gmail.com>
3216 * progmodes/octave.el (inferior-octave-startup)
3217 (inferior-octave-completion-table)
3218 (inferior-octave-track-window-width-change)
3219 (octave-eldoc-function-signatures, octave-help)
3220 (octave-find-definition): Use single quoted strings.
3221 (inferior-octave-startup-args): Change default value.
3222 (inferior-octave-startup): Do not hard code "-i" and
3223 "--no-line-editing".
3224 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3225 (inferior-octave-directory-tracker): Use it.
3226 (octave-goto-function-definition): Robustify.
3227 (octave-help): Support highlighting operators in 'See also'.
3228 (octave-find-definition): Find subfunctions only in Octave mode.
3230 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3232 * help-fns.el (help-fns--compiler-macro): If the handler function is
3233 named, then put a link to it.
3234 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3235 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3237 (cl-eval-when): Simplify debug spec.
3238 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3239 compiler-macro function instead of setting `compiler-macro-file'.
3241 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3243 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3244 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3246 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3247 Daniel Hackney <dan@haxney.org>
3249 First part of Daniel Hackney's patch to package.el.
3250 * emacs-lisp/package.el: Use defstruct.
3251 (package-desc): New, main struct.
3252 (package--bi-desc, package--ac-desc): New structs, used to describe the
3253 format in external files.
3254 (package-desc-vers): Replace with package-desc-version accessor.
3255 (package-desc-doc): Replace with package-desc-summary accessor.
3256 (package-activate-1): Remove `package' arg since the pkg-vec now
3258 (define-package): Use package-desc-from-define.
3259 (package-unpack-single): Change file-name arg to be a symbol.
3260 (package--add-to-archive-contents): Use package-desc-create and new
3261 accessor functions to package--ac-desc.
3262 (package-buffer-info, package-tar-file-info): Return a package-desc.
3263 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3264 arg to be a package-desc.
3265 (package-install-file): Adjust accordingly. Use \' to match EOS.
3266 (package--from-builtin): New function.
3267 (describe-package-1, package-menu--generate): Use it.
3268 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3269 (package-generate-autoloads): Idem and return the name of the file.
3270 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3271 Change pkg-info arg to be a package-desc.
3272 Use package-make-ac-desc.
3273 (package-upload-file): Use \' to match EOS.
3274 * finder.el (finder-compile-keywords): Use package-make-builtin.
3276 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3278 * vc/vc.el (vc-deduce-fileset): Change error message.
3279 (vc-read-backend): New function.
3280 (vc-next-action): Use it.
3282 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3284 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3285 (prolog-font-lock-keywords): Use regexp-opt instead.
3286 Don't manually highlight strings.
3287 (prolog-mode-variables): Simplify comment-start-skip.
3288 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3290 * emacs-lisp/generic.el (generic--normalise-comments)
3291 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3292 (generic-mode-set-comments): Use them.
3293 (generic-bracket-support): Use setq-local.
3294 (generic-make-keywords-list): Declare obsolete.
3296 2013-06-11 Glenn Morris <rgm@gnu.org>
3298 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3299 Prettify after setting font-lock-defaults. (Bug#14574)
3301 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
3303 * replace.el (query-replace, occur-read-regexp-defaults-function)
3305 * subr.el (declare-function, number-sequence, local-set-key)
3306 (substitute-key-definition, locate-user-emacs-file)
3307 (with-silent-modifications, split-string, eval-after-load):
3308 Fix typos, remove unneeded backslashes and reflow some docstrings.
3310 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3312 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3313 default for Elisp files.
3315 2013-06-11 Glenn Morris <rgm@gnu.org>
3317 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3318 although define-derived-mode was doing this anyway. (Bug#14583)
3320 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3322 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3323 Fix make-variable-buffer-local call to refer to the correct variable.
3325 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3327 * eshell/em-term.el (eshell-visual-commands)
3328 (eshell-visual-subcommands, eshell-visual-options):
3329 Add summary line to docstrings. Add cross-references.
3331 2013-06-10 Glenn Morris <rgm@gnu.org>
3333 * epa.el (epa-read-file-name): New function. (Bug#14510)
3334 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3336 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3338 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3339 output redirection to be ignored with visual commands.
3341 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3343 * eshell/em-term.el (eshell-visual-command-p): New function.
3344 (eshell-term-initialize): Move long lambda to separate function
3345 eshell-visual-command-p.
3346 * eshell/em-dirs.el (eshell-dirs-initialise):
3347 * eshell/em-script.el (eshell-script-initialize):
3348 Add missing #' to lambda.
3350 2013-06-08 Leo Liu <sdl.web@gmail.com>
3352 * progmodes/octave.el (octave-add-log-current-defun): New function.
3353 (octave-mode): Set add-log-current-defun-function.
3354 (octave-goto-function-definition): Do not move point if not found.
3355 (octave-find-definition): Enhance to try subfunctions first.
3357 2013-06-08 Glenn Morris <rgm@gnu.org>
3359 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3360 (byte-compile-backward-char, byte-compile-backward-word):
3361 Improve previous change, to handle non-explicit nil.
3363 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3365 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3366 (smie--opener/closer-at-point): New function.
3367 (smie--matching-block-data): Use it. Don't match from right after an
3368 opener or right before a closer. Obey smie-blink-matching-inners.
3369 Don't signal a mismatch for repeated inners like "switch..case..case".
3371 2013-06-07 Leo Liu <sdl.web@gmail.com>
3373 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3375 (octave-function-header-regexp): Fix. (Bug#14570)
3376 (octave-help-mode-finish-hook, octave-help-mode-finish):
3377 Remove. Just use temp-buffer-show-hook.
3379 * newcomment.el (comment-search-backward): Revert last change.
3382 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3384 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3386 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3387 through xargs, to avoid failure due to MS-Windows limitations on
3388 command-line length.
3390 2013-06-06 Glenn Morris <rgm@gnu.org>
3392 * font-lock.el (lisp-font-lock-keywords-2):
3393 Treat user-error like error.
3395 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3396 (byte-compile-backward-char, byte-compile-backward-word):
3397 Handle explicit nil arguments. (Bug#14565)
3399 2013-06-05 Alan Mackenzie <acm@muc.de>
3401 * isearch.el (isearch-allow-prefix): New user option.
3402 (isearch-other-meta-char): Don't exit isearch when a prefix
3403 argument is typed whilst `isearch-allow-prefix' is non-nil.
3406 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3408 * autorevert.el (auto-revert-notify-handler): Use memq.
3409 Hide assertion failure.
3411 * skeleton.el: Use cl-lib.
3412 (skeleton-further-elements): Use defvar-local.
3413 (skeleton-insert): Use cl-progv.
3415 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3417 * progmodes/prog-mode.el (prog-prettify-symbols)
3418 (prog-prettify-install): Update docstrings.
3420 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3422 * simple.el: Move all the prog-mode code to prog-mode.el.
3423 * progmodes/prog-mode.el: New file.
3424 * loadup.el: Add prog-mode.el.
3426 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3428 * simple.el (prog-prettify-symbols): Add version.
3429 (prog-prettify-install): Add convenience function to prettify symbols.
3431 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3432 (perl--augmented-font-lock-keywords-1)
3433 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3434 variables and use it.
3436 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3437 (cfengine3-mode): Remove unneeded variable and use it.
3439 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3440 (lisp--augmented-font-lock-keywords-1)
3441 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3442 Remove unneeded variables and use it.
3444 2013-06-05 João Távora <joaotavora@gmail.com>
3446 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3447 to point when opening the connection. (Bug#14380)
3449 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3451 * subr.el (load-history-regexp, load-history-filename-element)
3452 (eval-after-load, after-load-functions, do-after-load-evaluation)
3453 (eval-next-after-load, display-delayed-warnings)
3454 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3455 definition of save-match-data.
3456 (overriding-local-map): Remove accidental obsolescence declaration.
3458 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3460 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3462 Generalize symbol prettify support to prog-mode and implement it
3463 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3464 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3465 (prog--prettify-font-lock-compose-symbol)
3466 (prog-prettify-font-lock-symbols-keywords): New variables and
3467 functions to support symbol prettification.
3468 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3469 (lisp--augmented-font-lock-keywords-1)
3470 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3471 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3472 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3473 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3474 Implement prettify of -> => :: strings.
3475 * progmodes/perl-mode.el (perl-prettify-symbols)
3476 (perl--font-lock-compose-symbol)
3477 (perl--font-lock-symbols-keywords): Move to prog-mode.
3478 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3479 (perl-font-lock-keywords-1)
3480 (perl-font-lock-keywords-2): Remove explicit prettify support.
3481 (perl--augmented-font-lock-keywords)
3482 (perl--augmented-font-lock-keywords-1)
3483 (perl--augmented-font-lock-keywords-2, perl-mode):
3484 Implement prettify support.
3486 2013-06-05 Leo Liu <sdl.web@gmail.com>
3488 Re-implement smie matching block highlight using
3489 show-paren-data-function. (Bug#14395)
3490 * emacs-lisp/smie.el (smie-matching-block-highlight)
3491 (smie--highlight-matching-block-overlay)
3492 (smie--highlight-matching-block-lastpos)
3493 (smie-highlight-matching-block)
3494 (smie-highlight-matching-block-mode): Remove.
3495 (smie--matching-block-data-cache): New variable.
3496 (smie--matching-block-data): New function.
3497 (smie-setup): Use smie--matching-block-data for
3498 show-paren-data-function.
3500 * progmodes/octave.el (octave-mode-menu): Fix.
3501 (octave-find-definition): Skip garbage lines.
3503 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3505 Fix compilation error with simultaneous dynamic+lexical scoping.
3506 Add warning when a defvar appears after the first let-binding.
3507 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3508 (byte-compile-close-variables): Initialize it.
3509 (byte-compile--declare-var): New function.
3510 (byte-compile-file-form-defvar)
3511 (byte-compile-file-form-define-abbrev-table)
3512 (byte-compile-file-form-custom-declare-variable): Use it.
3513 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3514 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3515 (byte-compile-bind): Handle dynamic bindings that shadow
3517 (byte-compile-unbind): Make arg non-optional.
3518 (byte-compile-let): Simplify.
3519 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3520 (cconv--analyse-function, cconv-analyse-form): Populate it.
3521 Protect byte-compile-bound-variables to limit the scope of defvars.
3522 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3523 Remove unneeded rule for `declare'.
3525 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3526 so as to avoid depending on cl-adjoin at run-time.
3527 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3529 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3530 (macroexp--warn-and-return): Use it.
3532 2013-06-05 Leo Liu <sdl.web@gmail.com>
3534 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3536 2013-06-04 Leo Liu <sdl.web@gmail.com>
3538 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3539 (compilation-auto-jump): Suppress the "Mark set" message to give
3540 way to exit message.
3542 2013-06-04 Alan Mackenzie <acm@muc.de>
3544 Remove faulty optimisation from indentation calculation.
3545 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3546 search limit based on 2000 characters back from indent-point.
3548 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3550 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3552 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3554 * emacs-lisp/lisp.el: Use lexical-binding.
3555 (lisp--local-variables-1, lisp--local-variables): New functions.
3556 (lisp--local-variables-completion-table): New var.
3557 (lisp-completion-at-point): Use it complete let-bound vars.
3559 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3560 eagerly (bug#14422).
3562 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
3564 * autorevert.el (auto-revert-notify-enabled)
3565 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3566 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3567 (auto-revert-notify-handler): Handle also gfilenotify.
3569 * subr.el (file-notify-handle-event): New defun. Replacing ...
3570 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3573 2013-06-03 Juri Linkov <juri@jurta.org>
3575 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3576 `M-s h .'. (Bug#14427)
3578 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3579 command `hi-lock-face-symbol-at-point'.
3580 (hi-lock-face-symbol-at-point): New command.
3581 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3582 (hi-lock-menu): Add `highlight-symbol-at-point'.
3583 (hi-lock-mode): Doc fix.
3585 * isearch.el (isearch-forward-symbol-at-point): New command.
3586 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3587 (isearch-highlight-regexp): Add a regexp which matches
3588 words/symbols for word/symbol mode.
3590 * subr.el (find-tag-default-bounds): New function with the body
3591 mostly moved from `find-tag-default'.
3592 (find-tag-default): Move most code to `find-tag-default-bounds',
3593 call it and apply `buffer-substring-no-properties' afterwards.
3595 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3597 * eshell/em-term.el (eshell-term-initialize):
3598 Use `cl-intersection' rather than `intersection'.
3600 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3602 * vc/log-view.el: Doc fix.
3603 (log-view-mode-map): Copy keymap from `special-mode-map'.
3605 2013-06-02 Eric Ludlam <zappo@gnu.org>
3607 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3608 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3609 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3610 (eieio-unbound, eieio-default-superclass)
3611 (eieio--define-field-accessors, method-static, method-before)
3612 (method-primary, method-after, method-num-lists)
3613 (method-generic-before, method-generic-primary)
3614 (method-generic-after, method-num-slots)
3615 (eieio-specialized-key-to-generic-key)
3616 (eieio--check-type, class-v, class-p)
3617 (eieio-class-name, define-obsolete-function-alias)
3618 (eieio-class-parents-fast, eieio-class-children-fast)
3619 (same-class-fast-p, class-constructor, generic-p)
3620 (generic-primary-only-p, generic-primary-only-one-p)
3621 (class-option-assoc, class-option, eieio-object-p)
3622 (class-abstract-p, class-method-invocation-order)
3623 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3624 (eieio-class-un-autoload, eieio-defclass)
3625 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3626 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3627 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3628 (eieio-defgeneric-reset-generic-form)
3629 (eieio-defgeneric-form-primary-only)
3630 (eieio-defgeneric-reset-generic-form-primary-only)
3631 (eieio-defgeneric-form-primary-only-one)
3632 (eieio-defgeneric-reset-generic-form-primary-only-one)
3633 (eieio-unbind-method-implementations)
3634 (eieio--defmethod, eieio--typep)
3635 (eieio-perform-slot-validation, eieio-validate-slot-value)
3636 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3637 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3638 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3639 (eieio-slot-name-index, eieio-class-slot-name-index)
3640 (eieio-set-defaults, eieio-initarg-to-attribute)
3641 (eieio-attribute-to-initarg, eieio-c3-candidate)
3642 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3643 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3644 (eieio-class-precedence-list, eieio-generic-call-methodname)
3645 (eieio-generic-call-arglst, eieio-generic-call-key)
3646 (eieio-generic-call-next-method-list)
3647 (eieio-pre-method-execution-functions, eieio-generic-call)
3648 (eieio-generic-call-primary-only, eieiomt-method-list)
3649 (eieiomt-optimizing-obarray, eieiomt-install)
3650 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3651 (eieio-generic-form, eieio-defmethod, make-obsolete)
3652 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3653 (defclass): Remove `eval-and-compile' from macro.
3654 (call-next-method, shared-initialize): Instead of using
3655 `scoped-class' variable, use new eieio--scoped-class, and
3656 eieio--with-scoped-class.
3657 (initialize-instance): Rename local variable 'scoped-class' to
3658 'this-class' to remove ambiguitity from old global.
3660 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3662 (eieio--scoped-class-stack): New variable.
3663 (eieio--scoped-class): New fcn.
3664 (eieio--with-scoped-class): New scoping macro.
3665 (eieio-defclass): Use pushnew instead of add-to-list.
3666 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3667 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3668 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3669 `scoped-class' variable, use new eieio--scoped-class, and
3670 eieio--with-scoped-class.
3672 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3674 2013-06-02 Tassilo Horn <tsdh@gnu.org>
3676 * eshell/esh-ext.el (eshell-external-command): Pass args to
3677 `eshell-find-interpreter'.
3678 (eshell-find-interpreter): Add new second parameter ARGS.
3680 * eshell/em-script.el (eshell-script-initialize): Add second arg
3681 to the function added as MATCH to `eshell-interpreter-alist'.
3683 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3684 the function added as MATCH to `eshell-interpreter-alist'.
3686 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3687 (eshell-visual-options): New defcustom.
3688 (eshell-escape-control-x): Adapt docstring.
3689 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3690 `eshell-visual-options' in addition to `eshell-visual-commands'.
3691 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3693 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
3695 * progmodes/python.el (python-indent-block-enders): Add break,
3696 continue and raise keywords.
3698 2013-06-01 Glenn Morris <rgm@gnu.org>
3700 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3702 Plain (f)boundp silences compilation warnings since Emacs 22.1.
3703 * progmodes/cc-cmds.el (delete-forward-p):
3704 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3705 * progmodes/cc-engine.el (buffer-syntactic-context):
3706 * progmodes/cc-fonts.el (face-property-instance):
3707 * progmodes/cc-mode.el (set-keymap-parents):
3708 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3709 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3710 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3711 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3712 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3714 * progmodes/cc-vars.el (other): Emacs has this widget since
3715 at least 21.1, so don't (re)define it.
3717 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3718 Replace the obsolete alias pcomplete-arg-quote-list.
3720 2013-06-01 Leo Liu <sdl.web@gmail.com>
3722 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3724 (inferior-octave-minimal-columns)
3725 (inferior-octave-last-column-width): New variables.
3726 (inferior-octave-track-window-width-change): New function.
3727 (inferior-octave-mode): Adjust column width so that Octave output,
3728 for example from 'ls', can fit into the window nicely.
3730 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3732 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3733 Highlight expansions inside regexp literals.
3735 2013-05-31 Glenn Morris <rgm@gnu.org>
3737 * obsolete/sym-comp.el (symbol-complete):
3738 Replace obsolete completion-annotate-function.
3740 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3742 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3744 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3745 New function, checks if point is inside a literal that allows
3746 expression expansion.
3747 (ruby-syntax-propertize-expansion): Use it.
3748 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3751 2013-05-30 Juri Linkov <juri@jurta.org>
3753 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3755 (isearch-invisible): New variable.
3756 (isearch-forward): Doc fix.
3757 (isearch-mode): Set `isearch-invisible'
3758 to the value of `search-invisible'.
3759 (isearch-toggle-case-fold): Doc fix.
3760 (isearch-toggle-invisible): New command.
3761 (isearch-query-replace): Let-bind `search-invisible'
3762 to the value of `isearch-invisible'.
3763 (isearch-search): Use `isearch-invisible' instead of
3764 `search-invisible'. Let-bind `search-invisible'
3765 to the value of `isearch-invisible'. (Bug#11378)
3767 2013-05-30 Juri Linkov <juri@jurta.org>
3769 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3770 call when `query-flag' is nil and `search-invisible' is non-nil.
3773 2013-05-30 Glenn Morris <rgm@gnu.org>
3775 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3777 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3778 (cc-require): Suppress spurious "noruntime" warnings.
3779 (cc-require-when-compile): Use fboundp, for sake of compiler.
3781 * progmodes/cc-mode.el: Move load of cc-vars before that of
3782 cc-langs (which in turn loads cc-vars), to quieten compiler.
3784 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3786 * paren.el: Simplify the code.
3787 (show-paren-mode): Always start the timer.
3788 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3789 (show-paren--overlay, show-paren--overlay-1): Rename from
3790 show-paren-overlay and show-paren-overlay-1, and initialize to an
3791 overlay rather than to nil.
3792 (show-paren-function): Misc cleanup and simplifications.
3794 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3796 * paren.el (show-paren-data-function): New hook.
3797 (show-paren--default): New function, extracted from show-paren-function.
3798 (show-paren-function): Use show-paren-data-function.
3800 2013-05-30 Glenn Morris <rgm@gnu.org>
3802 * ielm.el (ielm-map, ielm-complete-symbol):
3803 Use completion-at-point rather than obsolete functions.
3804 (inferior-emacs-lisp-mode): Doc fix.
3805 Set completion-at-point-functions, rather than
3806 comint-dynamic-complete-functions.
3808 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3809 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3810 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3812 * image.el (image-animated-p): Tweak definition.
3814 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3815 (rlogin-process-connection-type): Tweak default. Add set-after.
3816 (rlogin-host): Doc fix.
3817 (rlogin): Tweak prompt.
3818 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3820 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3821 * progmodes/tcl.el (inferior-tcl-mode-map):
3822 Use completion-at-point rather than obsolete alias.
3824 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3826 * minibuffer.el (read-file-name-completion-ignore-case):
3827 Move before completion--in-region, for eager macro expansion.
3829 2013-05-29 Juri Linkov <juri@jurta.org>
3831 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3832 for total count of matching lines. Add `global-matches' for total
3833 count of matches. Rename `matches' to `lines' for count of
3834 matching lines. Add `matches' for count of matches.
3835 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3836 to `prev-line' for line number of prev match endpt.
3837 Increment `matches' for every match. Print the number of
3838 matching lines in the header.
3839 (occur-context-lines): Rename `lines' to `curr-line'.
3840 Rename `prev-lines' to `prev-line'. (Bug#14017)
3842 2013-05-29 Juri Linkov <juri@jurta.org>
3844 * replace.el (perform-replace): Add `skip-read-only-count',
3845 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3846 Increment them for corresponding conditions and report the number
3847 of skipped occurrences in the final message. (Bug#11746)
3848 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3849 (replace-string, replace-regexp): Doc fix.
3851 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3853 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3855 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3856 prog-mode-map (bug#14504).
3858 2013-05-29 Leo Liu <sdl.web@gmail.com>
3860 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3861 (octave-help): Small simplification.
3863 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3864 off the highlight first.
3866 2013-05-29 Glenn Morris <rgm@gnu.org>
3868 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3869 Handle idlwave-last-system-routine-info-cons-cell being nil.
3871 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3872 (idlwave-write-paths): Simplify via with-temp-buffer.
3874 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3875 * emulation/cua-rect.el: Also load cua-base at run time.
3877 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3878 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3879 (cperl-imenu-on-info): Require imenu.
3881 2013-05-28 Alan Mackenzie <acm@muc.de>
3883 Handle "capitalised keywords" correctly.
3884 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3886 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
3888 * eshell/em-unix.el: Add -r option to cp.
3890 2013-05-28 Glenn Morris <rgm@gnu.org>
3892 * vc/vc-arch.el (vc-exec-after): Declare.
3893 (vc-switches): Autoload.
3894 * vc/vc-bzr.el: No need to require vc when compiling.
3895 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3896 (vc-resynch-buffer, vc-dir-refresh): Declare.
3897 (vc-setup-buffer, vc-switches): Autoload.
3898 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3899 (vc-resynch-buffer): Declare.
3900 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3901 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3902 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3903 (grep-read-regexp, grep-read-files, grep-expand-template)
3904 (vc-dir-refresh): Declare.
3905 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3906 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3907 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3908 * vc/vc-mtn.el (vc-exec-after): Declare.
3909 (vc-switches): Autoload.
3910 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3911 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3912 (vc-file-tree-walk): Declare.
3913 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3914 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3915 (vc-tag-precondition, vc-rename-master): Autoload.
3916 * vc/vc-svn.el (vc-exec-after): Declare.
3917 (vc-switches, vc-setup-buffer): Autoload.
3918 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3920 (vc-resynch-buffer): Declare.
3922 * obsolete/fast-lock.el (byte-compile-warnings):
3923 Don't warn about obsolete features in this obsolete file.
3925 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3926 Move definition before use.
3928 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3929 (dun-unix-verbs): Remove dun-zippy.
3930 (dun-zippy): Remove function.
3932 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3934 2013-05-27 Juri Linkov <juri@jurta.org>
3936 * replace.el (replace-search): New function with code moved out
3937 from `perform-replace'.
3938 (replace-highlight, replace-dehighlight): Move function definitions
3939 up closer to `replace-search'. (Bug#11746)
3941 2013-05-27 Juri Linkov <juri@jurta.org>
3943 * replace.el (perform-replace): Ignore invisible matches.
3944 In addition to checking `query-replace-skip-read-only', also
3945 filter out matches by calling `run-hook-with-args-until-failure'
3946 on `isearch-filter-predicates', and also check `search-invisible'
3947 for t or call `isearch-range-invisible'.
3948 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3950 2013-05-27 Juri Linkov <juri@jurta.org>
3952 * isearch.el (isearch-filter-predicates): Rename from
3953 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3954 (isearch-message-prefix): Display text from the property
3955 `isearch-message-prefix' of the currently active filters.
3956 (isearch-search): Don't compare `isearch-filter-predicate' with
3957 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3958 on `isearch-filter-predicates'. Also check `search-invisible' for t
3959 or call `isearch-range-invisible'.
3960 (isearch-filter-visible): Make obsolete.
3961 (isearch-lazy-highlight-search):
3962 Call `run-hook-with-args-until-failure' on
3963 `isearch-filter-predicates' and use `isearch-range-invisible'.
3965 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3966 `isearch-filter-predicates' instead of `funcall'ing
3967 `isearch-filter-predicate'.
3968 (Info-mode): Set `Info-isearch-filter' to
3969 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3971 * dired-aux.el (dired-isearch-filter-predicate-orig):
3973 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3974 (dired-isearch-filenames-end): Add and remove
3975 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3976 instead of changing the value of `isearch-filter-predicate'.
3977 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3978 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3979 Put property `isearch-message-prefix' to "filename " on
3980 `dired-isearch-filter-filenames'.
3982 * wdired.el (wdired-change-to-wdired-mode):
3983 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3984 locally instead of changing `isearch-filter-predicate'.
3985 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3987 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3989 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3990 return the commit hash (Bug#14459). Also set the
3991 `vc-git-detached' property.
3992 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3993 (vc-git-mode-line-string): Use the same help-echo format whether
3994 in detached mode or not, because we know the actual revision now.
3995 When in detached mode, shorten the revision to 7 chars.
3997 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * emacs-lisp/easy-mmode.el (define-minor-mode):
4000 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4001 mode hook and provide a docstring.
4003 2013-05-27 Alan Mackenzie <acm@muc.de>
4005 Remove spurious syntax-table text properties inserted by C-y.
4006 * progmodes/cc-mode.el (c-after-change): Also clear hard
4007 syntax-table property with value nil.
4009 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
4011 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4012 when reading the events; the buffer layout shall not be changed.
4014 2013-05-27 Leo Liu <sdl.web@gmail.com>
4016 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4018 (inferior-octave-directory-tracker): Automatically re-sync
4020 (octave-help): Improve handling of 'See also'.
4022 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * doc-view.el: Minor naming convention tweaks.
4025 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4027 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4028 even if there's no `display' property yet (bug#14435).
4030 2013-05-25 Eli Zaretskii <eliz@gnu.org>
4032 * subr.el (unmsys--file-name): Rename from reveal-filename.
4034 * Makefile.in (custom-deps, finder-data, autoloads)
4035 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4036 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4037 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4039 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4041 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4042 error-completion on the first 2 args of condition-case (bug#14446).
4045 2013-05-25 Leo Liu <sdl.web@gmail.com>
4047 * comint.el (comint-previous-matching-input): Do not flood the
4048 *Messages* buffer with trivial messages.
4050 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4052 * progmodes/flymake.el (flymake-nop): Don't return a string.
4053 (flymake-set-at): Fix typo.
4055 * simple.el (read--expression): New function, extracted from
4056 eval-expression. Set completion-at-point-functions (bug#14465).
4057 (eval-expression, eval-minibuffer): Use it.
4059 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4061 * progmodes/flymake.el (flymake-save-buffer-in-file)
4062 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4063 (flymake-selected-frame, flymake-log, flymake-ins-after)
4064 (flymake-set-at, flymake-get-buildfile-from-cache)
4065 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4066 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4067 Refine the doc string.
4068 (flymake-get-file-name-mode-and-masks): Reformat.
4069 (flymake-get-real-file-name-function): Fix a minor bug.
4071 2013-05-24 Juri Linkov <juri@jurta.org>
4073 * progmodes/grep.el (grep-mode-font-lock-keywords):
4074 Support =linenumber= format used by git-grep for lines with
4075 function names. (Bug#13549)
4077 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4079 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4080 0 after a semi-colon; it works better for smie-auto-fill.
4081 (octave--indent-new-comment-line): New function.
4082 (octave-indent-new-comment-line): Use it (indirectly).
4083 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4084 modify comment-line-break-function.
4086 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4087 (smie-setup): Use add-function to set it.
4089 2013-05-24 Sam Steingold <sds@gnu.org>
4091 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4092 argument (before the `interactive' argument).
4094 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * image-mode.el (image-mode-winprops): Add winprops to
4097 image-mode-winprops-alist before running
4098 image-mode-new-window-functions.
4099 * doc-view.el (doc-view-new-window-function): Don't delay
4100 doc-view-goto-page via timers (bug#14435).
4102 2013-05-24 Tassilo Horn <tsdh@gnu.org>
4104 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4105 (doc-view-desktop-save-buffer): New function.
4106 (doc-view-restore-desktop-buffer): New function.
4107 (desktop-buffer-mode-handlers):
4108 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
4110 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4111 `desktop-save-buffer' function.
4113 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
4115 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4116 (tramp-gvfs-file-name-handler): Raise a user error when
4117 `tramp-gvfs-enabled' is nil.
4118 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4119 Do not raise a user error when loading package. (Bug#14447)
4121 * net/xesam.el: Move to obsolete/.
4123 2013-05-24 Glenn Morris <rgm@gnu.org>
4125 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4127 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4129 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4130 (Info-find-node, Man-getpage-in-background): Declare.
4132 * mail/unrmail.el (unrmail):
4133 Replace obsolete detect-coding-with-priority.
4135 * net/socks.el (socks-split-string): Use this rather than split-string.
4136 (socks-nslookup-host): Update for above change.
4137 (dynamic-choice, s5-dynamic-choice-match)
4138 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4139 Comment out unused code.
4141 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4142 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4143 (gud-tooltip-echo-area): Make obsolete.
4144 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4146 * progmodes/js.el (js--optimize-arglist): Declare.
4148 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4150 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4151 (ediff-window-C): Declare.
4153 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4154 Tweak requires to silence compiler.
4156 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4157 (he-search-string, he-tried-table, he-expand-list)
4158 (he-init-string, he-string-member, he-substitute-string)
4159 (he-reset-string): Declare.
4161 * obsolete/options.el (list-options): Use custom-variable-p,
4162 rather than obsolete alias.
4164 2013-05-23 Sam Steingold <sds@gnu.org>
4166 * simple.el (shell-command-on-region): Pass the `replace' argument
4167 down to `call-process-region' to comply with the doc as reported on
4168 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4170 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * emacs-lisp/smie.el (smie-indent-forward-token)
4173 (smie-indent-backward-token): Handle string tokens (bug#14381).
4175 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4177 * ielm.el (ielm-menu): New menu.
4178 (inferior-emacs-lisp-mode): Set comment-start.
4180 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4182 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4183 Fix deactivate action.
4185 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4186 Add cleveref macros.
4188 * lisp/textmodes/reftex-parse.el
4189 (reftex-locate-bibliography-files): Accept options for
4190 bibliography commands.
4191 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4192 Add addbibresource. Basic Biblatex support.
4194 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
4196 * net/tramp-gvfs.el (top):
4197 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4198 when loading package. (Bug#14447)
4200 2013-05-23 Glenn Morris <rgm@gnu.org>
4202 * progmodes/js.el: No need to load comint when compiling.
4203 (ring-insert, comint-send-string, comint-send-input)
4204 (comint-last-input-end, ido-chop): Declare.
4206 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4207 * vc/ediff-mult.el: Adjust requires.
4208 (ediff-directories-internal, ediff-directory-revisions-internal)
4209 (ediff-patch-file-internal): Declare.
4210 * vc/ediff-ptch.el: Adjust requires.
4211 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4212 (ediff-find-file): Autoload.
4213 * vc/ediff-util.el: No need to load ediff when compiling.
4214 (ediff-regions-internal): Declare.
4215 * vc/ediff-wind.el: Adjust requires.
4216 (ediff-compute-toolbar-width): Define when compiling.
4217 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4218 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4219 (dired-get-filename, dired-get-marked-files)
4220 (ediff-last-dir-patch, ediff-patch-default-directory)
4221 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4222 (ediff-patch-buffer-internal): Declare.
4224 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4225 (ispell-process, ispell-buffer-local-words, lm-summary)
4226 (lm-section-start, lm-section-end): Declare.
4227 (checkdoc-ispell-init): Simplify.
4229 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4230 (he-string-member, he-reset-string, he-substitute-string): Declare.
4232 * eshell/em-ls.el: Adjust requires.
4233 (eshell-glob-regexp): Declare.
4234 * eshell/em-tramp.el: Adjust requires.
4235 (eshell-parse-command): Autoload.
4236 * eshell/em-xtra.el: Adjust requires.
4237 (eshell-parse-command): Autoload.
4238 * eshell/esh-ext.el: Adjust requires.
4239 (eshell-parse-command, eshell-close-handles): Autoload.
4240 * eshell/esh-io.el: Adjust requires.
4241 (eshell-output-filter): Autoload.
4242 * eshell/esh-util.el: No need to load tramp when compiling.
4243 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4245 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4246 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4247 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4248 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4249 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4250 * eshell/esh-opt.el, eshell/esh-proc.el:
4251 * eshell/esh-var.el: Adjust requires.
4252 * eshell/eshell.el: Do not require esh-util twice.
4253 (eshell-add-input-to-history): Declare.
4254 (eshell-command): Check history module is active before using it.
4256 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4258 2013-05-22 Leo Liu <sdl.web@gmail.com>
4260 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4262 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
4264 * autorevert.el (auto-revert-notify-add-watch)
4265 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4266 it indicates changes in file modification time.
4268 2013-05-22 Glenn Morris <rgm@gnu.org>
4270 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4271 Always delete the autoloaded function from the noruntime and
4272 unresolved functions lists.
4274 * allout.el: No need to load epa, epg, overlay when compiling.
4275 (epg-context-set-passphrase-callback, epg-list-keys)
4276 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4277 (epg-key-user-id-list): Declare.
4279 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4280 (viper-set-parsing-style-toggling-macro)
4281 (viper-set-emacs-state-searchstyle-macros):
4282 Use called-interactively-p on Emacs.
4283 (viper-looking-back): Make it an obsolete alias. Update callers.
4284 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4285 Use looking-back rather than viper-looking-back.
4286 (viper-tmp-insert-at-eob, viper-enlarge-region)
4287 (viper-read-string-with-history, viper-register-to-point)
4288 (viper-append-to-register, viper-change-state-to-vi)
4289 (viper-backward-char-carefully, viper-forward-char-carefully)
4290 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4291 (viper-change-state-to-emacs): Declare.
4292 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4293 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4294 * emulation/viper-mous.el: Do not load viper-cmd.
4295 (viper-backward-char-carefully, viper-forward-char-carefully)
4296 (viper-forward-word, viper-adjust-window): Declare.
4298 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4300 * progmodes/idlw-help.el (idlwave-help-fontify):
4301 Use called-interactively-p.
4303 * term/w32console.el (w32-get-console-codepage)
4304 (w32-get-console-output-codepage): Declare.
4306 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4307 Remove unnecessary declarations.
4308 (dframe-message): Doc fix.
4310 * info.el (dframe-select-attached-frame, dframe-current-frame):
4313 * speedbar.el (speedbar-message): Make it an obsolete alias.
4315 (speedbar-with-attached-buffer)
4316 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4317 (speedbar-with-writable): Use backquote.
4318 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4319 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4320 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4321 rather than speedbar- aliases.
4322 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4323 (speedbar-make-specialized-keymap, speedbar-insert-button)
4324 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4325 (speedbar-do-function-pointer): Declare.
4326 (rmail-speedbar-button, rmail-speedbar-find-file)
4327 (rmail-speedbar-move-message):
4328 Use dframe-with-attached-buffer rather than speedbar- alias.
4329 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4330 (dframe-message, speedbar-make-specialized-keymap)
4331 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4332 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4333 (speedbar-insert-button, dframe-select-attached-frame)
4334 (dframe-maybee-jump-to-attached-frame)
4335 (speedbar-change-initial-expansion-list)
4336 (speedbar-previously-used-expansion-list-name): Declare.
4337 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4338 Use dframe-message, dframe-with-attached-buffer rather than
4340 (gud-sentinel): Silence compiler.
4341 * progmodes/vhdl-mode.el (speedbar-refresh)
4342 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4343 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4344 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4345 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4346 (speedbar-file-lists, speedbar-make-tag-line)
4347 (speedbar-line-directory, speedbar-goto-this-file)
4348 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4349 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4350 (speedbar-make-button, speedbar-reset-scanners)
4351 (speedbar-files-item-info, speedbar-line-text)
4352 (speedbar-find-file-in-frame, speedbar-set-timer)
4353 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4354 (speedbar-with-writable): Do not (re)define it.
4355 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4356 rather than speedbar- alias.
4358 2013-05-21 Leo Liu <sdl.web@gmail.com>
4360 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4362 (octave-mode): Tweak fill-nobreak-predicate.
4363 (inferior-octave-startup): Check process to avoid infinite loop.
4364 (inferior-octave): Pop to buffer first to show abornmal process
4367 2013-05-21 Glenn Morris <rgm@gnu.org>
4369 * printing.el (pr-menu-bar): Define when compiling.
4371 2013-05-21 Leo Liu <sdl.web@gmail.com>
4373 * progmodes/octave.el (octave-auto-fill): Remove.
4374 (octave-indent-new-comment-line): Improve.
4375 (octave-mode): Use auto fill mode through
4376 comment-line-break-function and fill-nobreak-predicate.
4377 (octave-goto-function-definition): Support DEFUN_DLD.
4378 (octave-beginning-of-defun): Small tweak.
4379 (octave-help): Show parent directory.
4381 2013-05-21 Glenn Morris <rgm@gnu.org>
4383 * files.el (dired-unmark):
4384 * progmodes/gud.el (gdb-input): Update declarations.
4386 * calculator.el (electric, ehelp): No need to load when compiling.
4387 (Electric-command-loop, electric-describe-mode): Declare.
4389 * doc-view.el (doc-view-current-converter-processes): Move before use.
4391 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4392 Move MODE-set-explicitly definition before use.
4394 * international/mule-diag.el (mule-diag):
4395 Don't use obsolete window-system-version.
4397 * mail/feedmail.el (smtpmail): No need to load when compiling.
4398 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4400 * mail/mail-utils.el (rfc822): No need to load when compiling.
4401 (rfc822-addresses): Autoload it.
4402 (mail-strip-quoted-names): Trivial simplification.
4404 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4405 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4407 * net/snmp-mode.el (tempo): Don't duplicate requires.
4409 * progmodes/prolog.el (info): No need to load when compiling.
4410 (comint): Require before shell requires it.
4411 (Info-goto-node): Autoload it.
4412 (Info-follow-nearest-node): Declare.
4413 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4415 * textmodes/artist.el (picture-mode-exit): Declare.
4417 * textmodes/reftex-parse.el (reftex-parse-from-file):
4418 Trivial rewrite so the compiler can parse it better.
4420 2013-05-20 Leo Liu <sdl.web@gmail.com>
4422 * progmodes/octave.el (octave-help-mode-map)
4423 (octave-help-mode-finish-hook): New variables.
4424 (octave-help-mode, octave-help-mode-finish): New functions.
4425 (octave-help): Use octave-help-mode.
4427 2013-05-20 Glenn Morris <rgm@gnu.org>
4429 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4431 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4433 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4434 start at point, so that expansion starting right after opening
4435 slash in a regexp is recognized.
4436 (ruby-syntax-before-regexp-re): New defvar, extracted from
4437 ruby-syntax-propertize-function. Since the value of this regexp
4438 is looked up at runtime now, we should be able to turn
4439 `ruby-syntax-methods-before-regexp' into a defcustom later.
4440 (ruby-syntax-propertize-function): Split regexp matching into two
4441 parts, for opening and closing slashes. That allows us to skip
4442 over string interpolations and support multiline regexps.
4443 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4444 for them, which calls `ruby-syntax-propertize-expansion'.
4445 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4446 call to `ruby-syntax-propertize-function'.
4447 (ruby-syntax-propertize-expansion): Extracted from
4448 `ruby-syntax-propertize-expansions'. Handles one expansion.
4449 (ruby-syntax-propertize-percent-literal): Leave point right after
4450 the percent symbol, so that the expression expansion rule can
4451 propertize the contents.
4452 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4454 (ruby-syntax-propertize-expansions): Remove.
4456 2013-05-18 Juri Linkov <juri@jurta.org>
4458 * man.el (Man-default-man-entry): Remove `-' from the end
4459 of the default value. (Bug#14400)
4461 2013-05-18 Glenn Morris <rgm@gnu.org>
4463 * comint.el (comint-password-prompt-regexp):
4464 Allow "password for XXX" where XXX contains colons (eg https://...).
4466 2013-05-18 Leo Liu <sdl.web@gmail.com>
4468 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4469 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
4470 (octave-source-directories): Don't check process.
4471 (octave-source-directories, octave-find-definition): Doc fix.
4473 2013-05-18 Glenn Morris <rgm@gnu.org>
4475 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4476 Remove backspace/delete bindings. (Bug#14392)
4478 * cus-dep.el (custom-make-dependencies): Sort the output.
4479 (custom-versions-load-alist): Convert comment to doc.
4481 2013-05-17 Leo Liu <sdl.web@gmail.com>
4483 * newcomment.el (comment-search-backward): Stricter in finding
4484 comment start. (Bug#14303)
4486 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4487 (octave-comment-start-skip): Properly anchored.
4489 2013-05-17 Leo Liu <sdl.web@gmail.com>
4491 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4492 Clean up when turned off. (Bug#14395)
4493 (smie--highlight-matching-block-overlay): No longer buffer-local.
4494 (smie-highlight-matching-block): Adjust.
4496 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4498 Doc string fix for "nanoseconds" (Bug#14406).
4499 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4500 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4502 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4504 * calc/calc-units.el (math-extract-units): Preserve powers
4507 2013-05-17 Leo Liu <sdl.web@gmail.com>
4509 * subr.el (delete-consecutive-dups): New function.
4510 * ido.el (ido-set-matches-1): Use it.
4511 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4512 * ido.el (ido-remove-consecutive-dups): Remove.
4514 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4517 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4518 regexp-opt's `words'.
4520 2013-05-16 Leo Liu <sdl.web@gmail.com>
4522 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4523 (smie--highlight-matching-block-overlay)
4524 (smie--highlight-matching-block-lastpos)
4525 (smie--highlight-matching-block-timer): New variables.
4526 (smie-highlight-matching-block): New function.
4527 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4528 (smie-setup): Conditionally enable smie-blink-matching-open.
4530 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4532 Sync with upstream verilog-mode r840.
4533 * progmodes/verilog-mode.el (verilog-mode-version)
4534 (verilog-mode-release-date): Update.
4535 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4536 (verilog-sig-tieoff): Fix string error on
4537 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4538 (verilog-read-decls): Fix parameters confusing
4539 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4541 2013-05-16 Eli Zaretskii <eliz@gnu.org>
4543 * subr.el (reveal-filename): New function.
4545 * loadup.el: Compute Emacs executable versions on MS-Windows,
4546 where executables have the .exe extension. Add a hard link
4547 emacs-XX.YY.ZZ.exe on MS-Windows.
4549 * Makefile.in (XARGS_LIMIT): New variable.
4550 (custom-deps, finder-data, autoloads)
4551 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4552 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4553 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4554 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4556 2013-05-16 Leo Liu <sdl.web@gmail.com>
4558 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4559 (octave-mode-menu, octave-mode-map): Remove its uses.
4561 2013-05-16 Reto Zimmermann <reto@gnu.org>
4563 Sync with upstream vhdl mode v3.34.2.
4564 * progmodes/vhdl-mode.el: Use `push' throughout.
4565 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4566 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4567 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4568 (vhdl-actual-generic-name): New option to derive actual generic name.
4569 (vhdl-port-paste-signals): Replace formal by actual generics.
4570 (vhdl-beautify): New name for old group vhdl-align. Update users.
4571 (vhdl-beautify-options): New option.
4572 (vhdl-last-input-event): New compat alias. Use throughout.
4573 (vhdl-goto-line): Replace user level function `goto-line'.
4574 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4575 vhdl-fix-statement-buffer.
4576 (vhdl-create-mode-menu): Add some entries.
4577 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4578 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4579 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4580 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4581 to force statements on one line.
4582 (vhdl-remove-trailing-spaces-region):
4583 New, split from vhdl-remove-trailing-spaces.
4584 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4585 Respect vhdl-beautify-options.
4586 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4587 (vhdl-update-sensitivity-list): Not add with index if exists without.
4588 Not include array index with signal. Ignore keywords in comments.
4589 (vhdl-get-visible-signals): Regexp tweaks.
4590 (vhdl-template-component-inst): Handle empty library.
4591 (vhdl-template-type): Add template for 'enum' type.
4592 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4593 Use vhdl-replace-string.
4594 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4595 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4596 (vhdl-speedbar-initialize): Update for above name change.
4597 (vhdl-compose-wire-components): Fix in handling of constants.
4598 (vhdl-error-regexp-emacs-alist): New variable.
4599 (vhdl-error-regexp-add-emacs): New function;
4600 adds support for new compile.el (Emacs 22+)
4601 (vhdl-generate-makefile-1): Change target order for single lib. units.
4602 Allow use of absolute file names.
4604 2013-05-16 Leo Liu <sdl.web@gmail.com>
4606 * simple.el (prog-indent-sexp): Indent enclosing defun.
4608 2013-05-15 Glenn Morris <rgm@gnu.org>
4610 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4611 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4612 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4613 (whitespace-highlight): Move to whitespace group.
4615 * comint.el (comint-source):
4616 * pcmpl-linux.el (pcmpl-linux):
4617 * shell.el (shell-faces):
4618 * eshell/esh-opt.el (eshell-opt):
4619 * international/ccl.el (ccl): Remove empty custom groups.
4621 * completion.el (dynamic-completion-mode):
4622 * jit-lock.el (jit-lock-debug-mode):
4623 * minibuffer.el (completion-in-region-mode):
4624 * type-break.el (type-break-mode-line-message-mode)
4625 (type-break-query-mode):
4626 * emulation/tpu-edt.el (tpu-edt-mode):
4627 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4628 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4629 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4631 * term/xterm.el (xterm): Change parent group to terminals.
4633 * master.el (master): Remove empty custom group.
4634 (master-mode): Remove unused :group argument.
4635 * textmodes/refill.el (refill): Remove empty custom group.
4636 (refill-mode): Remove unused :group argument.
4638 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4640 * cus-dep.el: Provide a feature.
4641 (custom-make-dependencies): Ignore dotfiles (dir-locals).
4642 Don't mistakenly ignore files whose basenames match a basename
4643 from preloaded-file-list (eg cedet/ede/simple.el).
4644 Add a fallback method for getting :group.
4646 2013-05-15 Juri Linkov <juri@jurta.org>
4648 * isearch.el (isearch-char-by-name): Rename from
4649 `isearch-insert-char-by-name'. Doc fix.
4650 (isearch-forward): Mention `isearch-char-by-name' in
4651 the docstring. (Bug#13348)
4653 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4654 `exit-minibuffer' instead of
4655 `isearch-nonincremental-exit-minibuffer'.
4656 (isearch-edit-string): Remove mention of
4657 `isearch-nonincremental-exit-minibuffer' from docstring.
4658 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4659 (isearch-forward-exit-minibuffer)
4660 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4662 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4664 * loadup.el: Just use unversioned DOC.
4666 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4667 literals as extending to EOB.
4668 (nxml-last-fontify-end): Remove unused variable.
4669 (nxml-after-change1): Use with-silent-modifications.
4670 (nxml-extend-after-change-region): Simplify.
4671 (nxml-extend-after-change-region1): Remove function.
4672 (nxml-after-change1): Don't adjust for dependent regions.
4673 (nxml-fontify-matcher): Simplify.
4674 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4675 (xmltok-add-dependent): Remove function.
4676 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4677 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4678 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4679 unclosed <[[, <?, comment, and other literals as extending to EOB.
4680 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4681 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4683 (rng-do-some-validation-1): Don't mark dependent regions.
4684 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4685 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4686 (nxml-clear-dependent-regions): Remove functions.
4687 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4688 (nxml-ensure-scan-up-to-date):
4689 Don't clear&mark dependent regions.
4691 2013-05-15 Leo Liu <sdl.web@gmail.com>
4693 * progmodes/octave.el (octave-goto-function-definition):
4694 Improve and fix callers.
4696 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4698 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4699 the setter (bug#14387).
4701 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4702 surrounding group (bug#14402).
4704 2013-05-14 Juri Linkov <juri@jurta.org>
4706 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4709 2013-05-14 Glenn Morris <rgm@gnu.org>
4711 * progmodes/f90.el (f90-imenu-generic-expression):
4712 Fix typo in 2013-05-08 change. (Bug#14402)
4714 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4716 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4717 Remove signals for which replies are never received.
4719 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4721 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4722 (gdb-handler-alist, gdb-handler-number): Remove variables.
4723 (gdb-handler-list): New variable.
4724 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4725 (gdb-pending-handler-p, gdb-handle-reply)
4726 (gdb-remove-all-pending-triggers): New functions.
4727 (gdb-discard-unordered-replies): New defcustom.
4728 (gdb-handler): New defstruct.
4729 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4730 instead of gdb-pending-triggers. Update docstring.
4731 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4732 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4733 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4734 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4735 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4736 (gdb-frame-handler): Pending triggers are now automatically managed.
4737 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4739 (gdb-input): Automatically handles pending triggers. Update docstring.
4740 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4741 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4743 (gdb-done-or-error): Now use gdb-handle-reply.
4745 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4747 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4750 2013-05-14 Glenn Morris <rgm@gnu.org>
4752 * subr.el (user-emacs-directory-warning): New option.
4753 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4755 2013-05-14 Leo Liu <sdl.web@gmail.com>
4757 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4759 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4760 (octave-font-lock-texinfo-comment): Fix invalid search bound
4761 error: wrong side of point.
4763 2013-05-14 Glenn Morris <rgm@gnu.org>
4765 * progmodes/flymake.el (flymake-xml-program): New option.
4766 (flymake-xml-init): Use it.
4768 * term/xterm.el: Provide a feature.
4770 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
4772 2013-05-13 Glenn Morris <rgm@gnu.org>
4774 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4775 Add compat aliases as a hack workaround. (Bug#14384)
4777 2013-05-13 Leo Liu <sdl.web@gmail.com>
4779 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4781 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4783 (octave-comment-start-skip): Include %!.
4784 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4786 2013-05-12 Leo Liu <sdl.web@gmail.com>
4788 * progmodes/octave.el (inferior-octave-startup): Store the value
4789 of __octave_srcdir__ for octave-source-directories.
4790 (inferior-octave-check-process): New function refactored out of
4791 inferior-octave-send-list-and-digest.
4792 (octave-source-directories)
4793 (octave-find-definition-filename-function): New variables.
4794 (octave-source-directories)
4795 (octave-find-definition-default-filename): New functions.
4796 (octave-find-definition): Improve to find functions implemented in C++.
4798 2013-05-12 Glenn Morris <rgm@gnu.org>
4800 * calendar/diary-lib.el (diary-outlook-format-1):
4801 Don't include dayname in the output. (Bug#14349)
4803 2013-05-11 Glenn Morris <rgm@gnu.org>
4805 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4807 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4808 Treat cc-provide like provide.
4810 2013-05-11 Kevin Ryde <user42@zip.com.au>
4812 * cus-dep.el (custom-make-dependencies):
4813 Use generated-autoload-load-name for the sake of files such
4814 such cedet/semantic/bovine/c.el, where the base file name
4815 is not in load-path. (Bug#5277)
4817 2013-05-11 Glenn Morris <rgm@gnu.org>
4819 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4822 2013-05-11 Leo Liu <sdl.web@gmail.com>
4824 * progmodes/octave.el (octave-indent-comment): Improve.
4825 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4826 (octave-eldoc-function-signatures, octave-eldoc-function):
4828 (octave-mode, inferior-octave-mode): Add eldoc support.
4830 2013-05-11 Richard Stallman <rms@gnu.org>
4832 * epa.el (epa-decrypt-file): Take output file name as argument
4833 and read it using `interactive'.
4835 2013-05-11 Leo Liu <sdl.web@gmail.com>
4837 * progmodes/octave.el (octave-beginning-of-line)
4838 (octave-end-of-line): Check before using up-list because it jumps
4839 out of more syntactic contructs since moving to smie.
4840 (octave-indent-comment): New function.
4841 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
4842 (octave-begin-keywords, octave-end-keywords)
4843 (octave-reserved-words, octave-smie-bnf-table)
4844 (octave-smie-rules): Add new keywords from Octave 3.6.4.
4846 2013-05-11 Glenn Morris <rgm@gnu.org>
4848 * faces.el (internal-face-x-get-resource):
4849 * frame.el (ns-display-monitor-attributes-list):
4850 * calc/calc-aent.el (math-to-radians-2):
4851 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4854 * calc/calc-menu.el: Make it loadable in isolation.
4856 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4857 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4858 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4859 (eudc-bbdb-query-internal): Require 'bbdb.
4861 * lpr.el (lpr-headers-switches):
4862 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4864 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4866 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4868 * term.el (term-set-escape-char): Make it idempotent.
4870 2013-05-10 Leo Liu <sdl.web@gmail.com>
4872 * progmodes/octave.el (inferior-octave-completion-table):
4873 No longer a function and all uses changed. Use cache to speed up
4874 completion due to bug#11906.
4875 (octave-beginning-of-defun): Re-write to be more general.
4877 2013-05-10 Glenn Morris <rgm@gnu.org>
4879 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4881 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4883 * comint.el (comint-redirect-send-command-to-process): Use :around
4884 rather than :override for comint-redirect-filter.
4885 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4886 Call it instead of comint-redirect-original-filter-function (which
4887 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4889 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4891 * frame.el (display-monitor-attributes-list): Add NS case.
4892 (ns-display-monitor-attributes-list): Declare.
4894 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
4896 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4898 2013-05-09 Glenn Morris <rgm@gnu.org>
4900 * international/fontset.el (vertical-centering-font-regexp):
4903 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4905 * bookmark.el (bookmark-search-delay):
4906 * cus-start.el (vertical-centering-font-regexp):
4907 * ps-mule.el (ps-mule-font-info-database-default):
4908 * ps-print.el (ps-default-fg, ps-default-bg):
4909 * type-break.el (type-break-good-break-interval):
4910 * whitespace.el (whitespace-indentation-regexp)
4911 (whitespace-space-after-tab-regexp):
4912 * emacs-lisp/testcover.el (testcover-1value-functions)
4913 (testcover-noreturn-functions, testcover-progn-functions)
4914 (testcover-prog1-functions):
4915 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4916 * eshell/em-glob.el (eshell-glob-translate-alist):
4917 * play/tetris.el (tetris-tty-colors):
4918 * progmodes/cpp.el (cpp-face-default-list):
4919 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4920 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4921 (idlwave-help-browser-generic-args):
4922 * progmodes/make-mode.el (makefile-special-targets-list):
4923 * progmodes/python.el (python-shell-virtualenv-path):
4924 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4925 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4926 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4927 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4928 * textmodes/reftex-vars.el (reftex-format-label-function):
4929 * textmodes/remember.el (remember-diary-file): Fix custom types.
4931 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4934 2013-05-09 Leo Liu <sdl.web@gmail.com>
4936 * progmodes/octave.el (inferior-octave-completion-at-point):
4937 Restore file completion. (Bug#14300)
4938 (inferior-octave-startup): Fix incorrect highlighting for the
4941 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * progmodes/ruby-mode.el: First cut at SMIE support.
4944 (ruby-use-smie): New var.
4945 (ruby-smie-grammar): New constant.
4946 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4947 (ruby-smie--forward-token, ruby-smie--backward-token)
4948 (ruby-smie-rules): New functions.
4949 (ruby-mode-variables): Setup SMIE if applicable.
4951 2013-05-08 Eli Zaretskii <eliz@gnu.org>
4953 * simple.el (line-move-visual): Signal beginning/end of buffer
4954 only if vertical-motion moved less than it was requested. Avoids
4955 silly incorrect error messages when there are display strings with
4956 multiple newlines at EOL.
4958 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4960 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4961 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4962 (prolog-char-quote-workaround):
4963 * progmodes/cperl-mode.el (cperl-under-as-char):
4964 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4966 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4968 (vhdl-mode-syntax-table-init): Remove.
4970 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4973 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4975 (ld-script-font-lock-keywords):
4976 Change regexps to use things like \_< and \_>.
4978 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4979 Change all regexps to use things like \_< and \_>.
4981 * progmodes/autoconf.el (autoconf-definition-regexp)
4982 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4983 Handle a _ with symbol syntax.
4984 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4986 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4987 Consolidate declaration.
4988 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4990 (ada-create-syntax-table): Remove.
4991 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4992 already has the right syntax nowadays.
4993 (ada-goto-next-word): Don't change the syntax of "_".
4995 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4998 2013-05-08 Sam Steingold <sds@gnu.org>
5000 * thingatpt.el (thing-at-point): Accept optional second argument
5001 NO-PROPERTIES to strip the text properties from the return value.
5002 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5003 to `thing-at-point' instead of stripping the properties ourselves.
5004 Also, when `thing-at-point' fails to find a url, prepend "http://"
5005 to the filename at point on the assumption that the user is
5006 pointing at something like gnu.org/gnu.
5008 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
5010 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5011 * faces.el (crm-separator):
5012 Silence byte-compiler.
5014 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5015 (tool-bar-map): Remove unneeded defvars.
5017 2013-05-08 Leo Liu <sdl.web@gmail.com>
5019 Re-work a fix for bug#10994 based on Le Wang's patch.
5020 * ido.el (ido-remove-consecutive-dups): New helper.
5021 (ido-completing-read): Use it.
5022 (ido-chop): Revert fix for bug#10994.
5024 2013-05-08 Adam Spiers <emacs@adamspiers.org>
5026 * cus-edit.el (custom-save-variables):
5027 Pretty-print long values. (Bug#14187)
5029 2013-05-08 Glenn Morris <rgm@gnu.org>
5031 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5032 (m4-mode-syntax-table): Init in the defvar.
5033 (m4-mode-abbrev-table): Let define-derived-mode define it.
5035 2013-05-08 Tom Tromey <tromey@redhat.com>
5037 * progmodes/m4-mode.el (m4-mode-syntax-table):
5038 Do not treat "_" as word constituent. (Bug#14167)
5040 2013-05-07 Glenn Morris <rgm@gnu.org>
5042 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5043 Remove explicit eshell-isearch-cancel-map.
5045 * progmodes/f90.el (f90-smart-end-names): New option.
5046 (f90-smart-end): Doc fix.
5047 (f90-end-block-optional-name): New constant.
5048 (f90-block-match): Respect f90-smart-end-names.
5050 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5053 about implicit semi-colons (bug#14218).
5055 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5057 * frame.el (display-monitor-attributes-list)
5058 (frame-monitor-attributes): New functions.
5060 2013-05-06 Leo Liu <sdl.web@gmail.com>
5062 * progmodes/octave.el (octave-syntax-propertize-function): Change
5063 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5064 (octave-font-lock-keywords): Use octave-operator-regexp.
5065 (octave-completion-at-point): Rename from
5066 octave-completion-at-point-function.
5067 (inferior-octave-directory-tracker): Robustify.
5068 (octave-text-functions): Remove and fix its uses. No such things
5071 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5073 * emacs-lisp/trace.el (trace--display-buffer): New function.
5074 (trace-make-advice): Use it.
5076 2013-05-06 Juri Linkov <juri@jurta.org>
5078 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5079 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5081 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5082 in the help string. (Bug#12985)
5084 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5086 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5088 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5090 * progmodes/perl-mode.el: Add support for here documents.
5091 (perl-syntax-propertize-function): Match here-doc markers.
5092 (perl-syntax-propertize-special-constructs): Find their end.
5093 (perl-imenu-generic-expression): Use [:alnum:].
5095 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5096 (advice--add-function): Refresh the advice if already present
5099 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
5101 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5103 2013-05-06 Glenn Morris <rgm@gnu.org>
5105 * w32-fns.el (w32-charset-info-alist): Declare.
5107 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5108 of its defcustom properties.
5109 (eshell-cmpl-initialize): No need to load pcomplete.
5111 * generic-x.el: No need to require comint when compiling.
5113 * net/eudc-export.el: Make it loadable without bbdb.
5114 (top-level): Use require rather than load-library.
5115 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5116 (eudc-batch-export-records-to-bbdb)
5117 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5120 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5122 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5123 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5124 some tweaks, instead.
5126 2013-05-05 Leo Liu <sdl.web@gmail.com>
5128 * progmodes/octave.el (octave-font-lock-keywords)
5129 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5130 (inferior-octave-send-list-and-digest): Improve error message.
5131 (octave-mode, inferior-octave-mode): Use setq-local.
5132 (octave-help): Set info-lookup-mode.
5134 2013-05-05 Richard Stallman <rms@gnu.org>
5136 * vc/compare-w.el (compare-windows-whitespace):
5137 Treat no-break space as whitespace.
5139 * mail/rmailsum.el (rmail-summary-rmail-update):
5140 Detect empty summary and don't change selected message.
5141 (rmail-summary-goto-msg): Likewise.
5143 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5144 Doc fixes, rename args.
5146 2013-05-05 Alan Mackenzie <acm@muc.de>
5148 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5150 2013-05-05 Juri Linkov <juri@jurta.org>
5152 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5153 to not add the length of the summary segment to the return value.
5156 2013-05-05 Leo Liu <sdl.web@gmail.com>
5158 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5159 (inferior-octave-output-filter): Remove.
5160 (octave-send-region, inferior-octave-startup): Fix callers.
5161 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5162 (octave-binary-file-extensions): New user variable.
5163 (octave-find-definition): Confirm if opening binary files.
5164 (octave-help-file): Use octave-find-definition to get the binary
5166 (octave-help): Adjust for octave-help-file change.
5168 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5171 Merge the two entries that handle function definitions.
5172 (pascal--syntax-propertize): New const.
5173 (pascal-mode): Use it. Use setq-local.
5175 2013-05-04 Glenn Morris <rgm@gnu.org>
5177 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5178 (diary-from-outlook): Respect diary-from-outlook-function.
5180 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5182 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5183 Move the declaration from C.
5184 (read-minibuffer, eval-minibuffer): Move from C.
5185 (completion-setup-function): Avoid minibuffer-completion-contents.
5187 2013-05-03 Leo Liu <sdl.web@gmail.com>
5189 * progmodes/octave.el (octave-font-lock-keywords): Do not
5190 dehighlight 'end' in comments or strings.
5191 (octave-completing-read, octave-goto-function-definition):
5193 (octave-help-buffer): New user variable.
5194 (octave-help-file, octave-help-function): New button types.
5195 (octave-help): New command and bind it to C-h ;.
5196 (octave-find-definition): New command and bind it to M-.
5197 (user-error): Alias to error if not defined.
5199 2013-05-02 Leo Liu <sdl.web@gmail.com>
5201 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5203 (octave-font-lock-keywords): Include [ and {.
5205 2013-05-02 Leo Liu <sdl.web@gmail.com>
5207 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5208 (inferior-octave): Remove calling comint-mode and return the buffer.
5209 (inferior-octave-startup): Cosmetic changes.
5211 2013-05-02 Leo Liu <sdl.web@gmail.com>
5213 * progmodes/octave.el (octave-syntax-propertize-function):
5214 Include the case when ' is at line beginning. (Bug#14336)
5216 2013-05-02 Glenn Morris <rgm@gnu.org>
5218 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5219 * desktop.el (vc-dir-mode): Just autoload it here.
5221 2013-05-02 Alan Mackenzie <acm@muc.de>
5223 Eliminate variable c-standard-font-lock-fontify-region-function.
5224 * progmodes/cc-mode.el
5225 (c-standard-font-lock-fontify-region-function): Remove.
5226 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5228 2013-05-01 Leo Liu <sdl.web@gmail.com>
5230 * progmodes/octave.el: Compatible with older emacs-24 releases.
5231 (inferior-octave-has-built-in-variables): Remove. Built-in
5232 variables were removed from Octave in 2007.
5233 (inferior-octave-startup): Fix uses.
5234 (comint-line-beginning-position): Remove compatibility code for
5237 2013-05-01 Juri Linkov <juri@jurta.org>
5239 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5241 2013-05-01 Juri Linkov <juri@jurta.org>
5243 * comint.el (comint-previous-matching-input): Don't print message
5244 "History item: %d" when `isearch-mode' is active.
5245 (comint-history-isearch-message): Print message "History item: %d"
5246 when `comint-input-ring-index' is not empty and this function is
5247 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5249 2013-05-01 Leo Liu <sdl.web@gmail.com>
5251 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5252 definitions. Use completion-at-point to insert keywords.
5253 (octave-abbrev-start): Remove.
5254 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5256 2013-04-30 Leo Liu <sdl.web@gmail.com>
5258 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5261 2013-04-30 Alan Mackenzie <acm@muc.de>
5263 Handle arbitrarily long C++ member initialisation lists.
5264 * progmodes/cc-engine.el (c-back-over-member-initializers):
5266 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5267 (most) member init lists.
5269 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5271 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5274 2013-04-30 Leo Liu <sdl.web@gmail.com>
5276 * progmodes/octave.el (octave-variables): Remove. No builtin
5277 variables any more. All converted to functions.
5278 (octave-font-lock-keywords, octave-completion-at-point-function):
5280 (octave-font-lock-texinfo-comment): New user variable.
5281 (octave-texinfo-font-lock-keywords): New variable for texinfo
5283 (octave-function-comment-block): New face.
5284 (octave-font-lock-texinfo-comment): New function.
5285 (octave-mode): Font lock texinfo comment block.
5287 2013-04-29 Leo Liu <sdl.web@gmail.com>
5289 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5290 indexing expression.
5291 (octave-continuation-string): Do not use \.
5292 (inferior-octave-complete-impossible): Remove.
5293 (inferior-octave-completion-table)
5294 (inferior-octave-completion-at-point): Remove its uses.
5295 (inferior-octave-startup): completion_matches was introduced to
5296 Octave in 1996 so safe to assume it.
5297 (octave-function-file-comment): Improve to follow how Octave does it.
5298 (octave-update-function-file-comment): Tweak.
5300 2013-04-29 Leo Liu <sdl.web@gmail.com>
5302 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5303 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5304 (octave-function-file-comment): Fix typo.
5305 (octave-sync-function-file-names): Use read-char-choice.
5307 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5309 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5310 to t for the less important warnings.
5312 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5314 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5316 2013-04-27 Glenn Morris <rgm@gnu.org>
5318 * vc/log-view.el (log-view-current-entry):
5319 Treat "---" separator lines as part of the following rev. (Bug#14169)
5321 2013-04-27 Juri Linkov <juri@jurta.org>
5323 * subr.el (read-number): Doc fix about using it by interactive
5324 code letter `n'. (Bug#14254)
5326 2013-04-27 Juri Linkov <juri@jurta.org>
5328 * desktop.el (desktop-auto-save-timeout): New option.
5329 (desktop-file-checksum): New variable.
5330 (desktop-save): Add optional arg `auto-save' and don't auto-save
5332 (desktop-auto-save-timer): New variable.
5333 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5334 (after-init-hook): Call `desktop-auto-save-set-timer'.
5335 Suggested by Reuben Thomas <rrt@sc3d.org> in
5336 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5338 2013-04-27 Leo Liu <sdl.web@gmail.com>
5340 * progmodes/octave.el (octave-function-file-p)
5341 (octave-skip-comment-forward, octave-function-file-comment)
5342 (octave-update-function-file-comment): New functions.
5343 (octave-mode-map): Bind C-c ; to
5344 octave-update-function-file-comment.
5345 (octave-mode-menu): Add octave-update-function-file-comment.
5346 (octave-mode, inferior-octave-mode): Fix doc-string.
5347 (octave-insert-defun): Conform to Octave's coding convention.
5350 * files.el (basic-save-buffer): Don't let errors in
5351 before-save-hook prevent saving buffer.
5353 2013-04-20 Roland Winkler <winkler@gnu.org>
5355 * faces.el (read-face-name): Use completing-read if arg multiple
5358 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5360 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5361 displayed, move point to after the totals line.
5362 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5365 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5367 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5368 Add current dir to the load-path.
5369 (package-generate-autoloads): Don't rely on
5370 autoload-ensure-default-file.
5372 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5374 * textmodes/remember.el (remember-store-in-files): Document that
5375 the file name format is passed to `format-time-string'.
5377 2013-04-26 Leo Liu <sdl.web@gmail.com>
5379 * progmodes/octave.el (octave-sync-function-file-names): New function.
5380 (octave-mode): Use it in before-save-hook.
5382 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5387 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5388 \n and comment, even if it's not an implicit ; (bug#14218).
5390 2013-04-26 Glenn Morris <rgm@gnu.org>
5392 * subr.el (read-number): Once more use `read' rather than
5393 `string-to-number', to trap non-numeric input. (Bug#14254)
5395 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5397 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5398 Use `syntax-multiline' text property consistently instead of
5399 `font-lock-multiline'. (Bug#14237)
5401 2013-04-26 Glenn Morris <rgm@gnu.org>
5403 * emacs-lisp/shadow.el (list-load-path-shadows):
5404 No longer necessary to check for duplicate simple.el, since
5405 2012-07-07 change to init_lread to not include installation lisp
5406 directories in load-path when running uninstalled. (Bug#14270)
5408 2013-04-26 Leo Liu <sdl.web@gmail.com>
5410 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5411 (octave-mode, inferior-octave-mode): Use setq-local.
5412 (octave-not-in-string-or-comment-p): Rename to
5413 octave-in-string-or-comment-p.
5414 (octave-in-comment-p, octave-in-string-p)
5415 (octave-in-string-or-comment-p): Replace defsubst with defun.
5417 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5419 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5421 2013-04-25 Bastien Guerry <bzg@gnu.org>
5423 * textmodes/remember.el (remember-data-directory)
5424 (remember-directory-file-name-format): Fix custom types.
5426 2013-04-25 Leo Liu <sdl.web@gmail.com>
5428 * progmodes/octave.el (octave-completion-at-point-function):
5429 Make use of inferior octave process.
5430 (octave-initialize-completions): Remove.
5431 (inferior-octave-completion-table): New function.
5432 (inferior-octave-completion-at-point): Use it.
5433 (octave-completion-alist): Remove.
5435 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5437 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5438 (opascal-mode-syntax-table): New var.
5439 (opascal-literal-kind, opascal-is-literal-end)
5440 (opascal-literal-token-at): Rewrite.
5441 (opascal--literal-start-re, opascal-font-lock-keywords)
5442 (opascal--syntax-propertize): New constants.
5443 (opascal-font-lock-defaults): Adjust.
5444 (opascal-mode): Use them. Set comment-<foo> variables as well.
5445 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5446 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5447 (delphi-other-face, opascal-other-face): Remove face variables.
5448 (opascal-save-state): Remove macro.
5449 (opascal-fontifying-progress-step): Remove constant.
5450 (opascal--ignore-changes): Remove var.
5451 (opascal-set-token-property, opascal-parse-next-literal)
5452 (opascal-is-stable-literal, opascal-complete-literal)
5453 (opascal-is-literal-start, opascal-face-of)
5454 (opascal-parse-region, opascal-parse-region-until-stable)
5455 (opascal-fontify-region, opascal-after-change)
5456 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5457 (opascal-debug-parse-region, opascal-debug-parse-window)
5458 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5459 (opascal-debug-fontify-buffer): Remove.
5460 (opascal-debug-mode-map): Adjust accordingly.
5462 2013-04-25 Leo Liu <sdl.web@gmail.com>
5464 Merge octave-mod.el and octave-inf.el into octave.el with some
5466 * progmodes/octave.el: New file renamed from octave-mod.el.
5467 * progmodes/octave-inf.el: Merged into octave.el.
5468 * progmodes/octave-mod.el: Renamed to octave.el.
5470 2013-04-25 Tassilo Horn <tsdh@gnu.org>
5472 * textmodes/reftex-vars.el
5473 (reftex-label-ignored-macros-and-environments): New defcustom.
5475 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5477 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5479 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5480 (smie-indent-keyword): Improve the check to ensure that the next
5481 comment is really on the same line.
5482 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5484 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5485 semi-colons if the line is not otherwise empty (bug#14218).
5487 2013-04-25 Glenn Morris <rgm@gnu.org>
5489 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5491 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5493 * progmodes/opascal.el (opascal-set-token-property): Rename from
5494 opascal-set-text-properties and only set `token' (bug#14134).
5495 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5496 (opascal-literal-text-properties): Remove.
5497 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5500 2013-04-24 Reuben Thomas <rrt@sc3d.org>
5502 * textmodes/remember.el (remember-handler-functions): Add an
5503 option for a new handler `remember-store-in-files'.
5504 (remember-data-directory, remember-directory-file-name-format):
5506 (remember-store-in-files): New function to store remember notes
5507 as separate files within a directory.
5509 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5511 * progmodes/compile.el (compilation-next-error-function):
5512 Pass "formats" to compilation-find-file (bug#11777).
5514 2013-04-24 Glenn Morris <rgm@gnu.org>
5516 * vc/vc-bzr.el (vc-bzr-print-log):
5517 * vc/vc-hg.el (vc-hg-print-log):
5518 * vc/vc-svn.el (vc-svn-print-log):
5519 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5521 * vc/vc-bzr.el (vc-bzr-print-log):
5522 * vc/vc-cvs.el (vc-cvs-print-log):
5523 * vc/vc-git.el (vc-git-print-log):
5524 * vc/vc-hg.el (vc-hg-print-log):
5525 * vc/vc-mtn.el (vc-mtn-print-log):
5526 * vc/vc-rcs.el (vc-rcs-print-log):
5527 * vc/vc-sccs.el (vc-sccs-print-log):
5528 * vc/vc-svn.el (vc-svn-print-log):
5529 * vc/vc.el (vc-print-log-internal): Doc fixes.
5531 2013-04-23 Glenn Morris <rgm@gnu.org>
5533 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5534 Remove venerable code attempting to avoid substitute-command-keys.
5536 2013-04-23 Tassilo Horn <tsdh@gnu.org>
5538 * textmodes/reftex-vars.el (reftex-label-regexps):
5539 Call `reftex-compile-variables' after changes to this variable.
5541 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5543 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5544 Use lexical-binding.
5545 (jit-lock-force-redisplay): Use markers, check buffer's continued
5546 existence and beware narrowed buffers.
5547 (jit-lock-fontify-now): Adjust call accordingly.
5549 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5551 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5552 to avoid misleading the user.
5554 2013-04-22 Leo Liu <sdl.web@gmail.com>
5556 * info-look.el: Prefer latex2e.info. (Bug#14240)
5558 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
5560 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5562 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5563 * net/tramp.el (tramp-call-process): ... here.
5564 (tramp-set-completion-function, tramp-parse-putty):
5565 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5566 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5567 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5568 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5569 (tramp-call-local-coding-command): Use `tramp-call-process'
5570 instead of `tramp-compat-call-process'.
5572 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5573 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5574 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5575 (tramp-find-inline-compress): Improve traces.
5576 (tramp-maybe-send-script): Check for Perl binary.
5577 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5579 2013-04-22 Daiki Ueno <ueno@gnu.org>
5581 * epg.el (epg-context-pinentry-mode): New function.
5582 (epg-context-set-pinentry-mode): New function.
5583 (epg--start): Pass --pinentry-mode option to gpg command.
5585 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5587 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5588 `comint-dynamic-complete' is obsolete since 24.1, replaced by
5589 `completion-at-point'. (Bug#13774)
5591 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5592 default key binding for `describe-distribution' has been moved to
5593 `C-h C-o'. (Bug#13970)
5595 2013-04-21 Glenn Morris <rgm@gnu.org>
5597 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5599 (vc-print-log): Clarify interactive prompt.
5601 2013-04-20 Glenn Morris <rgm@gnu.org>
5603 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5604 No longer include timestamp etc information.
5606 2013-04-20 Roland Winkler <winkler@gnu.org>
5608 * faces.el (read-face-name): Bug fix, return just one face if arg
5609 multiple is nil. (Bug#14209)
5611 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5613 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5614 (remove-function): Autoload.
5616 * comint.el (comint-redirect-original-filter-function): Remove.
5617 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5618 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5619 (vc-cvs-annotate-command):
5620 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5621 * progmodes/prolog.el (prolog-consult-compile):
5622 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5623 Use add/remove-function instead.
5624 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5625 (gud-tooltip-process-output, gud-tooltip-tips):
5626 Use add/remove-function instead.
5627 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5628 (scheme-interaction-mode, exit-scheme-interaction-mode):
5629 Use add/remove-function instead.
5631 * vc/vc-dispatcher.el: Use lexical-binding.
5632 (vc--process-sentinel): Rename from vc-process-sentinel.
5633 Change last arg to be the code to run. Don't use vc-previous-sentinel
5634 and vc-sentinel-commands any more.
5635 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5636 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5638 2013-04-19 Masatake YAMATO <yamato@redhat.com>
5640 * progmodes/sh-script.el (sh-imenu-generic-expression):
5641 Handle function names with a single character. (Bug#14111)
5643 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
5645 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5646 for subroutines defined in an eval (bug#14182).
5648 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5650 * bookmark.el (bookmark-completing-read): Improve handling of empty
5653 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5655 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5657 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5659 New faster Imenu implementation (bug#14058).
5660 * progmodes/python.el:
5661 (python-imenu-prev-index-position):
5662 (python-imenu-format-item-label-function)
5663 (python-imenu-format-parent-item-label-function)
5664 (python-imenu-format-parent-item-jump-label-function):
5666 (python-imenu-format-item-label)
5667 (python-imenu-format-parent-item-label)
5668 (python-imenu-format-parent-item-jump-label)
5669 (python-imenu--put-parent, python-imenu--build-tree)
5670 (python-imenu-create-index, python-imenu-create-flat-index)
5671 (python-util-popn): New functions.
5672 (python-mode): Set imenu-create-index-function to
5673 python-imenu-create-index.
5675 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5677 * winner.el (winner-active-region): Use region-active-p, activate-mark
5678 and deactivate-mark (bug#14225).
5680 * simple.el (deactivate-mark): Don't inline it.
5682 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
5684 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5686 2013-04-18 Tassilo Horn <tsdh@gnu.org>
5688 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5689 file extensions from the archive-mode entry in order to prefer
5690 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5692 2013-04-18 Leo Liu <sdl.web@gmail.com>
5694 * bindings.el (help-event-list): Add ?\?.
5696 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5698 * subr.el (with-wrapper-hook): Declare obsolete.
5699 * simple.el (filter-buffer-substring-function): New hook.
5700 (filter-buffer-substring): Use it.
5701 (filter-buffer-substring-functions): Mark obsolete.
5702 * minibuffer.el (completion-in-region-function): New hook.
5703 (completion-in-region): Use it.
5704 (completion-in-region-functions): Mark obsolete.
5705 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5706 * abbrev.el (abbrev-expand-function): New hook.
5707 (expand-abbrev): Use it.
5708 (abbrev-expand-functions): Mark obsolete.
5709 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5712 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5714 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5715 and do not care about match data.
5717 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5719 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5720 completion tables when completing error conditions and
5721 `declare' arguments.
5722 (lisp-complete-symbol, field-complete): Mark as obsolete.
5723 (check-parens): Unmatched parens are user errors.
5724 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5726 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
5728 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5729 command changed buffer (ie. `flyspell-pre-buffer' is not current
5730 buffer), which prevents making decisions based on invalid value of
5731 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5732 cause an error when `flyspell-pre-point' was nil after switching
5734 (flyspell-post-command-hook): No longer needs to change buffers when
5735 checking pre-word. While at it remove unnecessary progn.
5737 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5739 * textmodes/ispell.el (ispell-add-per-file-word-list):
5740 Fix `flyspell-correct-word-before-point' error when accepting
5741 words and `coment-padding' is an integer by using
5742 `comment-normalize-vars' (Bug #14214).
5744 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5746 New defun movement commands.
5747 * progmodes/python.el (python-nav--syntactically)
5748 (python-nav--forward-defun, python-nav-backward-defun)
5749 (python-nav-forward-defun): New functions.
5751 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5753 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5754 (python-syntax-context): Use named compiler-macro for backwards
5755 compatibility with Emacs 24.x.
5757 2013-04-17 Leo Liu <sdl.web@gmail.com>
5759 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5760 octave-hide-process-buffer.
5762 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5764 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5767 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5769 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5770 Fix adjustment of offset when receiving incomplete responses from GDB
5773 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5775 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5776 python-mode-abbrev-table.
5777 (python-skeleton-define): Adjust accordingly.
5778 (python-mode-abbrev-table): New table that inherits from it so that
5779 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5781 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5782 (abbrev-symbol): Use it.
5783 (abbrev--before-point): Use it since we already handle inheritance.
5785 2013-04-16 Leo Liu <sdl.web@gmail.com>
5787 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5788 binding to info-lookup-symbol.
5790 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
5792 * minibuffer.el (completion--twq-all):
5793 * term/ns-win.el (ns-initialize-window-system):
5794 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5796 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5801 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5803 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5805 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5806 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5808 (ruby-end-of-defun): Remove the unused arg, change the docstring
5809 to reflect that this function is only used as the value of
5810 `end-of-defun-function'.
5811 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5812 to reflect an earlier change that beginning/end-of-defun functions
5813 jump between methods in a class definition, as well as top-level
5816 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * minibuffer.el (minibuffer-complete): Don't just scroll
5819 a *Completions* that's been iconified.
5820 (minibuffer-force-complete): Make sure repetitions do cycle when going
5821 through completion-in-region -> minibuffer-complete.
5823 2013-04-15 Alan Mackenzie <acm@muc.de>
5825 Correct the placement of c-cpp-delimiters when there're #s not at
5828 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5829 place a submatch around the #.
5830 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5831 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
5834 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5836 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5837 (advice--member-p): New arg `name'.
5838 (advice--add-function, advice-member-p): Use it (bug#14202).
5840 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5842 Reformulate java imenu-generic-expression.
5843 The old expression contained ill formed regexps.
5845 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5846 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5847 (cc-imenu-java-method-arg-regexp): New defconsts.
5848 (cc-imenu-java-build-type-args-regex): New defun.
5849 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5850 handling of spaces in the regexp.
5852 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5854 * textmodes/ispell.el (ispell-command-loop): Remove
5855 flyspell highlight of a word when ispell accepts it (bug #14178).
5857 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
5859 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5860 uses code from the previous `ange-ftp-run-real-handler'.
5861 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5862 only in case that function exist. This is needed for proper
5865 2013-04-15 Tassilo Horn <tsdh@gnu.org>
5867 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5869 * textmodes/reftex.el (reftex-compile-variables): Use it.
5871 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5873 * files.el (normal-mode): Only use default major-mode if no other mode
5876 * emacs-lisp/trace.el (trace-values): New function.
5878 * files.el: Allow : in local variables (bug#14089).
5879 (hack-local-variable-regexp): New var.
5880 (hack-local-variables-prop-line, hack-local-variables): Use it.
5882 2013-04-13 Roland Winkler <winkler@gnu.org>
5884 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5885 data before it gets modified by bibtex-beginning-of-entry.
5887 2013-04-13 Roland Winkler <winkler@gnu.org>
5889 * textmodes/bibtex.el (bibtex-url): Doc fix.
5891 2013-04-13 Roland Winkler <winkler@gnu.org>
5893 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5894 does not visit a BibTeX file, exclude it from the list of buffers
5895 returned by bibtex-initialize.
5897 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
5899 * window.el (split-window): Remove interactive form, since as a
5900 command this function is a special case of split-window-below.
5903 2013-04-12 Roland Winkler <winkler@gnu.org>
5905 * faces.el (read-face-name): Do not override value of arg default.
5906 Allow single faces and strings as default values. Remove those
5907 elements from return value that are not faces.
5908 (describe-face): Simplify.
5909 (face-at-point): New optional args thing and multiple so that this
5910 function can provide the same functionality previously provided by
5912 (make-face-bold, make-face-unbold, make-face-italic)
5913 (make-face-unitalic, make-face-bold-italic, invert-face)
5914 (modify-face, read-face-and-attribute): Use face-at-point.
5916 * cus-edit.el (customize-face, customize-face-other-window)
5917 * cus-theme.el (custom-theme-add-face)
5918 * face-remap.el (buffer-face-set)
5919 * facemenu.el (facemenu-set-face): Use face-at-point.
5921 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
5923 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5925 2013-04-10 Tassilo Horn <tsdh@gnu.org>
5927 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5928 off leading { and trailing } from field values.
5930 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5932 * emacs-lisp/timer.el (timer--check): New function.
5933 (timer--time, timer-set-function, timer-event-handler): Use it.
5934 (timer-set-idle-time): Simplify.
5935 (timer--activate): CSE.
5936 (timer-event-handler): Give more info in error message.
5937 (internal-timer-start-idle): New function, moved from C.
5939 * mpc.el (mpc-proc): Add `restart' argument.
5940 (mpc-proc-cmd): Use it.
5941 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5942 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5945 2013-04-10 Masatake YAMATO <yamato@redhat.com>
5947 * progmodes/sh-script.el: Implement `sh-mode' own
5948 `add-log-current-defun-function' (bug#14112).
5949 (sh-current-defun-name): New function.
5950 (sh-mode): Use the function.
5952 2013-04-09 Bastien Guerry <bzg@gnu.org>
5954 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5956 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5958 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5960 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5963 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5965 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5968 2013-04-07 Leo Liu <sdl.web@gmail.com>
5970 * pcmpl-x.el: New file.
5972 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5974 Do not set x-display-name until X connection is established.
5975 This is needed to prevent from weird situation described at
5976 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5977 * frame.el (make-frame): Set x-display-name after call to
5978 window system initialization function, not before.
5979 * term/x-win.el (x-initialize-window-system): Add optional
5980 display argument and use it.
5981 * term/w32-win.el (w32-initialize-window-system):
5982 * term/ns-win.el (ns-initialize-window-system):
5983 * term/pc-win.el (msdos-initialize-window-system):
5984 Add compatible optional display argument.
5986 2013-04-06 Eli Zaretskii <eliz@gnu.org>
5988 * files.el (normal-backup-enable-predicate): On MS-Windows and
5989 MS-DOS compare truenames of temporary-file-directory and of the
5990 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5991 don't fail comparison by compare-strings. Also, compare file
5992 names case-insensitively on MS-Windows and MS-DOS.
5994 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5996 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5997 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5999 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6001 * whitespace.el (whitespace-color-on, whitespace-color-off):
6002 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
6004 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
6006 * ispell.el (ispell-set-spellchecker-params):
6007 Really set `ispell-args' for all equivs.
6009 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6011 * ido.el (ido-completions): Use extra elements of ido-decorations
6013 (ido-decorations): Update docstring.
6015 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
6017 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6018 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6019 nil during initialization, in order not to miss changes since the
6020 file was opened. (Bug#14140)
6022 2013-04-05 Leo Liu <sdl.web@gmail.com>
6024 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6026 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6028 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6030 2013-04-04 Glenn Morris <rgm@gnu.org>
6032 * electric.el (electric-pair-inhibit-predicate): Add :version.
6034 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6036 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6037 when a package is required several times (bug#14082).
6039 2013-04-04 Roland Winkler <winkler@gnu.org>
6041 * faces.el (read-face-name): Behave as promised by the docstring.
6042 Assume that arg default is a list of faces.
6043 (describe-face): Call read-face-name with list of default faces.
6045 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6047 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6048 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6049 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6051 (bookmark-exit-hook-internal): Save even if list is empty.
6053 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6055 * emacs-lisp/package.el (package-pinned-packages): New var.
6056 (package--add-to-archive-contents): Obey it (bug#14118).
6058 2013-04-03 Alan Mackenzie <acm@muc.de>
6060 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6061 Also adapt to the new values of element 7 of a parse state.
6063 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6064 parameter `not-in-delimiter'. Handle being inside comment opener.
6065 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6066 character in case we're typing a '*' after a '/'.
6067 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6068 instead by passing the parameter to c-state-pp-to-literal.
6070 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6071 for elt. 7 of a parse state.
6073 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6075 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6076 * international/latin1-disp.el, international/mule-util.el:
6077 * language/cyril-util.el, language/european.el, language/ind-util.el:
6078 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6079 * language/tibetan.el, language/viet-util.el:
6080 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6082 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6084 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6085 (electric-pair-post-self-insert-function): Use it.
6086 (electric-pair-default-inhibit): New function, extracted from
6087 electric-pair-post-self-insert-function.
6089 2013-03-31 Roland Winkler <winkler@gnu.org>
6091 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6093 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6097 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
6099 Un-indent after "pass" and "return" statements (Bug#13888)
6100 * progmodes/python.el (python-indent-block-enders): New var.
6101 (python-indent-calculate-indentation): Use it.
6103 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
6105 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6106 defun. Defining it as defalias could introduce too eager
6107 byte-compiler optimization. (Bug#14030)
6109 2013-03-30 Chong Yidong <cyd@gnu.org>
6111 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6113 2013-03-30 Leo Liu <sdl.web@gmail.com>
6115 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6116 (kmacro-execute-from-register): Pass the keyboard macro to
6117 kmacro-call-macro or repeating won't work correctly.
6119 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6121 * progmodes/subword.el: Back to using `forward-symbol'.
6123 * subr.el (forward-whitespace, forward-symbol)
6124 (forward-same-syntax): Move from thingatpt.el.
6126 2013-03-29 Leo Liu <sdl.web@gmail.com>
6128 * kmacro.el (kmacro-to-register): New command.
6129 (kmacro-execute-from-register): New function.
6130 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6132 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6134 * mpc.el: Use defvar-local and setq-local.
6135 (mpc--proc-connect): Connection failures are not bugs.
6136 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6137 (mpc-volume-map): Bind to the up-events.
6139 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6141 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6142 instead of `forward-symbol'.
6144 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6146 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6147 (edebug--recursive-edit): Use it.
6148 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6149 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6151 2013-03-28 Leo Liu <sdl.web@gmail.com>
6153 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6155 2013-03-27 Eli Zaretskii <eliz@gnu.org>
6157 * facemenu.el (list-colors-callback): New defvar.
6158 (list-colors-redisplay): New function.
6159 (list-colors-display): Install list-colors-redisplay as the
6160 revert-buffer-function. (Bug#14063)
6162 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6164 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6165 and suffixes don't overlap (bug#14061).
6167 * case-table.el: Use lexical-binding.
6168 (case-table-get-table): New function.
6169 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6171 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6173 * progmodes/subword.el: Add `superword-mode' to do word motion
6174 over symbol_words (parallels and leverages `subword-mode' which
6175 does word motion inside MixedCaseWords).
6177 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6179 * eshell/em-unix.el: Move su and sudo to...
6180 * eshell/em-tramp.el: ...Eshell tramp module.
6182 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6184 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6185 Change return value to be a sexp. Delay `get-buffer' to after
6186 restoring the desktop (bug#13951).
6188 2013-03-26 Leo Liu <sdl.web@gmail.com>
6190 * register.el: Move semantic tag handling back to
6191 cedet/semantic/senator.el. (Bug#14052)
6193 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6195 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6196 into the prompt either (bug#13963).
6198 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6201 part of "(error-foo)".
6203 2013-03-24 Juri Linkov <juri@jurta.org>
6205 * replace.el (list-matching-lines-prefix-face): New defcustom.
6206 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6207 `occur-engine' if `face-differs-from-default-p' returns t.
6208 (occur-engine): Add `,' inside backquote construct to evaluate
6209 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6210 Pass `prefix-face' to the functions `occur-context-lines' and
6211 `occur-engine-add-prefix'.
6212 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6213 `prefix-face' and propertize the prefix with `prefix-face'.
6216 2013-03-24 Leo Liu <sdl.web@gmail.com>
6218 * nxml/rng-valid.el (rng-validate-while-idle)
6219 (rng-validate-quick-while-idle): Guard against deleted buffer.
6222 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6223 is the last entry in kill-buffer-hook.
6225 * files.el (kill-buffer-hook): Doc fix.
6227 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6229 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6232 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6234 2013-03-23 Leo Liu <sdl.web@gmail.com>
6236 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6239 * nxml/rng-valid.el (rng-validate-mode)
6240 (rng-after-change-function, rng-do-some-validation):
6241 * nxml/rng-maint.el (rng-validate-buffer):
6242 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6243 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6244 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6245 (nxml-extend-after-change-region): Use with-silent-modifications.
6247 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6250 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6251 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6252 timer-idle-list. (Bug#13999)
6254 2013-03-23 Juri Linkov <juri@jurta.org>
6256 * info.el (info-index-match): New face.
6257 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6258 main pattern and add text properties with the new face to matches
6259 in index entries relative to the beginning of the index entry.
6262 2013-03-21 Eric Ludlam <zappo@gnu.org>
6264 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6265 Inhibit read only while inserting objects.
6267 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6269 * progmodes/cfengine.el: Update docs to mention
6270 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6271 symbol motion. Remove "_" from the word syntax.
6273 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6275 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6276 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6278 2013-03-20 Juri Linkov <juri@jurta.org>
6280 * info.el (Info-next-reference-or-link)
6281 (Info-prev-reference-or-link): New functions.
6282 (Info-next-reference, Info-prev-reference): Use them.
6283 (Info-try-follow-nearest-node): Handle footnote navigation.
6284 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6286 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6288 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6289 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6291 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6293 Suppress unnecessary non-ASCII chatter during build process.
6294 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6295 (batch-skkdic-convert): Suppress most of the chatter.
6296 It's not needed so much now that machines are faster,
6297 and its non-ASCII component was confusing; see Dmitry Gutov in
6298 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6300 2013-03-20 Leo Liu <sdl.web@gmail.com>
6302 * ido.el (ido-chop): Fix bug#10994.
6304 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6306 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6308 (whitespace-color-on, whitespace-color-off):
6309 Use `font-lock-fontify-buffer' (Bug#13817).
6311 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6313 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6314 remapping in mode-line.
6315 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6317 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6319 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6320 value for `whitespace-line' face (Bug#13875).
6321 (whitespace-font-lock-keywords): Change description.
6322 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6323 the constructed keywords instead.
6324 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6326 2013-03-19 Leo Liu <sdl.web@gmail.com>
6328 * progmodes/compile.el (compilation-display-error): New command.
6329 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6332 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6334 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6336 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6338 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6340 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6342 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6344 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6345 * net/tramp-gvfs.el (top):
6346 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6347 (tramp-handle-shell-command): Use it.
6348 (tramp-dissect-file-name): Raise an error when hostname is a
6349 method name, and neither method nor user is specified.
6351 * net/trampver.el: Update release number.
6353 2013-03-18 Leo Liu <sdl.web@gmail.com>
6355 Make sure eldoc can be turned off properly.
6356 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6358 (eldoc-display-message-p): Revert last change.
6359 (eldoc-display-message-no-interference-p)
6360 (eldoc-print-current-symbol-info): Tweak.
6362 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6364 * doc-view.el (doc-view-new-window-function): Check the new window
6365 overlay's display property instead the char property of the
6366 buffer's first char. Use `with-selected-window' instead of
6367 `save-window-excursion' with `select-window'.
6368 (doc-view-document->bitmap): Check the current doc-view overlay's
6369 display property instead the char property of the buffer's first char.
6371 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6373 Automate the build of ja-dic.el (Bug#13984).
6374 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6375 from the input, rather than assume that it's been done for us by the
6376 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6377 the current date into a ja-dic.el comment, as that complicates
6380 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * whitespace.el: Fix double evaluation.
6383 (whitespace-space, whitespace-hspace, whitespace-tab)
6384 (whitespace-newline, whitespace-trailing, whitespace-line)
6385 (whitespace-space-before-tab, whitespace-indentation)
6386 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6388 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6389 (whitespace-color-on): Use a single font-lock-add-keywords call.
6390 Fix double-evaluation of face variables.
6392 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6394 * net/tramp-adb.el (tramp-adb-parse-device-names):
6395 Use `start-process' instead of `call-process'. Otherwise, the
6396 function might be blocked under MS Windows. (Bug#13299)
6398 2013-03-17 Leo Liu <sdl.web@gmail.com>
6400 Extend eldoc to display info in the mode-line. (Bug#13978)
6401 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6402 (eldoc-mode-line-string): New variable.
6403 (eldoc-minibuffer-message): New function.
6404 (eldoc-message-function): New variable.
6405 (eldoc-message): Use it.
6406 (eldoc-display-message-p)
6407 (eldoc-display-message-no-interference-p):
6408 Support eldoc-post-insert-mode.
6410 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6411 (eval-expression): Run it.
6413 2013-03-17 Roland Winkler <winkler@gnu.org>
6415 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6416 strings in the list of return values.
6418 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6420 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6421 radix before checking for HMS forms.
6423 2013-03-16 Leo Liu <sdl.web@gmail.com>
6425 * progmodes/scheme.el: Add indentation and font-locking for λ.
6428 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
6430 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6431 token before point (bug#13942).
6433 2013-03-16 Leo Liu <sdl.web@gmail.com>
6435 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
6437 2013-03-16 Eli Zaretskii <eliz@gnu.org>
6439 * startup.el (command-line-normalize-file-name): Fix handling of
6440 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6441 <xfq.free@gmail.com> in
6442 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6444 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
6446 Sync with Tramp 2.2.7.
6448 * net/trampver.el: Update release number.
6450 2013-03-14 Tassilo Horn <tsdh@gnu.org>
6452 * doc-view.el Fix bug#13887.
6453 (doc-view-insert-image): Don't modify overlay associated to
6454 non-live windows, and implement horizontal centering of image in
6455 case it's smaller than the window.
6456 (doc-view-new-window-function): Force redisplay of new windows on
6459 2013-03-13 Karl Fogel <kfogel@red-bean.com>
6461 * saveplace.el (save-place-alist-to-file): Don't sort
6462 `save-place-alist', just pretty-print it (bug#13882).
6464 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
6466 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6467 Check whether `default-file-name-coding-system' is bound.
6470 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6473 backquotes for `obsolete' (bug#13929).
6475 * international/mule.el (find-auto-coding): Include file name in
6476 obsolescence warning (bug#13922).
6478 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6480 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6481 for CFEngine 3-specific indentation.
6482 (cfengine3-indent-line): Use it. Fix up category regex.
6483 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6485 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * type-break.el (type-break-file-name):
6488 * textmodes/remember.el (remember-data-file):
6489 * strokes.el (strokes-file):
6490 * shadowfile.el (shadow-initialize):
6491 * saveplace.el (save-place-file):
6492 * ps-bdf.el (bdf-cache-file):
6493 * progmodes/idlwave.el (idlwave-config-directory):
6494 * net/quickurl.el (quickurl-url-file):
6495 * international/kkc.el (kkc-init-file-name):
6496 * ido.el (ido-save-directory-list-file):
6497 * emulation/viper.el (viper-custom-file-name):
6498 * emulation/vip.el (vip-startup-file):
6499 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6500 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6502 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6504 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6505 * language/thai-word.el: Switch to UTF-8.
6507 See ChangeLog.16 for earlier changes.
6513 Copyright (C) 2011-2013 Free Software Foundation, Inc.
6515 This file is part of GNU Emacs.
6517 GNU Emacs is free software: you can redistribute it and/or modify
6518 it under the terms of the GNU General Public License as published by
6519 the Free Software Foundation, either version 3 of the License, or
6520 (at your option) any later version.
6522 GNU Emacs is distributed in the hope that it will be useful,
6523 but WITHOUT ANY WARRANTY; without even the implied warranty of
6524 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6525 GNU General Public License for more details.
6527 You should have received a copy of the GNU General Public License
6528 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.