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