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