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