* lisp/progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
bb41480a
SM
12013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
7679edb1
SM
3 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5
bb41480a
SM
6 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7 (byte-compile-callargs-warn): Use `push'.
8 (byte-compile-arglist-warn): Ignore higher-order "calls".
9 (byte-compile-file-form-autoload): Use `pcase'.
10 (byte-compile-function-form): If quoting a symbol, check that it exists.
11
cdc1ebb9
EZ
122013-08-07 Eli Zaretskii <eliz@gnu.org>
13
14 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
15 and add a few popular commands found in batch files.
16 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
17 (dos-mode): Doc fixes.
18
312b1740
SM
192013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
22 (dos-mode): Use setq-local. Add space after "rem".
23 (dos-mode-syntax-table): Don't use "w" for symbol chars.
24 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
25
400a3178
AM
262013-08-07 Arni Magnusson <arnima@hafro.is>
27
28 * progmodes/dos.el: New file.
29 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
30 dos-mode.
31
3b5c03d3
GM
322013-08-06 Glenn Morris <rgm@gnu.org>
33
34 * calendar/calendar.el: Add new faces, and day-header-array.
35 (calendar-weekday-header, calendar-weekend-header)
36 (calendar-month-header): New faces.
37 (calendar-day-header-construct): New function.
38 (calendar-day-header-width): Also :set calendar-day-header-array.
39 (calendar-american-month-header, calendar-european-month-header)
40 (calendar-iso-month-header): Use calendar- faces.
41 (calendar-generate-month):
42 Use calendar-day-header-array for day headers; apply faces to them.
43 (calendar-mode): Check calendar-font-lock-keywords non-nil.
44 (calendar-abbrev-construct): Add optional maxlen argument.
45 (calendar-day-name-array): Doc fix.
46 (calendar-day-name-array, calendar-abbrev-length)
47 (calendar-day-abbrev-array):
48 Also :set calendar-day-header-array, and maybe redraw.
49 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 50 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
51 (calendar-day-name): Add option to use header array.
52
ec6a2d7a
LMI
532013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
54
55 * net/shr.el (shr-render-td): Remove debugging.
56 (shr-render-td): Make width computation consistent by defaulting
57 all zero-width columns to 10 characters. This may not be optimal,
58 but it's at least consistent.
2122cb6d
LMI
59 (shr-make-table-1): Redo last change to fix the real problem in
60 colspan handling.
ec6a2d7a 61
ed4fd9c5
DA
622013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
63
64 * files.el (cache-long-line-scans): Make
65 obsolete alias to `cache-long-scans'.
66
64e22afe
JB
672013-08-06 Juanma Barranquero <lekktu@gmail.com>
68
024b38fc
JB
69 * frameset.el (frameset, frameset-filter-alist)
70 (frameset-filter-params, frameset-save, frameset--reuse-frame)
71 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
72 (frameset-compute-pos): Rename from frameset--compute-pos,
73 and add docstring.
74 (frameset-move-onscreen): Use frameset-compute-pos.
75 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
76
64e22afe
JB
77 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
78 Fix typos in docstrings.
79
c8c2aca8
DA
802013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
81
82 * frame.el (get-other-frame): Tiny cleanup.
83
1d237bba
JB
842013-08-06 Juanma Barranquero <lekktu@gmail.com>
85
8951efef
JB
86 * vc/vc.el (vc-default-ignore-completion-table):
87 Silence byte-compiler warning.
88
307764cc
JB
89 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
90 slot , which can indeed be nil.
91 (frameset-live-filter-alist, frameset-persistent-filter-alist):
92 Move entry for `left' from persistent to live filter alist.
93 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
94 Doc fixes.
95 (frameset-filter-params): When restoring a frame, copy items added to
96 `filtered', to avoid unwittingly modifying the original parameters.
97 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
98 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
99
1d237bba
JB
100 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
101 to use looking-at-p instead of looking-at. (Bug#15028)
102
dc6c0eda
SM
1032013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 Revert introduction of isearch-filter-predicates (bug#14714).
106 Rely on add-function instead.
107 * isearch.el (isearch-filter-predicates): Rename it back to
108 isearch-filter-predicate.
109 (isearch-message-prefix): Use advice-function-mapc and advice
110 properties to get the isearch-message-prefix.
111 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
112 instead of run-hook-with-args-until-failure.
113 (isearch-filter-visible): Not obsolete any more.
114 * loadup.el: Preload nadvice.
115 * replace.el (perform-replace): Revert to funcall
116 instead of run-hook-with-args-until-failure.
117 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
118 * dired-aux.el (dired-isearch-filenames-mode): Rename from
119 dired-isearch-filenames-toggle; make it into a proper minor mode.
120 Use add/remove-function.
121 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
122 Call the minor-mode rather than add/remove-hook.
123 (dired-isearch-filter-filenames):
124 Remove isearch-message-prefix property.
125 * info.el (Info--search-loop): New function, extracted from Info-search.
126 Funcall isearch-filter-predicate instead of
127 run-hook-with-args-until-failure isearch-filter-predicates.
128 (Info-search): Use it.
129 (Info-mode): Use isearch-filter-predicate instead of
130 isearch-filter-predicates.
131
290d5b58
DA
1322013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
133
134 Do not call to `selected-window' where it is assumed by default.
135 Affected functions are `window-minibuffer-p', `window-dedicated-p',
136 `window-hscroll', `window-width', `window-height', `window-buffer',
137 `window-frame', `window-start', `window-point', `next-window'
138 and `window-display-table'.
139 * abbrev.el (abbrev--default-expand):
140 * bs.el (bs--show-with-configuration):
141 * buff-menu.el (Buffer-menu-mouse-select):
142 * calc/calc.el (calc):
143 * calendar/calendar.el (calendar-generate-window):
144 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
145 (diary-make-entry):
146 * comint.el (send-invisible, comint-dynamic-complete-filename)
147 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
148 * completion.el (complete):
149 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
150 * disp-table.el (describe-current-display-table):
151 * doc-view.el (doc-view-insert-image):
152 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
153 * ehelp.el (with-electric-help):
154 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
155 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
156 * emacs-lisp/helper.el (Helper-help-scroller):
157 * emulation/cua-base.el (cua--post-command-handler-1):
158 * eshell/esh-mode.el (eshell-output-filter):
159 * ffap.el (ffap-gnus-wrapper):
160 * help-macro.el (make-help-screen):
161 * hilit-chg.el (highlight-compare-buffers):
162 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
163 * hl-line.el (global-hl-line-highlight):
164 * icomplete.el (icomplete-simple-completing-p):
165 * isearch.el (isearch-done):
166 * jit-lock.el (jit-lock-stealth-fontify):
167 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
168 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
169 * mpc.el (mpc-tagbrowser, mpc):
170 * net/rcirc.el (rcirc-any-buffer):
171 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
172 * play/landmark.el (landmark-max-width, landmark-max-height):
173 * play/zone.el (zone):
174 * progmodes/compile.el (compilation-goto-locus):
175 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
176 * progmodes/etags.el (find-tag-other-window):
177 * progmodes/fortran.el (fortran-column-ruler):
178 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
179 * progmodes/verilog-mode.el (verilog-point-text):
180 * reposition.el (reposition-window):
181 * rot13.el (toggle-rot13-mode):
182 * server.el (server-switch-buffer):
183 * shell.el (shell-dynamic-complete-command)
184 (shell-dynamic-complete-environment-variable):
185 * simple.el (insert-buffer, set-selective-display)
186 (delete-completion-window):
187 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
188 (speedbar-recenter):
189 * startup.el (fancy-splash-head):
190 * textmodes/ispell.el (ispell-command-loop):
191 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
192 * tutorial.el (help-with-tutorial):
193 * vc/add-log.el (add-change-log-entry):
194 * vc/compare-w.el (compare-windows):
195 * vc/ediff-help.el (ediff-indent-help-message):
196 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
197 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
198 (ediff-setup-control-frame):
199 * vc/emerge.el (emerge-position-region):
200 * vc/pcvs-util.el (cvs-bury-buffer):
201 * window.el (walk-windows, mouse-autoselect-window-select):
202 * winner.el (winner-set-conf, winner-undo): Related users changed.
203
38276e01
JB
2042013-08-05 Juanma Barranquero <lekktu@gmail.com>
205
206 * frameset.el (frameset--set-id): Doc fix.
207 (frameset-frame-id, frameset-frame-id-equal-p)
208 (frameset-locate-frame-id): New functions.
209 (frameset--process-minibuffer-frames, frameset--reuse-frame)
210 (frameset-restore): Use them.
211
12b4c0ea
DA
2122013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
213
214 Do not call to `selected-frame' where it is assumed by default.
215 Affected functions are `raise-frame', `redraw-frame',
216 `frame-first-window', `frame-terminal' and `delete-frame'.
217 * calendar/appt.el (appt-disp-window):
218 * epg.el (epg-wait-for-completion):
219 * follow.el (follow-delete-other-windows-and-split)
220 (follow-avoid-tail-recenter):
221 * international/mule.el (set-terminal-coding-system):
222 * mail/rmail.el (rmail-mail-return):
223 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
224 * progmodes/f90.el (f90-add-imenu-menu):
225 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
226 * server.el (server-switch-buffer):
227 * simple.el (delete-completion-window):
228 * talk.el (talk):
229 * term/xterm.el (terminal-init-xterm-modify-other-keys)
230 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
231 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
232 * vc/ediff.el (ediff-documentation): Related users changed.
233 * frame.el (selected-terminal): Remove the leftover.
234
17f25e76
GM
2352013-08-05 Glenn Morris <rgm@gnu.org>
236
237 * calendar/calendar.el (calendar-generate-month):
238 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
239 (calendar-generate-month, calendar-font-lock-keywords):
240 Fix for calendar-day-header-width > length of any day name.
17f25e76 241
063233c3
JB
2422013-08-05 Juanma Barranquero <lekktu@gmail.com>
243
244 * desktop.el (desktop-clear): Use new name of sort predicate.
245
246 * frameset.el (frameset): Add docstring. Move :version property to its
247 own `version' slot.
248 (frameset-copy): Rename from copy-frameset.
249 (frameset-p): Check more thoroughly.
250 (frameset-prop): Do not check for :version, which is no longer a prop.
251 (frameset-live-filter-alist, frameset-persistent-filter-alist):
252 Use new :never value instead of t.
253 (frameset-filter-alist): Expand and clarify docstring.
254 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
255 (frameset-filter-minibuffer, frameset-filter-save-param)
256 (frameset-filter-restore-param, frameset-filter-iconified):
257 Add pointer to docstring of frameset-filter-alist.
258 (frameset-filter-params): Rename filter values to be more meaningful:
259 :never instead of t, and reverse the meanings of :save and :restore.
260 (frameset--process-minibuffer-frames): Clarify error message.
261 (frameset-save): Avoid unnecessary and confusing call to framep.
262 Use new BOA constructor for framesets.
263 (frameset--reuse-list): Doc fix.
264 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
265 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
266 (frameset-minibufferless-first-p): Doc fix.
267 Rename from frameset-sort-frames-for-deletion.
268 (frameset-restore): Doc fixes. Use new function names.
269 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
270
d5671a82
JB
2712013-08-04 Juanma Barranquero <lekktu@gmail.com>
272
273 * desktop.el (desktop-restore-forces-onscreen)
274 (desktop-restore-reuses-frames): Document :keyword constant values.
275 (desktop-filter-parameters-alist): Remove, now identical to
276 frameset-filter-alist.
277 (desktop--filter-tty*): Remove, moved to frameset.el.
278 (desktop-save-frameset, desktop-restore-frameset):
279 Do not pass :filters argument.
280
281 * frameset.el (frameset-live-filter-alist)
282 (frameset-persistent-filter-alist): New variables.
283 (frameset-filter-alist): Use them. Add autoload cookie.
284 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
285 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
286 `frameset--id' (it's supposed to be internal to frameset.el).
287 (frameset--process-minibuffer-frames): Ditto. Doc fix.
288 (frameset--initial-params): New function.
289 (frameset--get-frame): Use it. Doc fix.
290 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
291 Accept :all, not 'all.
292 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
293 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
294 with fbound symbols. Fix frame id matching, and remove matching ids if
295 the frame being restored is deleted. Obey :delete.
296
671d5c16
SM
2972013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * subr.el (macrop): New function.
300 (text-clone--maintaining): New var.
301 (text-clone--maintain): Rename from text-clone-maintain. Use it
302 instead of inhibit-modification-hooks.
303
304 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
305 a proxy, so as handle autoloads and redefinitions of the target.
306 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
307
308 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
309 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
310 (pcase--mutually-exclusive-p): New function.
311 (pcase--split-consp): Use it.
312 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
313 mutually exclusive with the current predicate.
314
315 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
316 (edebug-macrop): Remove. Use `macrop' instead.
317 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
318 (ad-macro-p):
319 * eshell/esh-cmd.el (eshell-macrop):
320 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
321
1d44e9dc
SM
3222013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
323
324 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
325 (advice-mapc): New function, using it.
326 (advice-function-member-p): New function.
327 (advice--normalize): Store the cdr in advice--saved-rewrite since
328 that's the part that will be changed.
329 (advice--symbol-function): New function.
330 (advice-remove): Handle removal before the function is defined.
331 Adjust to new advice--saved-rewrite.
332 (advice-member-p): Use advice-function-member-p and
333 advice--symbol-function.
334
5414a283
JB
3352013-08-04 Juanma Barranquero <lekktu@gmail.com>
336
51d30f2c
JB
337 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
338 (frameset-filter-minibuffer): Doc fix.
339 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
340 (frameset--set-id, frameset--process-minibuffer-frames)
341 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
342 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 343
5414a283
JB
344 * desktop.el (desktop-clear): Only delete frames when called
345 interactively and desktop-restore-frames is non-nil. Doc fix.
346 (desktop-read): Set desktop-saved-frameset to nil.
347
ab419665
XF
3482013-08-04 Xue Fuqiao <xfq.free@gmail.com>
349
350 * vc/vc.el (vc-ignore): Rewrite.
351 (vc-default-ignore-completion-table):
352 (vc--read-lines):
353 (vc--add-line, vc--remove-regexp): New functions.
354
355 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
356 (vc-svn-ignore-completion-table): New function.
357
358 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
359 (vc-hg-ignore-completion-table):
360 (vc-hg-find-ignore-file): New functions.
361
362 * vc/vc-git.el (vc-git-ignore): Rewrite.
363 (vc-git-ignore-completion-table):
364 (vc-git-find-ignore-file): New functions.
365
366 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
367
368 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
369 (vc-bzr-ignore-completion-table):
370 (vc-bzr-find-ignore-file): New functions.
371
2613dea2
JB
3722013-08-03 Juanma Barranquero <lekktu@gmail.com>
373
374 * frameset.el (frameset-prop): New function and setter.
375 (frameset-save): Do not modify frame list passed by the caller.
376
9c959872
SM
3772013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
380
a104f656
SM
3812013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
382
70122acf
SM
383 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
384 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
385
a104f656
SM
386 * custom.el (custom-initialize-default, custom-initialize-set)
387 (custom-initialize-reset, custom-initialize-changed): Affect the
388 toplevel-default-value (bug#6275, bug#14586).
389 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
390 for bug#6275.
391
f078d570
JB
3922013-08-02 Juanma Barranquero <lekktu@gmail.com>
393
185e3b5a
JB
394 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
395 Add cl-def* expressions.
396
f078d570
JB
397 * frameset.el (frameset-filter-params): Fix order of arguments.
398
9421876d
JB
3992013-08-02 Juanma Barranquero <lekktu@gmail.com>
400
401 Move code related to saving frames to frameset.el.
402 * desktop.el: Require frameset.
403 (desktop-restore-frames): Doc fix.
404 (desktop-restore-reuses-frames): Rename from
405 desktop-restoring-reuses-frames.
406 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
407 (desktop-clear): Clear frames too.
408 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
409 (desktop--filter-tty*, desktop-save, desktop-read):
410 Use frameset functions.
411 (desktop-before-saving-frames-functions, desktop--filter-*-color)
412 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
413 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
414 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
415 (desktop--process-minibuffer-frames, desktop-save-frames)
416 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
417 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
418 (desktop--sort-states, desktop-restoring-frames-p)
419 (desktop-restore-frames): Remove. Most code moved to frameset.el.
420 (desktop-restoring-frameset-p, desktop-restore-frameset)
421 (desktop--check-dont-save, desktop-save-frameset): New functions.
422 (desktop--app-id): New constant.
423 (desktop-first-buffer, desktop-buffer-ok-count)
424 (desktop-buffer-fail-count): Move before first use.
425 * frameset.el: New file.
426
76dc5996
SM
4272013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * files.el: Use lexical-binding.
430 (dir-locals-read-from-file): Remove unused `err' variable.
431 (hack-dir-local-variables--warned-coding): New var.
432 (hack-dir-local-variables): Use it to avoid repeated warnings.
433 (make-backup-file-name--default-function): New function.
434 (make-backup-file-name-function): Use it as default.
435 (buffer-stale--default-function): New function.
436 (buffer-stale-function): Use it as default.
437 (revert-buffer-insert-file-contents--default-function): New function.
438 (revert-buffer-insert-file-contents-function): Use it as default.
439 (insert-directory): Avoid add-to-list.
440
441 * autorevert.el (auto-revert-handler): Simplify.
442 Use buffer-stale--default-function.
443
06d36e2b
TH
4442013-08-01 Tassilo Horn <tsdh@gnu.org>
445
5f648ab4
TH
446 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
447
06d36e2b
TH
448 * whitespace.el (whitespace-ensure-local-variables): New function.
449 (whitespace-cleanup-region): Call it.
450 (whitespace-turn-on): Call it.
451
a43dc424
MA
4522013-08-01 Michael Albinus <michael.albinus@gmx.de>
453
454 Complete file name handlers.
455
456 * net/tramp.el (tramp-handle-set-visited-file-modtime)
457 (tramp-handle-verify-visited-file-modtime)
458 (tramp-handle-file-notify-rm-watch): New functions.
459 (tramp-call-process): Do not bind `default-directory'.
460
44e18199
JB
461 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
462 Order alphabetically.
a43dc424
MA
463 [access-file, add-name-to-file, dired-call-process]:
464 [dired-compress-file, file-acl, file-notify-rm-watch]:
465 [file-ownership-preserved-p, file-selinux-context]:
466 [make-directory-internal, make-symbolic-link, set-file-acl]:
467 [set-file-selinux-context, set-visited-file-modtime]:
468 [verify-visited-file-modtime]: Add handler.
469 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
470
471 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
472 [file-notify-add-watch, file-notify-rm-watch]:
473 [set-file-times, set-visited-file-modtime]:
474 [verify-visited-file-modtime]: Add handler.
475 (with-tramp-gvfs-error-message)
476 (tramp-gvfs-handle-set-visited-file-modtime)
477 (tramp-gvfs-fuse-file-name): Remove.
478 (tramp-gvfs-handle-file-notify-add-watch)
479 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
480 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
481
44e18199
JB
482 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
483 Order alphabetically.
a43dc424
MA
484 [file-notify-rm-watch ]: Use default Tramp handler.
485 [executable-find]: Remove private handler.
486 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
487 `default-directory'.
488 (tramp-sh-handle-executable-find)
489 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
490 (tramp-sh-file-gvfs-monitor-dir-process-filter)
491 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
492 Do not use `format' in `tramp-message'.
493
494 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
495 [file-notify-rm-watch, set-visited-file-modtime]:
496 [verify-visited-file-modtime]: Add handler.
497 (tramp-smb-call-winexe): Do not bind `default-directory'.
498
7188b515
XF
4992013-08-01 Xue Fuqiao <xfq.free@gmail.com>
500
501 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
502
2412ee1a
DG
5032013-07-31 Dmitry Gutov <dgutov@yandex.ru>
504
505 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
506 use it.
507 (log-view-diff-changeset): Same.
508 (log-view-diff-common): Call backend command `previous-revision'
509 to find out the previous revision, in both cases. Swap the
510 variables `to' and `fr', so that `fr' usually refers to the
511 earlier revision (Bug#14989).
512
5002a754
KRC
5132013-07-31 Kan-Ru Chen <kanru@kanru.info>
514
515 * ibuf-ext.el (ibuffer-filter-by-filename):
516 Make it work with dired buffers too.
517
44e18199 5182013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
519
520 * emacs-lisp/re-builder.el (reb-color-display-p):
521 * files.el (save-buffers-kill-terminal):
522 * net/browse-url.el (browse-url):
523 * server.el (server-save-buffers-kill-terminal):
524 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
525 Prefer nil to selected-frame for the first arg of frame-parameter.
526
aeca3fbb
XF
5272013-07-31 Xue Fuqiao <xfq.free@gmail.com>
528
529 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
530
158bc55c
SB
5312013-07-30 Stephen Berman <stephen.berman@gmx.net>
532
533 * minibuffer.el (completion--twq-all): Try and preserve each
534 completion's case choice (bug#14907).
535
d50fceab
LMI
5362013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
537
ac38e731
LMI
538 * net/network-stream.el (open-network-stream): Mention the new
539 :nogreeting parameter.
540 (network-stream-open-starttls): Use the :nogreeting parameter
541 (bug#14938).
542
1211de50
LMI
543 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
544
997798bf
LMI
545 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
546 more natural than popping.
547
d50fceab 548 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 549 (shr-urlify): Highlight under mouse.
d50fceab 550
5c09de04
XF
5512013-07-30 Xue Fuqiao <xfq.free@gmail.com>
552
207d1d04
XF
553 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
554
555 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
556
5c09de04
XF
557 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
558 buffer for output.
559
3cd51eaa
XF
560 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
561 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 562
44e18199 563 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 564 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
565
566 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
567
568 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
569 buffer for output.
570
35a89bdd
EZ
5712013-07-29 Eli Zaretskii <eliz@gnu.org>
572
573 * frame.el (frame-notice-user-settings): Avoid inflooping when the
574 initial frame is minibuffer-less. (Bug#14841)
575
78822e94
MA
5762013-07-29 Michael Albinus <michael.albinus@gmx.de>
577
578 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
579 option.
580
581 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
582 (tramp-maybe-open-connection): Use it.
583
9503c190
JB
5842013-07-28 Juanma Barranquero <lekktu@gmail.com>
585
586 * desktop.el (desktop--make-frame): Include `minibuffer' in the
587 minimal set of parameters passed when creating a frame, because
588 the minibuffer status of a frame cannot be changed later.
589
d5a845b4
SB
5902013-07-28 Stephen Berman <stephen.berman@gmx.net>
591
592 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
593 replace-regexp-in-string and inadvertent omissions in previous change.
594 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 595 name of filtered items buffer.
d5a845b4 596
ddeffb17
JB
5972013-07-28 Juanma Barranquero <lekktu@gmail.com>
598
599 * desktop.el: Optionally force offscreen frames back onscreen.
600 (desktop-restoring-reuses-frames): New option.
601 (desktop--compute-pos, desktop--move-onscreen): New functions.
602 (desktop--make-frame): Use desktop--move-onscreen.
603
f5950f7a
AM
6042013-07-27 Alan Mackenzie <acm@muc.de>
605
606 Fontify a Java generic method as a function.
607 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
608 value to t.
609
ae43b66a
SB
6102013-07-27 Stephen Berman <stephen.berman@gmx.net>
611
612 * calendar/todo-mode.el: Add command to rename todo files.
613 (todo-rename-file): New command.
614 (todo-key-bindings-t): Add key binding for it. Change the
615 bindings of todo-filter-regexp-items(-multifile) to use `x'
616 instead of `r', since the latter is better suited to the new
617 renaming command.
618
5ab78d3d
AM
6192013-07-27 Alan Mackenzie <acm@muc.de>
620
621 Make Java try-with-resources statement parse properly.
622 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
623 (c-block-stmt-1-2-key): New language constants/variables.
624 * progmodes/cc-engine.el (c-beginning-of-statement-1)
625 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
626 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 627 with c-block-stmt-1-2-key.
5ab78d3d 628
d85c4d50
JB
6292013-07-27 Juanma Barranquero <lekktu@gmail.com>
630
631 * desktop.el (desktop--make-frame): Apply most frame parameters after
632 creating the frame to force (partially or totally) offscreen frames to
633 be restored as such.
634
e4c467f9
XF
6352013-07-26 Xue Fuqiao <xfq.free@gmail.com>
636
637 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 638 (Bug#14948)
e4c467f9 639
7ced0d04
SM
6402013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
643 `base' arg of backtrace-frame.
644
fec92060
EZ
6452013-07-26 Eli Zaretskii <eliz@gnu.org>
646
647 * simple.el (list-processes): Doc fix.
648
d58d31fb
JB
6492013-07-26 Juanma Barranquero <lekktu@gmail.com>
650
651 * desktop.el (desktop--select-frame):
d85c4d50 652 Try harder to reuse existing frames.
d58d31fb 653
53ff3e77
SM
6542013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
657 (edebug-eval): Use backtrace-eval.
658 (edebug--display, edebug--recursive-edit): Don't let-bind the
659 edebug-outer-* vars that keep track of variables we locally let-bind.
660 (edebug-outside-excursion): Don't restore outside values of locally
661 let-bound vars.
662 (edebug--display): Use user-error.
663 (cl-lexical-debug, cl-debug-env): Remove.
664
045f7a53
JB
6652013-07-26 Juanma Barranquero <lekktu@gmail.com>
666
667 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
668 are restored to be sure that they are visible before deleting any
669 remaining ones.
670
59070b32
MM
6712013-07-26 Matthias Meulien <orontee@gmail.com>
672
742a3501
XF
673 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
674 vc-print-root-log. (Bug#14948)
59070b32 675
b1fb3596
RS
6762013-07-26 Richard Stallman <rms@gnu.org>
677
678 Add aliases for encrypting mail.
679 * epa.el (epa-mail-aliases): New option.
680 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
681 Bind inhibit-read-only so read-only text doesn't ruin everything.
682 (epa-mail-default-recipients): New subroutine broken out.
683 Handle epa-mail-aliases.
684
56ea7291
SM
6852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 Add support for lexical variables to the debugger's `e' command.
688 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
689 vars, except for debugger-outer-match-data.
690 (debugger-frame-number): Move check for "on a function call" from
691 callers into it. Add `skip-base' argument.
692 (debugger-frame, debugger-frame-clear): Simplify accordingly.
693 (debugger-env-macro): Only reset the state stored in non-variables,
694 i.e. current-buffer and match-data.
695 (debugger-eval-expression): Rewrite using backtrace-eval.
696 * subr.el (internal--called-interactively-p--get-frame): Remove.
697 (called-interactively-p):
698 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
699 `base' arg of backtrace-frame instead.
700
15ac32d5
GM
7012013-07-26 Glenn Morris <rgm@gnu.org>
702
8358a09d
GM
703 * align.el (align-regexp): Doc fix. (Bug#14857)
704 (align-region): Explicit error if subexpression missing/does not match.
705
15ac32d5
GM
706 * simple.el (global-visual-line-mode):
707 Do not duplicate the mode lighter. (Bug#14858)
708
f47ad11b
MR
7092013-07-25 Martin Rudalics <rudalics@gmx.at>
710
711 * window.el (display-buffer): In display-buffer bind
712 split-window-keep-point to t, bug#14829.
713
02530987
JB
7142013-07-25 Juanma Barranquero <lekktu@gmail.com>
715
716 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
717 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
718 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
719 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
720 Change accordingly.
f63ebeb5
JB
721 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
722 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 723
6ccb9cab 7242013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 725
6ccb9cab 726 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 727
cb3a56d2
JB
7282013-07-25 Juanma Barranquero <lekktu@gmail.com>
729
730 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
731 parameter to modify-frame-parameters if the value has not changed;
732 this is a workaround for bug#14949.
733 (desktop--make-frame): On cl-delete-if call, check parameter name,
734 not full parameter.
735
7aa7fff0
XF
7362013-07-30 Xue Fuqiao <xfq.free@gmail.com>
737
738 * vc/vc.el (vc-ignore): New function.
739
740 * vc/vc-svn.el (vc-svn-ignore): New function.
741
742 * vc/vc-hg.el (vc-hg-ignore): New function.
743
744 * vc/vc-git.el (vc-git-ignore): New function.
745
746 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
747 (vc-dir-ignore): New function.
748
749 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 750 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
751
752 * vc/vc-bzr.el (vc-bzr-ignore): New function.
753
754 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
755
889acc5c
JB
7562013-07-24 Juanma Barranquero <lekktu@gmail.com>
757
758 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
759 (desktop-restore-frames): Warn when deleting an existing frame failed.
760
86c40970
GM
7612013-07-24 Glenn Morris <rgm@gnu.org>
762
763 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
764
d5d3c58a
MA
7652013-07-24 Michael Albinus <michael.albinus@gmx.de>
766
767 * filenotify.el (file-notify-supported-p):
768 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
769 Remove functions.
770
771 * autorevert.el (auto-revert-use-notify):
772 (auto-revert-notify-add-watch):
773 * net/tramp.el (tramp-file-name-for-operation):
774 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
776 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
777 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
778 Remove `file-notify-supported-p' entry.
779
d100084b
GM
7802013-07-24 Glenn Morris <rgm@gnu.org>
781
782 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 783 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 784
ac93e56b
SM
7852013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
786
249eea30
SM
787 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
788 checked with memq (bug#14935).
789
ac93e56b
SM
790 * files.el (revert-buffer-function): Use a non-nil default.
791 (revert-buffer-preserve-modes): Declare var to
792 provide access to the `preserve-modes' argument.
793 (revert-buffer): Let-bind it.
794 (revert-buffer--default): New function, extracted from revert-buffer.
795
2cdeb903
SM
7962013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * lpr.el: Signal print errors more prominently.
799 (print-region-function): Don't default to nil.
800 (lpr-print-region): New function, extracted from print-region-1.
801 Check lpr's return value and signal an error in case of problem.
802 (print-region-1): Use it.
803 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
804 versions instead.
805 (ps-printer-name): Default to nil.
806 (ps-printer-name-option): Default to lpr-printer-switch.
807 (ps-print-region-function): Don't default to nil.
808 (ps-postscript-code-directory): Simplify default.
809 (ps-do-despool): Use lpr-print-region to properly check the outcome.
810 (ps-string-list, ps-eval-switch, ps-flatten-list)
811 (ps-flatten-list-1): Remove.
812 (ps-multibyte-buffer): Avoid setq.
813 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
814 (print-region-function, ps-print-region-function): Don't set them here.
815
73600831
XF
8162013-07-24 Xue Fuqiao <xfq.free@gmail.com>
817
0e55c076
XF
818 * ido.el (ido-fractionp):
819 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
820 (ido-max-file-prompt-width, ido-unc-hosts-cache)
821 (ido-max-directory-size, ido-max-dir-file-cache)
822 (ido-decorations): Doc fix.
823
73600831
XF
824 * ansi-color.el: Fix old URL.
825
3d012865
MM
8262013-07-23 Michael R. Mauger <michael@mauger.com>
827
828 * progmodes/sql.el Version 3.3
829 (sql-product-alist): Improve oracle :prompt-cont-regexp.
830 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
831 (sql-interactive-remove-continuation-prompt): Rewrite, use
832 functions above. Fix continuation prompt and complete output line
833 handling.
834 (sql-redirect-one, sql-execute): Use `read-only-mode' on
835 redirected output buffer.
836 (sql-mode): Restore deleted code (Bug#13591).
837
da77a2e2
JB
8382013-07-23 Juanma Barranquero <lekktu@gmail.com>
839
840 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
841
80ff0c71
MA
8422013-07-23 Michael Albinus <michael.albinus@gmx.de>
843
844 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
845
846 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
847 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
848 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
849
b61d71e4
JB
8502013-07-23 Juanma Barranquero <lekktu@gmail.com>
851
852 * desktop.el (desktop-clear): Simplify; remove useless checks
853 against invalid buffer names.
854 (desktop-list*): Use cl-list*.
855 (desktop-buffer-info, desktop-create-buffer): Simplify.
856
c3512092
LL
8572013-07-23 Leo Liu <sdl.web@gmail.com>
858
859 * bookmark.el (bookmark-make-record): Restore NAME as a default
860 value. (Bug#14933)
861
0ac26976
SM
8622013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
863
7d22ce18
SM
864 * emacs-lisp/autoload.el (autoload--setup-output): New function,
865 extracted from autoload--insert-text.
866 (autoload--insert-text): Remove.
867 (autoload--print-cookie-text): New function, extracted from
868 autoload--insert-cookie-text.
869 (autoload--insert-cookie-text): Remove.
870 (autoload-generate-file-autoloads): Adjust calls accordingly.
871
9b2607e8
SM
872 * winner.el (winner-hook-installed-p): Remove.
873 (winner-mode): Simplify accordingly.
874
c43a8618
SM
875 * subr.el (add-to-list): Fix compiler-macro when `append' is
876 not constant. Don't use `cl-member' for the base case.
877
0ac26976
SM
878 * progmodes/subword.el: Fix boundary case (bug#13758).
879 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
880 own group.
881 (subword-backward-regexp): Make it a constant.
882 (subword-forward-internal): Don't treat a trailing capital as the
883 beginning of a word.
884
6874724a
AR
8852013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
886
887 * emacs-lisp/package.el (package-menu-mode): Don't modify the
888 global value of tabulated-list-revert-hook (bug#14930).
889
70f1b5e8
JB
8902013-07-22 Juanma Barranquero <lekktu@gmail.com>
891
a1c80d9d
JB
892 * desktop.el: Require 'cl-lib.
893 (desktop-before-saving-frames-functions): New hook.
894 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
895 for frames being saved. Rename from desktop--save-minibuffer-frames.
896 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
897 Do not save frames with non-nil `desktop-dont-save' parameter.
898 Filter out deleted frames.
a1c80d9d
JB
899 (desktop--find-frame): Use cl-find-if.
900 (desktop--select-frame): Use cl-(first|second|third) to access values
901 of desktop-mini.
902 (desktop--make-frame): Use cl-delete-if.
903 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
904 (desktop-restore-frames): Use cl-(first|second|third) to access values
905 of desktop-mini. Look for visible frame at the end, not while
906 restoring frames.
907
70f1b5e8
JB
908 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
909 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
910 Use string-match-p, looking-at-p (bug#14927).
911
728dc3cc
JB
9122013-07-21 Juanma Barranquero <lekktu@gmail.com>
913
56bc453c
JB
914 * desktop.el (desktop-saved-frame-states):
915 Rename from desktop--saved-states; all users changed.
916 (desktop-save-frames): Rename from desktop--save-frames.
917 Do not save state to desktop file.
918 (desktop-save): Save desktop-saved-frame-states to desktop file
919 and reset to nil.
920 (desktop-restoring-frames-p): New function.
921 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
922 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
923 buffer-lists when restoring frames. Suggested by Martin Rudalics.
924
728dc3cc
JB
925 * desktop.el: Correctly restore iconified frames.
926 (desktop--filter-iconified-position): New function.
927 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
928
862f1c9c
GM
9292013-07-20 Glenn Morris <rgm@gnu.org>
930
c4074c9f
GM
931 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
932 Let `message' do the formatting.
933 (def-gdb-preempt-display-buffer): Add explicit format.
934
d828e5f9
GM
935 * image-dired.el (image-dired-track-original-file):
936 Use with-current-buffer.
937 (image-dired-track-thumbnail): Use with-current-buffer.
938 Avoid changing point of wrong window.
939
862f1c9c
GM
940 * image-dired.el (image-dired-track-original-file):
941 Avoid changing point of wrong window. (Bug#14909)
942
f0398ec1 9432013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
944
945 * progmodes/gdb-mi.el (gdb-done-or-error):
946 Guard against "%" in gdb output. (Bug#14127)
947
1451928f
AS
9482013-07-20 Andreas Schwab <schwab@linux-m68k.org>
949
763a086d
JB
950 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
951 (Bug#14826)
f7a03897 952
1451928f
AS
953 * international/mule.el (coding-system-iso-2022-flags): Fix last
954 change.
955
99107004
KH
9562013-07-20 Kenichi Handa <handa@gnu.org>
957
763a086d
JB
958 * international/mule.el (coding-system-iso-2022-flags):
959 Add `8-bit-level-4'. (Bug#8522)
99107004 960
48494e06
LMI
9612013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
962
8ba8eec5
LMI
963 * net/shr.el (shr-mouse-browse-url): New command and keystroke
964 (bug#14815).
965
dfbc66e3
LMI
966 * net/eww.el (eww-process-text-input): Allow inputting when the
967 point is at the start of the line, as the properties aren't
968 front-sticky.
969
48494e06
LMI
970 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
971 degenerate widths.
972
77c92cb9
RS
9732013-07-19 Richard Stallman <rms@gnu.org>
974
aec7da77
RS
975 * epa.el (epa-popup-info-window): Doc fix.
976
77c92cb9
RS
977 * subr.el (split-string): New arg TRIM.
978
945c5bb1
JB
9792013-07-18 Juanma Barranquero <lekktu@gmail.com>
980
981 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
982 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
983
e06ec67f
MA
9842013-07-18 Michael Albinus <michael.albinus@gmx.de>
985
c7064f05 986 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
987 `file-notify-support'. Do not autoload. Adapt all uses.
988 (file-notify-supported-p): New defun.
989
c7064f05
JB
990 * autorevert.el (auto-revert-use-notify):
991 Use `file-notify-supported-p' instead of `file-notify-support'.
992 Adapt docstring.
e06ec67f
MA
993 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
994
995 * net/tramp.el (tramp-file-name-for-operation):
996 Add `file-notify-supported-p'.
997
998 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
999 New defun.
1000 (tramp-sh-file-name-handler-alist): Add it as handler for
1001 `file-notify-supported-p '.
1002
1003 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1004 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1005 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1006 Add `ignore' as handler for `file-notify-*' functions.
1007
5dc8a629
EZ
10082013-07-17 Eli Zaretskii <eliz@gnu.org>
1009
1010 * simple.el (line-move-partial, line-move): Don't start vscroll or
1011 scroll-up if the current line is not taller than the window.
1012 (Bug#14881)
1013
77aea2fb
DG
10142013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1015
1016 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1017 highlight question marks in the method names as strings.
ac72c08d
DG
1018 (ruby-block-beg-keywords): Inline.
1019 (ruby-font-lock-keyword-beg-re): Extract from
1020 `ruby-font-lock-keywords'.
77aea2fb 1021
18c26d81
JD
10222013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1023
1024 * frame.el (blink-cursor-blinks): New defcustom.
1025 (blink-cursor-blinks-done): New defvar.
1026 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1027 (blink-cursor-timer-function): Check if number of blinks has been
1028 done on X and NS.
1029 (blink-cursor-suspend, blink-cursor-check): New defuns.
1030
da48522e
GM
10312013-07-15 Glenn Morris <rgm@gnu.org>
1032
1033 * edmacro.el (edmacro-format-keys): Fix previous change.
1034
0463c1ef
PE
10352013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1036
1037 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1038 The hack didn't work outside English locales anyway.
1039
b43f6451
JB
10402013-07-15 Juanma Barranquero <lekktu@gmail.com>
1041
1042 * simple.el (define-alternatives): Rename from alternatives-define,
1043 per RMS' suggestion.
1044
b958c0ad
JB
10452013-07-14 Juanma Barranquero <lekktu@gmail.com>
1046
1047 * desktop.el (desktop-restore-frames): Change default to t.
1048 (desktop-restore-in-current-display): Now offer more options.
1049 (desktop-restoring-reuses-frames): New customization option.
1050 (desktop--saved-states): Doc fix.
1051 (desktop-filter-parameters-alist): New variable, renamed and expanded
1052 from desktop--excluded-frame-parameters.
1053 (desktop--target-display): New variable.
1054 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1055 (desktop--filter-tty*, desktop--filter-*-color)
1056 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1057 (desktop--filter-save-desktop-parm)
1058 (desktop-restore-in-original-display-p): New functions.
1059 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1060 (desktop--save-minibuffer-frames): New function, inspired by a similar
1061 function from Martin Rudalics.
1062 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1063 (desktop--restore-in-this-display-p): Remove.
1064 (desktop--find-frame): Rename from desktop--find-frame-in-display
1065 and add predicate argument.
1066 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1067 (desktop--reuse-list): New variable.
1068 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1069 New functions.
1070 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1071
f6dd8b36
MA
10722013-07-14 Michael Albinus <michael.albinus@gmx.de>
1073
1074 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1075
2ce3c565
DG
10762013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1077
763a086d
JB
1078 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1079 Highlight conversion methods on Kernel.
2ce3c565 1080
2cdb7698
AM
10812013-07-13 Alan Mackenzie <acm@muc.de>
1082
1083 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1084 and comment it out. This out-commenting enables certain C++
1085 declarations to be parsed correctly.
1086
1a67b811
EZ
10872013-07-13 Eli Zaretskii <eliz@gnu.org>
1088
1b796d6b
EZ
1089 * international/mule.el (define-coding-system): Doc fix.
1090
1a67b811
EZ
1091 * simple.el (default-font-height): Don't call font-info if the
1092 frame's default font didn't change since the frame was created.
1093 (Bug#14838)
1094
58fbe886
LL
10952013-07-13 Leo Liu <sdl.web@gmail.com>
1096
1097 * ido.el (ido-read-file-name): Guard against non-symbol value.
1098
1f0480d4
FEG
10992013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1100
1101 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1102 in nested defuns.
1103
97ead0e5
LL
11042013-07-13 Leo Liu <sdl.web@gmail.com>
1105
1106 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1107 ido-set-matches call. (Bug#6852)
1108
0880a952
DG
11092013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1110
1111 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1112 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1113 Ruby 2.0.
1114 (ruby-font-lock-keywords): Distinguish calls to functions with
1115 module-like names from module references. Highlight character
1116 literals.
1117
a7d8babb
SDJ
11182013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1119
1120 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 1121 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 1122
acfcc8c5
JB
11232013-07-12 Juanma Barranquero <lekktu@gmail.com>
1124
1125 * desktop.el (desktop--v2s): Remove unused local variable.
1126 (desktop-save-buffer): Make defvar-local; adjust docstring.
1127 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1128 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1129
051f2775
AS
11302013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1131
1132 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1133
f24e7572
GM
11342013-07-12 Eli Zaretskii <eliz@gnu.org>
1135
1136 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1137 (Bug#14842)
1138
539a920c
GM
11392013-07-12 Glenn Morris <rgm@gnu.org>
1140
1141 * doc-view.el: Require cl-lib at runtime too.
1142 (doc-view-remove-if): Remove.
1143 (doc-view-search-next-match, doc-view-search-previous-match):
1144 Use cl-remove-if.
1145
1146 * edmacro.el: Require cl-lib at runtime too.
1147 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1148 (edmacro-mismatch, edmacro-subseq): Remove.
1149
1150 * shadowfile.el: Require cl-lib.
1151 (shadow-remove-if): Remove.
1152 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1153 Use cl-remove-if.
1154
1155 * wid-edit.el: Require cl-lib.
1156 (widget-choose): Use cl-remove-if.
1157 (widget-remove-if): Remove.
1158
1159 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1160 (ebrowse-delete-if-not): Remove.
1161 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1162 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1163 Use cl-delete-if-not.
1164
1048af7c
JB
11652013-07-12 Juanma Barranquero <lekktu@gmail.com>
1166
1167 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1168 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1169
6c0674ee
LL
11702013-07-12 Leo Liu <sdl.web@gmail.com>
1171
1172 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1173
a19b3c2d
GM
11742013-07-11 Glenn Morris <rgm@gnu.org>
1175
4582a01c
GM
1176 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1177 (edebug-gensym-index, edebug-gensym):
1178 Remove reimplementation of cl-gensym.
1179 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1180
1181 * thumbs.el: Require cl-lib at run-time too.
1182 (thumbs-gensym-counter, thumbs-gensym):
1183 Remove reimplementation of cl-gensym.
1184 (thumbs-temp-file): Use cl-gensym.
1185
a19b3c2d
GM
1186 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1187 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1188 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1189 (ert--union, ert--gensym-counter, ert--gensym-counter)
1190 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1191 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1192 (ert-make-test-unbound, ert--expand-should-1)
1193 (ert--expand-should, ert--should-error-handle-error)
1194 (should-error, ert--explain-equal-rec)
1195 (ert--plist-difference-explanation, ert-select-tests)
1196 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1197 Use cl-lib functions rather than reimplementations.
1198
88f6a933
MA
11992013-07-11 Michael Albinus <michael.albinus@gmx.de>
1200
1201 * net/tramp.el (tramp-methods): Extend docstring.
1202 (tramp-connection-timeout): New defcustom.
1203 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1204 (with-tramp-progress-reporter): Simplify.
1205 (tramp-process-actions): Improve messages.
1206
1207 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1208 * net/tramp-sh.el (tramp-maybe-open-connection):
1209 Use `tramp-connection-timeout'.
1210 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1211 (Bug#14808)
1212
a43d577e
LL
12132013-07-11 Leo Liu <sdl.web@gmail.com>
1214
1215 * ido.el (ido-read-file-name): Conform to the requirements of
1216 read-file-name. (Bug#11861)
1217 (ido-read-directory-name): Conform to the requirements of
1218 read-directory-name.
1219
d77974bf
JB
12202013-07-11 Juanma Barranquero <lekktu@gmail.com>
1221
1222 * subr.el (delay-warning): New function.
1223
35cb8a3e
EZ
12242013-07-10 Eli Zaretskii <eliz@gnu.org>
1225
1226 * simple.el (default-line-height): New function.
1227 (line-move-partial, line-move): Use it instead of computing the
1228 line height inline.
1229 (line-move-partial): Always compute ROWH. If the last line is
1230 partially-visible, but its text is completely visible, allow
1231 cursor to enter such a partially-visible line.
1232
525c5c77
MA
12332013-07-10 Michael Albinus <michael.albinus@gmx.de>
1234
1235 Improve error messages. (Bug#14808)
1236
1237 * net/tramp.el (tramp-current-connection): New defvar, moved from
1238 tramp-sh.el.
0ac26976 1239 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 1240 needed anymore.
0ac26976
SM
1241 (tramp-error-with-buffer): Show message in minibuffer.
1242 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
1243 (with-tramp-progress-reporter): Improve messages.
1244 (tramp-process-actions): Use progress reporter. Delete process in
1245 case of error. Improve messages.
1246
763a086d
JB
1247 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1248 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 1249 (tramp-current-connection): Remove.
525c5c77
MA
1250 (tramp-maybe-open-connection): The car of
1251 `tramp-current-connection' are the first 3 slots of the vector.
1252
c7a4d368
TZ
12532013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1254
1255 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1256 inside continued strings.
1257
954b166e
PE
12582013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1259
1260 Timestamp fixes for undo (Bug#14824).
1261 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1262
56973319
LL
12632013-07-10 Leo Liu <sdl.web@gmail.com>
1264
1265 * files.el (require-final-newline): Allow safe local value.
1266 (Bug#14834)
1267
5550a72c
LL
12682013-07-09 Leo Liu <sdl.web@gmail.com>
1269
1270 * ido.el (ido-read-directory-name): Handle fallback.
1271 (ido-read-file-name): Update DIR to ido-current-directory.
1272 (Bug#1516)
c28b9050 1273 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 1274
70c46b28
DG
12752013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1276
1277 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1278 "autoload". Remove "warn lower camel case" section, previously
1279 commented out. Highlight negation char. Do not highlight the
1280 target in singleton method definitions.
1281
0b64b838
SM
12822013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1283
7fd72e2c
SM
1284 * faces.el (tty-setup-hook): Declare the hook.
1285
0b64b838
SM
1286 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1287 and detect when a guard/pred depends on local vars (bug#14773).
1288 (pcase--u1): Adjust caller.
1289
ab49d60b
EZ
12902013-07-08 Eli Zaretskii <eliz@gnu.org>
1291
1292 * simple.el (line-move-partial, line-move): Account for
1293 line-spacing.
701d79aa
EZ
1294 (line-move-partial): Avoid setting vscroll when the last
1295 partially-visible line in window is of default height.
ab49d60b 1296
2d756ae0
LMI
12972013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1298
1299 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1300 been used a while.
1301
ed095bd7
JB
13022013-07-07 Juanma Barranquero <lekktu@gmail.com>
1303
1304 * subr.el (read-quoted-char): Remove unused local variable `char'.
1305
f1e6674b
MK
13062013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1307
584ee3fc
GM
1308 * ediff.el (ediff-version): Version update.
1309 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1310 (ediff-merge-with-ancestor-command, ediff-directories-command)
1311 (ediff-directories3-command, ediff-merge-directories-command)
1312 (ediff-merge-directories-with-ancestor-command): New functions.
1313 All are command-line interfaces to ediff: to facilitate calling
1314 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
1315
1316 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1317 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 1318
584ee3fc
GM
1319 * viper.el (viper-version): Version update.
1320 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 1321
584ee3fc
GM
13222013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1325 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1326 (viper-intercept-ESC-key): Simplify.
1327 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1328 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1329 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1330 (viper-setup-ESC-to-escape): New functions.
1331 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1332 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 1333
9aff9b38
EZ
13342013-07-07 Eli Zaretskii <eliz@gnu.org>
1335
5165d44a
JB
1336 * simple.el (default-font-height, window-screen-lines):
1337 New functions.
9aff9b38
EZ
1338 (line-move, line-move-partial): Use them instead of
1339 frame-char-height and window-text-height. This makes scrolling
1340 text smoother when the buffer's default face uses a font that is
1341 different from the frame's default font.
1342
1afb1d07
JD
13432013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1344
1345 * files.el (write-file): Do not display confirm dialog for NS,
1346 it does its own dialog, which can't be cancelled (Bug#14578).
1347
23de972a
EZ
13482013-07-06 Eli Zaretskii <eliz@gnu.org>
1349
1350 * simple.el (line-move-partial): Adjust the row returned by
1351 posn-at-point for the current window-vscroll. (Bug#14567)
1352
54a42486
MA
13532013-07-06 Michael Albinus <michael.albinus@gmx.de>
1354
1355 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1356 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1357 spaces.
1358
34ada5f4
MR
13592013-07-06 Martin Rudalics <rudalics@gmx.at>
1360
1361 * window.el (window-state-put-stale-windows): New variable.
1362 (window--state-put-2): Save list of windows without matching buffer.
1363 (window-state-put): Remove "bufferless" windows if possible.
1364
11e03d89
JB
13652013-07-06 Juanma Barranquero <lekktu@gmail.com>
1366
1367 * simple.el (alternatives-define): Remove leftover :group keyword.
1368 Tweak docstring.
1369
3504a4be
LL
13702013-07-06 Leo Liu <sdl.web@gmail.com>
1371
1372 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1373 (ido-enable-virtual-buffers): New variable.
1374 (ido-buffer-internal, ido-toggle-virtual-buffers)
1375 (ido-make-buffer-list): Use it.
1376 (ido-exhibit): Support turning on and off virtual buffers
1377 automatically.
1378
61e56e2c
JB
13792013-07-06 Juanma Barranquero <lekktu@gmail.com>
1380
1381 * simple.el (alternatives-define): New macro.
1382
321e1a9c
SM
13832013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * subr.el (read-quoted-char): Use read-key.
1386 (sit-for): Let read-event decode tty input (bug#14782).
1387
d610f6dd
SB
13882013-07-05 Stephen Berman <stephen.berman@gmx.net>
1389
1390 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
1391 mode command and externally. Fix various related bugs.
1392 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
1393 (todo-delete-file): New command.
1394 (todo-check-file): New function.
1395 (todo-show): Handle external deletion of the file we're trying to
1396 show (bug#14688). Replace called-interactively-p by an optional
1397 prefix argument to avoid problematic interaction with catch form
1398 when byte compiled (bug#14702).
1399 (todo-quit): Handle external deletion of the archive's todo file.
1400 Make sure the buffer that was visiting the archive file is still
1401 live before trying to bury it.
1402 (todo-category-completions): Handle external deletion of any
1403 category completion files.
1404 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1405 of todo files, in case of external deletion.
1406 (todo-add-file): Replace unnecessary setq by let-binding.
1407 (todo-find-archive): Check whether there are any archives.
1408 Replace unnecessary setq by let-binding.
1409 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
1410 archive buffer whether or not the archive already exists.
1411 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
1412 check if the archive is new; if it is, update list of archives.
1413 (todo-default-todo-file): Allow nil to be a valid value for when
1414 there are no todo files.
1415 (todo-reevaluate-default-file-defcustom): Use corrected definition
1416 of todo-default-todo-file.
1417 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1418 (todo-delete-category, todo-show-categories-table)
1419 (todo-category-number): Clarify comment.
1420 (todo-filter-items): Clarify documentation string.
1421 (todo-show-current-file, todo-display-as-todo-file)
1422 (todo-reset-and-enable-done-separator): Tweak documentation string.
1423 (todo-done-separator): Make separator length window-width, since
1424 bug#2749 is now fixed.
1425
ddbdfd6f
MA
14262013-07-05 Michael Albinus <michael.albinus@gmx.de>
1427
321e1a9c
SM
1428 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1429 Support both "gvfs-monitor-dir" and "inotifywait".
1430 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
1431 `tramp-sh-file-notify-process-filter'.
1432 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1433 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1434
96eb829a
LL
14352013-07-05 Leo Liu <sdl.web@gmail.com>
1436
1437 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1438
cf13177e
YM
14392013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1440
1441 * frame.el (display-pixel-height, display-pixel-width)
1442 (display-mm-height, display-mm-width): Mention behavior on
1443 multi-monitor setups in docstrings.
1444 (w32-display-monitor-attributes-list): Declare function.
1445 (display-monitor-attributes-list): Use it.
1446
864c58ca
MA
14472013-07-04 Michael Albinus <michael.albinus@gmx.de>
1448
1449 * filenotify.el: New package.
1450
1451 * autorevert.el (top): Require filenotify.el.
1452 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1453 instead.
1454 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1455 (auto-revert-notify-handler): Use `file-notify-*' functions.
1456
1457 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1458
321e1a9c
SM
1459 * net/tramp.el (tramp-file-name-for-operation):
1460 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
1461
1462 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1463 for `file-notify-add-watch' and `file-notify-rm-watch'.
1464 (tramp-process-sentinel): Improve trace.
1465 (tramp-sh-handle-file-notify-add-watch)
1466 (tramp-sh-file-notify-process-filter)
1467 (tramp-sh-handle-file-notify-rm-watch)
1468 (tramp-get-remote-inotifywait): New defuns.
1469
96673afe
JL
14702013-07-03 Juri Linkov <juri@jurta.org>
1471
1472 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1473 call of `occur-read-primary-args' to interactive spec.
1474
1475 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1476 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1477
924494f4
MM
14782013-07-03 Matthias Meulien <orontee@gmail.com>
1479
1480 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1481 `Buffer-menu-multi-occur'. Add it to the menu.
1482 (Buffer-menu-mode): Document it in docstring.
1483 (Buffer-menu-multi-occur): New command. (Bug#14673)
1484
56f75efc
DG
14852013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1488 keywords and built-ins.
1489
9b057d61
GM
14902013-07-03 Glenn Morris <rgm@gnu.org>
1491
208dee4d
GM
1492 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1493
9b057d61
GM
1494 Make info-xref checks case-sensitive by default
1495 * info.el (Info-find-node, Info-find-in-tag-table)
1496 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1497 Add option for exact case matching of nodes.
1498 * info-xref.el (info-xref): New custom group.
1499 (info-xref-case-fold): New option.
1500 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1501
e01aa29c
LL
15022013-07-03 Leo Liu <sdl.web@gmail.com>
1503
1504 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1505
3086ca2e
DG
15062013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1507
1508 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1509 middle of block statement initially, lower the depth. Remove
1510 FIXME comment, not longer valid. Remove middle of block statement
1511 detection, no need to do that anymore since we've been using
1512 `ruby-parse-region' here.
1513
a3b49114
JD
15142013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1515
1516 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1517
08e5c823 15182013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
1519
1520 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1521
2addf922
JB
15222013-07-01 Juanma Barranquero <lekktu@gmail.com>
1523
1524 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1525 (desktop-restore-in-current-display): New customization option.
1526 (desktop--excluded-frame-parameters): Add `font'.
1527 (desktop--save-frames): Rename from desktop--save-windows.
1528 (desktop--restore-in-this-display-p): New function.
1529 (desktop--make-full-frame): Remove unwanted width/height from
1530 full(width|height) frames.
1531 (desktop--restore-frames): Rename from desktop--restore-windows.
1532 Obey desktop-restore-current-display. Do not delete old frames or
1533 select a new frame unless we were able to restore at least one frame.
1534
ef099a94
MN
15352013-06-30 Michal Nazarewicz <mina86@mina86.com>
1536
1537 * files.el (find-file-noselect): Simplify conditional expression.
1538
1539 * remember.el (remember-append-to-file):
1540 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1541
1542 Add `remember-notes' function to store random notes across Emacs
1543 restarts.
1544 * remember.el (remember-data-file): Add :set callback to affect
1545 notes buffer (if any).
1546 (remember-notes): New command.
1547 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1548 New defcustoms for the `remember-notes' function.
1549 (remember-notes-save-and-bury-buffer): New command.
1550 (remember-notes-mode-map): New variable.
1551 (remember-mode): New minor mode.
1552 (remember-notes--kill-buffer-query): New function.
1553 * startup.el (initial-buffer-choice): Add notes to custom type.
1554
0865d506
EZ
15552013-06-30 Eli Zaretskii <eliz@gnu.org>
1556
0ba54312
EZ
1557 * bindings.el (right-char, left-char): Don't call sit-for, this is
1558 no longer needed. Use arithmetic comparison only for numerical
1559 arguments.
1560
ef099a94
MN
1561 * international/mule-cmds.el (select-safe-coding-system):
1562 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 1563
2fae38e5
LMI
15642013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1565
1566 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1567 progression on degenerate tables.
ef099a94 1568 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 1569
a47cbd64
JB
15702013-06-30 Juanma Barranquero <lekktu@gmail.com>
1571
1572 Some fixes and improvements for desktop frame restoration.
1573 It is still experimental and disabled by default.
1574 * desktop.el (desktop--save-windows): Put the selected frame at
1575 the head of the list.
1576 (desktop--make-full-frame): New function.
1577 (desktop--restore-windows): Try to re-select the frame that was
1578 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
1579 just show an error message and continue. Set up maximized frames
1580 so they have default non-maximized dimensions.
a47cbd64 1581
6dbafa30
DG
15822013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1583
ef099a94
MN
1584 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1585 Don't start heredoc inside a string or comment.
6dbafa30 1586
4c672a0f
EZ
15872013-06-29 Eli Zaretskii <eliz@gnu.org>
1588
1589 * bindings.el (visual-order-cursor-movement): New defcustom.
1590 (right-char, left-char): Provide visual-order cursor motion by
1591 calling move-point-visually. Update the doc strings.
1592
50960f36
KH
15932013-06-28 Kenichi Handa <handa@gnu.org>
1594
1595 * international/mule.el (define-coding-system): New coding system
1596 properties :inhibit-null-byte-detection,
1597 :inhibit-iso-escape-detection, and :prefer-utf-8.
1598 (set-buffer-file-coding-system): If :charset-list property of
1599 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1600 appropriate for setting.
1601
c1ea3abf
JB
1602 * international/mule-cmds.el (select-safe-coding-system):
1603 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1604 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
1605
1606 * international/mule-conf.el (prefer-utf-8): New coding system.
1607 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1608 files.
1609
75dbaf9d
IK
16102013-06-28 Ivan Kanis <ivan@kanis.fr>
1611
eadb6068
IK
1612 * net/shr.el (shr-render-region): New function.
1613
75dbaf9d
IK
1614 * net/eww.el: Autoload `eww-browse-url'.
1615
9ea5cf9f
DG
16162013-06-27 Dmitry Gutov <dgutov@yandex.ru>
1617
c1ea3abf
JB
1618 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1619 Adapt to `package-desc-version' being a list.
1620 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
1621 archive element.
1622
39c0e36f
JB
16232013-06-27 Juanma Barranquero <lekktu@gmail.com>
1624
1625 New experimental feature to save&restore window and frame setup.
1626 * desktop.el (desktop-save-windows): New defcustom.
1627 (desktop--saved-states): New var.
1628 (desktop--excluded-frame-parameters): New defconst.
1629 (desktop--filter-frame-parms, desktop--find-frame-in-display)
1630 (desktop--restore-windows, desktop--save-windows): New functions.
1631 (desktop-save): Call `desktop--save-windows'.
1632 (desktop-read): Call `desktop--restore-windows'.
1633
7f13406b
LMI
16342013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1635
ef099a94 1636 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 1637
1e072639
SB
16382013-06-27 Stephen Berman <stephen.berman@gmx.net>
1639
1640 * info.el (Info-try-follow-nearest-node): Move search for footnote
1641 above search for node name to prevent missing a footnote (bug#14717).
1642
f3e2cbde
SB
16432013-06-27 Stephen Berman <stephen.berman@gmx.net>
1644
1645 * obsolete/otodo-mode.el: Add obsolescence info to file header.
1646
99906aa0
LL
16472013-06-27 Leo Liu <sdl.web@gmail.com>
1648
1649 * net/eww.el (eww-read-bookmarks): Check file size.
1650
539f75f4
SM
16512013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1654 advice--pending if newdef is nil or an autoload (bug#13820).
1655 (advice-mapc): New function.
1656
843571cb
LMI
16572013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1658
1659 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1660 probably.
23a75d7f 1661 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
1662 (eww-add-bookmark): New command.
1663 (eww-bookmark-mode): New mode and commands.
a285ce99 1664 (eww-add-bookmark): Remove newlines from the title.
47fd571b 1665 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 1666
f2136e1e
GM
16672013-06-26 Glenn Morris <rgm@gnu.org>
1668
eab35f39
GM
1669 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1670 (hfy-size): Handle ttys. (Bug#14668)
1671
f2136e1e
GM
1672 * info-xref.el: Update for Texinfo 5 change in *note format.
1673 (info-xref-node-re, info-xref-note-re): New constants.
1674 (info-xref-check-buffer): Use info-xref-note-re.
1675
a49ff80c
SM
16762013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1677
a343d218
SM
1678 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1679
a49ff80c
SM
1680 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1681 nil terminate the loop (bug#14718).
1682
8308f184
LMI
16832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1684
1685 * net/eww.el: Rework history traversal. When going forward/back,
1686 put these actions into the history, too, so that they can be
1687 replayed.
26bf2b82 1688 (eww-render): Move the history reset to the correct buffer.
8308f184 1689
ec64c273
JL
16902013-06-25 Juri Linkov <juri@jurta.org>
1691
1692 * files-x.el (modify-dir-local-variable): Change the header comment
1693 in the file with directory local variables. (Bug#14692)
1694
e080a9d7
JL
1695 * files-x.el (read-file-local-variable-value): Add `default'.
1696 (Bug#14710)
1697
bfbc93a1
IK
16982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1699
1700 * net/eww.el (eww-make-unique-file-name): Create a unique file
1701 name before saving to entering `y' accidentally asynchronously.
1702
17032013-06-25 Ivan Kanis <ivan@kanis.fr>
1704
1705 * net/eww.el (eww-download): New command and keystroke.
1706
16f74f10
LMI
17072013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1708
a49ff80c 1709 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
1710
1711 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1712 be more consistent with Info and dired.
1713
1714 * net/eww.el (eww-mode-map): Ditto.
1715
12059709
SM
17162013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
1719 packages from archives.
1720 (package-archive-contents): Change format; include obsolete packages.
1721 (package-desc): Use `dir' to mark builtin packages.
1722 (package--from-builtin): Set the `dir' field to `builtin'.
1723 (generated-autoload-file, version-control): Declare.
1724 (package-compute-transaction): Change first arg and return value to be
1725 lists of package-descs. Adjust to new package-archive-contents format.
1726 (package--add-to-archive-contents): Adjust to new
1727 package-archive-contents format.
1728 (package-download-transaction): Arg is now a list of package-descs.
1729 (package-install): If `pkg' is a package name, pass it as
1730 a requirement, so it is subject to the usual (e.g. disabled) checks.
1731 (describe-package): Accept package-desc as well.
1732 (describe-package-1): Describe a specific package-desc. Add links to
1733 other package-descs for the same package name.
1734 (package-menu-describe-package): Pass the actual package-desc.
1735 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1736 works correctly.
1737 (package-desc-status): New function.
1738 (package-menu--refresh): New function, extracted
1739 from package-menu--generate.
1740 (package-menu--generate): Use it.
1741 (package-delete): Update package-alist.
1742 (package-menu-execute): Don't call package-initialize.
1743
1744 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1745 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1746 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1747 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1748 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1749 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1750
8bbdea0f
MR
17512013-06-25 Martin Rudalics <rudalics@gmx.at>
1752
1753 * window.el (window--state-get-1): Workaround for bug#14527.
1754 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1755
e82b0991
LMI
17562013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1757
1758 * net/eww.el (eww-back-url): Implement the history by stashing all
1759 the data into a list.
d3f0f918 1760 (eww-forward-url): Allow going forward in the history, too.
e82b0991 1761
c763842b
SM
17622013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1765 for values and use read--expression for expressions (bug#14710).
1766 (read-file-local-variable): Avoid setq.
1767 (read-file-local-variable-mode): Use minor-mode-list.
1768
bceff189
RW
17692013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1770
864c58ca 1771 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
1772 for DOI URLs.
1773
45f431c6
RW
17742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1775
864c58ca 1776 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
1777 Update imenu-support when dialect changes.
1778
f42d8237
LL
17792013-06-25 Leo Liu <sdl.web@gmail.com>
1780
1781 * ido.el (ido-read-internal): Allow forward slash on windows.
1782
be549ce6
LMI
17832013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1784
1785 * net/eww.el (eww): Start of strings is \\`, not ^.
1786
71d4c19d
IK
17872013-06-24 Ivan Kanis <ivan@kanis.fr>
1788
5196f88a
IK
1789 * net/shr.el (shr-browse-url): Fix interactive spec.
1790
71d4c19d
IK
1791 * net/eww.el (eww): Add a trailing slash to domain names.
1792
ae36ca55
JB
17932013-06-24 Juanma Barranquero <lekktu@gmail.com>
1794
1795 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1796
0ebd92a3
LMI
17972013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1798
bdaa086b
LMI
1799 * net/shr.el (shr-browse-url): Use an external browser if given a
1800 prefix.
1801
c763842b 1802 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 1803
b89fc156
IK
18042013-06-24 Ivan Kanis <ivan@kanis.fr>
1805
1806 * net/eww.el (eww): Work more correctly for file: URLs.
1807 (eww-detect-charset): Allow quoted charsets.
1808 (eww-yank-page-url): New command and keystroke.
1809
18eb4bca
DU
18102013-06-24 Daiki Ueno <ueno@gnu.org>
1811
1812 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1813 file name of gpg executable.
1814 (epg-context-program): New function.
1815 (epg-context-home-directory): New function.
1816 (epg-context-set-program): New function.
1817 (epg-context-set-home-directory): New function.
1818 (epg--start): Use `epg-context-program' instead of
1819 'epg-gpg-program'.
1820 (epg--list-keys-1): Likewise.
1821
6c6268c8
LL
18222013-06-24 Leo Liu <sdl.web@gmail.com>
1823
1824 * ido.el (ido-read-internal): Fix bug#14620.
1825
5e400cb3
JB
18262013-06-23 Juanma Barranquero <lekktu@gmail.com>
1827
1828 * faces.el (face-documentation): Simplify.
1829 (read-face-attribute, tty-find-type, x-resolve-font-name):
1830 Use `string-match-p'.
1831 (list-faces-display): Use `string-match-p'. Simplify.
1832 (face-spec-recalc): Check face to avoid face alias loops.
1833 (read-color): Use `string-match-p' and non-capturing parenthesis.
1834
f3f9606c
LMI
18352013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1836
1837 * net/shr.el (shr-rescale-image): Use the new
1838 :max-width/:max-height functionality.
1839
a3ca09b9
IK
18402013-06-23 Ivan Kanis <ivan@kanis.fr>
1841
1842 * net/eww.el (eww-search-prefix): New variable.
1843 (eww): Use it.
f865b474
IK
1844 (eww-external-browser): New variable.
1845 (eww-mode-map): New keystroke.
1846 (eww-browse-with-external-browser): New command.
a3ca09b9 1847
e854cfc7
IK
1848 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1849
18bb9e21
JB
18502013-06-23 Juanma Barranquero <lekktu@gmail.com>
1851
1852 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1853 Don't skip aligning the next header field when padding is 0;
1854 otherwise, field width is not respected unless the title is as
1855 wide as the field.
1856
5b165ade
SM
18572013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * emacs-lisp/package.el (package-el-version): Remove.
1860 (package-process-define-package): Fix inf-loop.
1861 (package-install): Allow symbols as arguments again.
1862
12adebe9
DG
18632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1864
1865 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1866 add some more keyword-like methods.
1867 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1868
388573ee
JB
18692013-06-22 Juanma Barranquero <lekktu@gmail.com>
1870
1871 * bs.el (bs-buffer-show-mark): Make defvar-local.
1872 (bs-mode): Use setq-local.
1873
1874 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1875 (emacs-lock--try-unlocking): Make defvar-local.
1876
4582a01c 18772013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 1878
2663dd23
GM
1879 * play/cookie1.el (cookie-apropos): Minor simplification.
1880
3d94f3ad
GM
1881 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1882
f72e2fdb
DG
18832013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1884
1885 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1886 `regexp-opt', it breaks the build during dumping.
1887
73eab938
DG
18882013-06-21 Dmitry Gutov <dgutov@yandex.ru>
1889
c763842b
SM
1890 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1891 Highlight keyword-like methods on Kernel and Module with
73eab938 1892 font-lock-builtin-face.
5cf8176d
DG
1893 (auto-mode-alist): Consolidate different entries into one regexp
1894 and add more *file-s.
73eab938 1895
d26255f6
SB
18962013-06-21 Stephen Berman <stephen.berman@gmx.net>
1897
1898 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
1899
1900 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
1901 (diary-entry): Use it in the action of this button type instead of
1902 diary-goto-entry.
1903
1904 * calendar/todo-mode.el: New version.
1905 (todo-add-category): Append new category to end of file and give
1906 it the highest number, instead of putting it at the beginning and
1907 giving it 0. Incorporate noninteractive functionality.
1908 (todo-forward-category): Adapt to 1-based category numbering.
1909 Allow skipping over archived categories.
1910 (todo-backward-category): Derive from todo-forward-category.
1911 (todo-backward-item, todo-forward-item): Make noninteractive and
1912 delegate interactive part to new commands. Make sensitive to done items.
1913 (todo-categories): Make value an alist of category names and
1914 vectors of item counts.
1915 (todo-category-beg): Make a defconst.
1916 (todo-category-number): Use 1 instead of 0 as initial value.
1917 (todo-category-select): Make sensitive to overlays, optional item
1918 highlighting and done items.
1919 (todo-delete-item): Make sensitive to overlays and marked and done items.
1920 (todo-edit-item): Make sensitive to overlays and editing of
1921 date/time header optional. Add format checks.
1922 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
1923 no-op if point is not on an item. Advertise using todo-edit-quit.
1924 (todo-edit-mode): Make sensitive to new format, font-locking, and
1925 multiple todo files.
1926 (todo-insert-item, todo-insert-item-here): Derive from
1927 todo-basic-insert-item and extend functionality.
1928 (todo-item-end, todo-item-start): Make sensitive to done items.
1929 (todo-item-string): Don't return text properties. Restore point.
1930 (todo-jump-to-category): Make sensitive to multiple todo files and
1931 todo archives. Use extended category completion.
1932 (todo-lower-item, todo-raise-item): Rename to *-priority and
1933 derive from todo-set-item-priority.
1934 (todo-mode): Derive from special-mode. Make sensitive to new
1935 format, font-locking and multiple todo files. Make read-only.
1936 (todo-mode-map): Don't suppress digit keys, so they can supply
1937 prefix arguments. Add many new key bindings.
1938 (todo-prefix): Insert as an overlay instead of file text.
1939 Change semantics from diary date expression to purely visual mark.
1940 (todo-print): Rename to todo-print-buffer. Make buffer display
1941 features printable. Remove option to restrict number of items
1942 printed. Add option to print to file.
1943 (todo-print-function): Rename to todo-print-buffer-function.
1944 (todo-quit): Extend to handle exiting new todo modes.
1945 (todo-remove-item): Make sensitive to overlays.
1946 (todo-save): Extend to buffers of filtered items.
1947 (todo-show): Make sensitive to done items, multiple todo files and
1948 new todo modes. Offer to convert legacy todo file before creating
1949 first new todo file.
1950 (todo-show-priorities): Rename to todo-top-priorities.
1951 Change semantics of value 0.
1952 (todo-top-priorities): Rename to todo-filter-top-priorities,
1953 derive from todo-filter-items and extend functionality.
1954 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
1955 and extend functionality to other types of filtered items.
1956 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
1957 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
1958 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
1959 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
1960 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
1961 (todo-edit-mode-hook, todo-entry-prefix-function)
1962 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
1963 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
1964 (todo-initials, todo-insert-threshold, todo-item-string-start)
1965 (todo-line-string, todo-menu, todo-mode-hook)
1966 (todo-more-important-p, todo-previous-answer, todo-previous-line)
1967 (todo-print-priorities, todo-remove-separator)
1968 (todo-save-top-priorities-too, todo-string-count-lines)
1969 (todo-string-multiline-p, todo-time-string-format)
1970 (todo-tmp-buffer-name): Remove.
1971 (todo-add-file, todo-archive-done-item, todo-choose-archive)
1972 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
1973 (todo-edit-category-diary-inclusion)
1974 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
1975 (todo-edit-file, todo-edit-item-date-day)
1976 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
1977 (todo-edit-item-date-month, todo-edit-item-date-to-today)
1978 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
1979 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
1980 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
1981 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
1982 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
1983 (todo-filter-top-priorities-multifile, todo-find-archive)
1984 (todo-find-filtered-items-file, todo-go-to-source-item)
1985 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
1986 (todo-jump-to-archive-category, todo-lower-category)
1987 (todo-mark-category, todo-marked-item-p, todo-merge-category)
1988 (todo-move-category, todo-move-item, todo-next-button)
1989 (todo-next-item, todo-padded-string, todo-powerset)
1990 (todo-previous-button, todo-previous-item)
1991 (todo-print-buffer-to-file, todo-raise-category)
1992 (todo-rename-category, todo-repair-categories-sexp, todo-search)
1993 (todo-set-category-number, todo-set-item-priority)
1994 (todo-set-top-priorities-in-category)
1995 (todo-set-top-priorities-in-file, todo-show-categories-table)
1996 (todo-sort-categories-alphabetically-or-numerically)
1997 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
1998 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
1999 (todo-toggle-item-header, todo-toggle-item-highlighting)
2000 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2001 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2002 (todo-unarchive-items, todo-unmark-category): New commands.
2003 (todo-absolute-file-name, todo-add-to-buffer-list)
2004 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2005 (todo-basic-insert-item, todo-category-completions)
2006 (todo-category-number, todo-category-string-matcher-1)
2007 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2008 (todo-check-format, todo-clear-matches)
2009 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2010 (todo-current-category, todo-date-string-matcher)
2011 (todo-define-insertion-command, todo-diary-expired-matcher)
2012 (todo-diary-goto-entry, todo-diary-item-p)
2013 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2014 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2015 (todo-done-item-section-p, todo-done-separator)
2016 (todo-done-string-matcher, todo-files, todo-filter-items)
2017 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2018 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2019 (todo-insert-category-line, todo-insert-item-from-calendar)
2020 (todo-insert-sort-button, todo-insert-with-overlays)
2021 (todo-insertion-command-name, todo-insertion-key-bindings)
2022 (todo-label-to-key, todo-longest-category-name-length)
2023 (todo-make-categories-list, todo-mode-external-set)
2024 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2025 (todo-modes-set-3, todo-multiple-filter-files)
2026 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2027 (todo-read-category, todo-read-date, todo-read-dayname)
2028 (todo-read-file-name, todo-read-time)
2029 (todo-reevaluate-category-completions-files-defcustom)
2030 (todo-reevaluate-default-file-defcustom)
2031 (todo-reevaluate-filelist-defcustoms)
2032 (todo-reevaluate-filter-files-defcustom)
2033 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2034 (todo-reset-done-separator, todo-reset-done-separator-string)
2035 (todo-reset-done-string, todo-reset-global-current-todo-file)
2036 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2037 (todo-reset-prefix, todo-set-categories)
2038 (todo-set-date-from-calendar, todo-set-show-current-file)
2039 (todo-set-top-priorities, todo-short-file-name)
2040 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2041 (todo-total-item-counts, todo-update-buffer-list)
2042 (todo-update-categories-display, todo-update-categories-sexp)
2043 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2044 New functions.
2045 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2046 New major modes.
2047 (todo-categories, todo-display, todo-edit, todo-faces)
2048 (todo-filtered): New defgroups.
2049 (todo-archived-only, todo-button, todo-category-string, todo-date)
2050 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2051 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2052 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2053 (todo-add-item-if-new-category, todo-always-add-time-string)
2054 (todo-categories-align, todo-categories-archived-label)
2055 (todo-categories-category-label, todo-categories-diary-label)
2056 (todo-categories-done-label, todo-categories-number-separator)
2057 (todo-categories-todo-label, todo-categories-totals-label)
2058 (todo-category-completions-files, todo-completion-ignore-case)
2059 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2060 (todo-done-separator-string, todo-done-string)
2061 (todo-files-function, todo-filter-done-items, todo-filter-files)
2062 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2063 (todo-initial-category, todo-initial-file, todo-item-mark)
2064 (todo-legacy-date-time-regexp, todo-mode-line-function)
2065 (todo-nondiary-marker, todo-number-prefix)
2066 (todo-print-buffer-function, todo-show-current-file)
2067 (todo-show-done-only, todo-show-first, todo-show-with-done)
2068 (todo-skip-archived-categories, todo-top-priorities-overrides)
2069 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2070 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2071 New defcustoms.
2072 (todo-category-done, todo-date-pattern, todo-date-string-start)
2073 (todo-diary-items-buffer, todo-done-string-start)
2074 (todo-filtered-items-buffer, todo-item-start)
2075 (todo-month-abbrev-array, todo-month-name-array)
2076 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2077 (todo-top-priorities-buffer): New defconsts.
2078 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2079 (todo-categories-with-marks, todo-category-string-face)
2080 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2081 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2082 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2083 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2084 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2085 (todo-font-lock-keywords, todo-global-current-todo-file)
2086 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2087 (todo-insertion-commands-args)
2088 (todo-insertion-commands-args-genlist)
2089 (todo-insertion-commands-names, todo-insertion-map)
2090 (todo-key-bindings-t, todo-key-bindings-t+a)
2091 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2092 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2093 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2094 (todo-visited): New variables.
2095
cad5d1cb
GM
20962013-06-21 Glenn Morris <rgm@gnu.org>
2097
2098 * play/cookie1.el (cookie-apropos): Add optional display argument.
2099 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2100 (psychoanalyze-pinhead): Use cookie-doctor.
2101
9e277302
JB
21022013-06-21 Juanma Barranquero <lekktu@gmail.com>
2103
2104 * emacs-lisp/package.el (tar-get-file-descriptor)
2105 (tar--extract): Declare.
2106
c5b0993e
EW
21072013-06-21 Eduard Wiebe <usenet@pusto.de>
2108
2109 Extend flymake's warning predicate to be a function (bug#14217).
2110 * progmodes/flymake.el (flymake-warning-predicate): New.
2111 (flymake-parse-line): Use it.
2112 (flymake-warning-re): Make obsolete alias to
2113 `flymake-warning-predicate'.
2114
a7d2d465
SM
21152013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2118 (package-obsolete-list): Remove.
2119 (package-activate): Remove min-version argument. Add `force' argument.
2120 Adjust to new package-alist format.
2121 (package-mark-obsolete): Remove.
2122 (package-unpack): Force reload of the package's autoloads.
2123 (package-installed-p): Check builtins if the installed package is not
2124 recent enough.
2125 (package-initialize): Don't reset package-obsolete-list.
2126 Don't specify which package version to activate.
2127 (package-process-define-package, describe-package-1)
2128 (package-menu--generate): Adjust to new package-alist format.
2129
cedf5c9d
JB
21302013-06-21 Juanma Barranquero <lekktu@gmail.com>
2131
2132 * allout-widgets.el (allout-widgets-mode-off)
2133 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2134 (allout-widgets-post-command-business)
2135 (allout-widgets-after-copy-or-kill-function)
2136 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2137 (allout-decorate-item-and-context)
2138 (allout-graphics-modification-handler): Fix typos in docstrings.
2139 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2140
2141 * cmuscheme.el (scheme-start-file): Doc fix.
2142 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2143 (scheme-input-filter): Use `string-match-p'.
2144
2145 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2146
2147 * dired-x.el: Use Dired consistently in docstrings.
2148
2149 * dired.el: Use Dired consistently in docstrings.
2150 (dired-readin, dired-mode): Use `setq-local'.
2151 (dired-switches-alist): Make defvar-local.
2152 (dired-buffers-for-dir): Use `zerop'.
2153 (dired-safe-switches-p, dired-switches-escape-p)
2154 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2155 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2156 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2157 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2158 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2159 (dired-toggle-marks, dired-mark-files-containing-regexp)
2160 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2161 (dired-flag-auto-save-files, dired-flag-backup-files):
2162 Use `looking-at-p'.
2163 (dired-mark-files-regexp, dired-build-subdir-alist):
2164 Use `string-match-p', `looking-at-p'.
2165
2166 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2167 (direct-print-region-helper): Use `string-match-p'.
2168
aed838b5
LL
21692013-06-21 Leo Liu <sdl.web@gmail.com>
2170
cedf5c9d
JB
2171 * comint.el (comint-redirect-results-list-from-process):
2172 Fix infinite loop.
aed838b5 2173
d80a808f
LMI
21742013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2175
2176 * net/eww.el (eww-update-header-line-format): Quote % characters.
2177
e7a526e3
GM
21782013-06-21 Glenn Morris <rgm@gnu.org>
2179
2180 * play/cookie1.el (cookie): New custom group.
2181 (cookie-file): New option.
2182 (cookie-check-file): New function.
2183 (cookie): Make it interactive. Make start and end messages optional.
2184 Interactively, display the result. Default to cookie-file.
2185 (cookie-insert): Default to cookie-file.
2186 (cookie-snarf): Make start and end messages optional.
2187 Default to cookie-file. Use with-temp-buffer.
2188 (cookie-read): Rename from read-cookie.
2189 Make start and end messages optional. Default to cookie-file.
2190 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 2191 Do not autoload it.
e7a526e3
GM
2192 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2193 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2194
62efb35e
LL
21952013-06-21 Leo Liu <sdl.web@gmail.com>
2196
2197 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2198
21e3f963
GM
21992013-06-21 Glenn Morris <rgm@gnu.org>
2200
2201 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2202
fd846ab4
SM
22032013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2204 Daniel Hackney <dan@haxney.org>
2205
2206 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2207 Consolidate the single-file vs tarball code.
2208 (package-desc-suffix): New function.
2209 (package-desc-full-name): Don't bother inlining it.
2210 (package-load-descriptor): Return the new package-desc.
2211 (package-mark-obsolete): Remove unused arg `package'.
2212 (package-unpack): Make it work for single files as well.
2213 Make it update package-alist.
2214 (package--make-autoloads-and-stuff): Rename from
2215 package--make-autoloads-and-compile. Don't compile any more.
2216 (package--compile): New function.
2217 (package-generate-description-file): New function, extracted from
2218 package-unpack-single.
2219 (package-unpack-single): Remove.
2220 (package--with-work-buffer): Add indentation and debugging info.
2221 (package-download-single): Remove.
2222 (package-install-from-archive): Rename from package-download-tar, make
2223 it take a pkg-desc, and make it work for single files as well.
2224 (package-download-transaction): Simplify.
2225 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2226 external tar program.
2227 (package-install-from-buffer): Remove `pkg-desc' argument.
2228 Use package-tar-file-info for tar-mode buffers.
2229 (package-install-file): Simplify accordingly.
2230 (package-archive-base): Change to take a pkg-desc.
2231 * tar-mode.el (tar--check-descriptor): New function, extracted from
2232 tar-get-descriptor.
2233 (tar-get-descriptor): Use it.
2234 (tar-get-file-descriptor): New function.
2235 (tar--extract): New function, extracted from tar-extract.
2236 (tar--extract): Use it.
2237 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2238 case the summary uses non-ascii. Adjust to new calling convention of
2239 package-tar-file-info.
2240
b7deae5e
LL
22412013-06-21 Leo Liu <sdl.web@gmail.com>
2242
fd846ab4
SM
2243 * comint.el (comint-redirect-results-list-from-process):
2244 Fix random delay. (Bug#14681)
b7deae5e 2245
7a65a0b2
JB
22462013-06-21 Juanma Barranquero <lekktu@gmail.com>
2247
2248 * profiler.el (profiler-format-number): Use log, not log10.
2249
1493c2af
JB
22502013-06-20 Juanma Barranquero <lekktu@gmail.com>
2251
2252 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2253
aff6371e
SM
22542013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2257 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2258 yet available.
2259 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2260 (AUTOGENEL): ... here.
2261 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2262 (cl--defsubst-expand): Use it.
2263
89561f72
PE
22642013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2265
2266 * subr.el (log10): Move here from C code, and declare as obsolete.
2267 All uses of (log10 X) replaced with (log X 10).
2268
47199123
JB
22692013-06-20 Juanma Barranquero <lekktu@gmail.com>
2270
2271 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2272 Declare with `defvar-local'.
2273 (tabulated-list-use-header-line, tabulated-list-entries)
2274 (tabulated-list-padding, tabulated-list-printer)
2275 (tabulated-list-sort-key): Declare with `defvar-local'.
2276 (tabulated-list-init-header, tabulated-list-print-fake-header):
2277 Use `setq-local'.
2278
4a172eab
MA
22792013-06-20 Michael Albinus <michael.albinus@gmx.de>
2280
47199123
JB
2281 * arc-mode.el (archive-mode): Add `archive-write-file' to
2282 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 2283
5fc0acc0
JB
22842013-06-20 Juanma Barranquero <lekktu@gmail.com>
2285
d5b27848
JB
2286 * cus-edit.el (custom-commands): Fix typos.
2287 (custom-display): Fix tooltip text.
2288 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2289 Fix typos in docstrings.
2290 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2291 (custom-unlispify-menu-entry, custom-magic-value-create)
2292 (custom-add-see-also, custom-group-value-create): Use ?\s.
2293 (custom-guess-type, customize-apropos, editable-field)
2294 (custom-face-value-create): Use `string-match-p'.
2295 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2296
2297 * custom.el (custom-load-symbol): Use `string-match-p'.
2298
a5c581d8
JB
2299 * ansi-color.el: Convert to lexical binding.
2300 (ansi-colors): Fix URL.
2301 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2302 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2303 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2304
970ad972
G
23052013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2306
2307 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2308
2309 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2310
23112013-06-19 Tom Tromey <tromey@redhat.com>
2312
2313 * net/eww.el (eww-top-url): Remove.
2314 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2315 (eww-render): Set new variables. Don't set eww-top-url.
2316 (eww-handle-link): Handle "prev", "home", and "contents".
2317 Downcase the rel text.
2318 (eww-top-url): Choose best top URL.
2319
23202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2321
2322 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2323 relying in widget.el. Using widget.el leads to too many
2324 user interface inconsistencies.
2325 (eww-self-insert): Implement entering commands in text fields.
2326 (eww-process-text-input): New function to make text input field editing
2327 work.
2328 (eww-submit): Rewrite to use the new-style form methods.
2329 (eww-select-display): Display the correct selected item.
2330 (eww-change-select): Implement changing the select value.
2331 (eww-toggle-checkbox): Implement radio/checkboxes.
2332 (eww-update-field): Fix compilation error.
2333 (eww-tag-textarea): Implement <textarea>.
2334
2335 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2336 we don't shadow mode-specific bindings.
2337
2338 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2339 nothing to push.
2340
2341 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2342
4582a01c 23432013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
2344
2345 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2346
15b263dc
MA
23472013-06-19 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2350 not needed.
2351
2352 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2353
8f5297f7
LMI
23542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2355
2356 * net/browse-url.el (browse-url-browser-function):
2357 `eww-browse-url' has the right calling signature, `eww' does not.
2358
011c4552
GM
23592013-06-19 Glenn Morris <rgm@gnu.org>
2360
2285bd27
GM
2361 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2362 Only eval autoloaded macros.
2363 (byte-compile-autoload): Only give the macro warning for macros.
2364
1d653303
GM
2365 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2366 (ps-underlined-faces): Declare.
2367
bdd779ec
GM
2368 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2369 (speedbar-add-supported-extension): Declare.
2370
011c4552
GM
2371 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2372 Don't include a date stamp in the header of the generated file;
2373 it leads to needless differences between output files.
2374
e59dfb0e
MA
23752013-06-19 Michael Albinus <michael.albinus@gmx.de>
2376
c763842b
SM
2377 * net/secrets.el (secrets-struct-secret-content-type):
2378 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 2379 Some servers do not offer introspection.
e59dfb0e 2380
102626e2
SM
23812013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * electric.el (electric-pair-mode): Improve interaction with
2384 electric-layout-mode.
2385 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2386 (electric-pair-syntax): Use text-mode-syntax-table in comments
2387 and strings.
2388 (electric-pair--insert): New function.
2389 (electric-pair-post-self-insert-function): Use it and
2390 electric--after-char-pos.
2391
ad528125
LL
23922013-06-19 Leo Liu <sdl.web@gmail.com>
2393
2394 * progmodes/octave.el (octave-help): Fix regexp.
2395
924d6997
G
23962013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2397
2398 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2399 (shr-table-horizontal-line): Allow nil as a value, and change the
2400 default.
2401 (shr-insert-table-ruler): Respect the nil value.
2402
24032013-06-18 Tom Tromey <tromey@barimba>
2404
2405 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2406 New defvars.
2407 (eww-open-file): New defun.
2408 (eww-render): Initialize new variables.
2409 (eww-display-html): Handle "link" and "a".
2410 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2411 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2412 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
2413 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2414 New defuns.
924d6997 2415
d1bbba4f
DG
24162013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2417
2418 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2419 Distinguish ternary operator tokens from slash symbol and slash
2420 char literal.
2421
14dd22d2
JB
24222013-06-18 Juanma Barranquero <lekktu@gmail.com>
2423
2424 Convert symbol prettification into minor mode and global minor mode.
2425
2426 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2427 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2428 (prettify-symbols--keywords): Rename from
2429 `prog-prettify-symbols-alist' and make a local defvar.
2430 (prettify-symbols--compose-symbol): Rename from
2431 `prog--prettify-font-lock-compose-symbol'.
2432 (prettify-symbols--make-keywords): Rename from
2433 `prog-prettify-font-lock-symbols-keywords' and simplify.
2434 (prog-prettify-install): Remove.
2435 (prettify-symbols-mode): New minor mode, based on
2436 `prog-prettify-install'.
2437 (turn-on-prettify-symbols-mode): New function.
2438 (global-prettify-symbols-mode): New globalized minor mode.
2439
2440 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2441 * progmodes/cfengine.el (cfengine3-mode):
2442 * progmodes/perl-mode.el (perl-mode): Don't call
2443 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2444
292c880c
JL
24452013-06-18 Juri Linkov <juri@jurta.org>
2446
2447 * files-x.el (modify-file-local-variable-message): New function.
2448 (modify-file-local-variable)
2449 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2450 and call `modify-file-local-variable-message' when it's non-nil.
2451 (add-file-local-variable, delete-file-local-variable)
2452 (add-file-local-variable-prop-line)
2453 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2454 and use it. (Bug#9820)
2455
0950aa27
JL
24562013-06-18 Juri Linkov <juri@jurta.org>
2457
2458 * emulation/vi.el (vi-shell-op):
2459 * emulation/vip.el (vip-execute-com, ex-command):
2460 * emulation/viper-cmd.el (viper-exec-bang):
2461 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2462 the call of `shell-command-on-region'. (Bug#14637)
2463
2464 * simple.el (shell-command-on-region): Doc fix.
2465
8fbcca16
SM
24662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2467
2468 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2469 (bug#14633).
2470
dd7426ea
GM
24712013-06-18 Glenn Morris <rgm@gnu.org>
2472
4ba54f7d
GM
2473 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2474
dd7426ea
GM
2475 * newcomment.el (comment-search-forward, comment-search-backward):
2476 Doc fix. (Bug#14376)
2477
58aa805b
JB
24782013-06-18 Juanma Barranquero <lekktu@gmail.com>
2479
2480 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2481 (buffer-face-mode-invoke): Doc fix.
2482
9a08a617
MM
24832013-06-18 Matthias Meulien <orontee@gmail.com>
2484
2485 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 2486 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 2487
f2f426ca
GM
24882013-06-18 Glenn Morris <rgm@gnu.org>
2489
9445f99b
GM
2490 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2491 Replace obsolete function generic-make-keywords with its expansion.
2492
e0df2d14
GM
2493 * progmodes/python.el (ffap-alist): Declare.
2494
f2f426ca
GM
2495 * textmodes/reftex.el (bibtex-mode-map): Declare.
2496
f7f9a720
SM
24972013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2500 (package-unpack, package-unpack-single): Return the pkg-dir.
2501 (package-download-transaction): Use it to update package-alist.
2502
57ff04e0
LMI
25032013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2504
2505 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2506 possible choice.
2507
c048c022
JL
25082013-06-17 Juri Linkov <juri@jurta.org>
2509
2510 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2511
b5bcaee5
DG
25122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2513
a020afb9
JB
2514 * emacs-lisp/package.el (package-load-descriptor):
2515 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
2516 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2517
551e07e5
JB
25182013-06-17 Juanma Barranquero <lekktu@gmail.com>
2519
2520 * startup.el (command-line): Expand package name returned by
2521 `package--description-file' (bug#14639).
2522
d363bffb
DG
25232013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2524
2525 * emacs-lisp/package.el (package-load-descriptor): Do not call
2526 `emacs-lisp-mode', just use its syntax table.
2527
f612933b
JB
25282013-06-17 Juanma Barranquero <lekktu@gmail.com>
2529
2530 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2531 `font-lock-extra-managed-props' if any prettifying keyword is added.
2532 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2533 (prog-mode): Use `setq-local'.
2534
db3b7db5
SM
25352013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * international/characters.el (standard-case-table): Set syntax of ?»
2538 and ?« to punctuation.
2539
f3d674df
JB
25402013-06-16 Juanma Barranquero <lekktu@gmail.com>
2541
2542 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2543 Save relevant match data before calling `syntax-ppss' (bug#14595).
2544
31489a32
JL
25452013-06-15 Juri Linkov <juri@jurta.org>
2546
2547 * files-x.el (modify-file-local-variable-prop-line): Add local
2548 variables to the end of the existing comment on the first line.
2549 Use `file-auto-mode-skip' to skip interpreter magic line,
2550 and also skip XML declaration.
2551
66bd25ab
SM
25522013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * startup.el (package--builtin-versions): New var.
2555 (package-subdirectory-regexp): Remove.
2556 (package--description-file): Hard code its value instead.
2557
2558 * emacs-lisp/package.el: Don't activate packages older than builtin.
2559 (package-obsolete-list): Rename from package-obsolete-alist, and make
2560 it into a simple list of package-desc.
2561 (package-strip-version): Remove.
2562 (package-built-in-p): Use package--builtin-versions.
2563 (package-mark-obsolete): Simplify.
2564 (package-process-define-package): Mark it obsolete if older than the
2565 builtin version.
2566 (package-handle-response): Use line-end-position.
2567 (package-read-archive-contents, package--download-one-archive):
2568 Simplify.
2569 (package--add-to-archive-contents): Skip if older than the builtin or
2570 installed version.
2571 (package-menu-describe-package): Fix last change.
2572 (package-list-unversioned): New var.
2573 (package-menu--generate): Use it.
2574
2575 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2576 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2577 (autoload-builtin-package-versions): New variable.
2578 (autoload-generate-file-autoloads): Use them.
2579 Remove the list of autoloaded functions/macros from the
2580 (autoload...) comments.
2581
2582 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2583
9583ec36
EZ
25842013-06-15 Eli Zaretskii <eliz@gnu.org>
2585
2586 * simple.el (line-move-partial): Don't jump to the next screen
2587 line as soon as it becomes visible. Instead, continue enlarging
2588 the vscroll until the portion of a tall screen line that's left on
2589 display is about the height of the frame's default font.
2590 (Bug#14567)
2591
f0100d8a
GM
25922013-06-15 Glenn Morris <rgm@gnu.org>
2593
b86a85ca
GM
2594 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2595 compilation-error-regexp-alist void, or local while let-bound.
2596
f0100d8a
GM
2597 * progmodes/make-mode.el (makefile-mode-syntax-table):
2598 Treat "=" as punctuation. (Bug#14614)
2599
05e7ce90
JB
26002013-06-15 Juanma Barranquero <lekktu@gmail.com>
2601
2602 * help-fns.el (describe-variable):
2603 Add extra line for permanent-local variables.
2604
12e5e86e
SH
26052013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2606
2607 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2608 Add export, import, library. (Bug#9164)
2609 (library): Set indent function.
2610
230dcbaf
GM
26112013-06-14 Glenn Morris <rgm@gnu.org>
2612
2613 * term/xterm.el (xterm--query):
2614 Stop after first matching handler. (Bug#14615)
2615
a020afb9 26162013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
2617
2618 Add support for dired in saveplace.
2619 * dired.el (dired-initial-position-hook): New variable.
2620 (dired-initial-position): Call hook to place cursor position.
2621 * saveplace.el (save-place-to-alist): Add dired position.
2622 (save-place-dired-hook): New function.
2623
0b31660d
SM
26242013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2625
bf1e6ae8
SM
2626 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2627 through a symbol rather than letrec.
2628
1b8dff23
SM
2629 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
2630 (package-desc): Add `dir' field.
2631 (package-desc-full-name): New function.
2632 (package-load-descriptor): Combine the two arguments. Don't use `load'.
2633 (package-maybe-load-descriptor): Remove.
2634 (package-load-all-descriptors): Just call package-load-descriptor.
2635 (package--disabled-p): New function.
2636 (package-desc-vers, package-desc-doc): Remove aliases.
2637 (package--dir): Remove function.
2638 (package-activate): Check if a package is disabled.
2639 (package-process-define-package): New function, extracted from
2640 define-package.
2641 (define-package): Turn into a place holder.
2642 (package-unpack-single, package-tar-file-info):
2643 Use package--description-file.
2644 (package-compute-transaction): Use package--disabled-p.
2645 (package-download-transaction): Don't call
2646 package-maybe-load-descriptor since they're all loaded anyway.
2647 (package-install): Change argument to be a pkg-desc.
2648 (package-delete): Use a single pkg-desc argument.
2649 (describe-package-1): Use package-desc-dir instead of package--dir.
2650 Use package-desc property instead of package-symbol.
2651 (package-install-button-action): Adjust accordingly.
2652 (package--push): Rewrite.
2653 (package-menu--print-info): Adjust accordingly. Change the ID format
2654 to be a pkg-desc.
2655 (package-menu-describe-package, package-menu-get-status)
2656 (package-menu--find-upgrades, package-menu-mark-upgrades)
2657 (package-menu-execute, package-menu--name-predicate):
2658 Adjust accordingly.
2659 * startup.el (package--description-file): New function.
2660 (command-line): Use it.
2661 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2662 Use package-desc-version.
2663
0b31660d
SM
2664 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2665 (byte-compile-preprocess): Use it.
2666 (byte-compile-file-form-defalias): Try a bit harder to use macros we
2667 can't quite recognize.
2668 (byte-compile-add-to-list): Remove.
2669 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2670 (cconv-closure-convert): Add assertion.
2671
2672 * emacs-lisp/map-ynp.el: Use lexical-binding.
2673 (map-y-or-n-p): Remove unused vars `tail' and `object'.
2674 Factor out some repeated code.
2675
de0503df
SM
26762013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2677
2678 * subr.el (with-eval-after-load): New macro.
2679 (eval-after-load): Allow form to be a function.
2680 take advantage of lexical-binding.
2681 (do-after-load-evaluation): Use dolist and adjust to new format.
2682 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2683
bc5c8c5a
JL
26842013-06-13 Juri Linkov <juri@jurta.org>
2685
2686 * replace.el (perform-replace): Display "symbol " and other search
2687 modes from `isearch-message-prefix' in the *Help* buffer.
2688
2689 * isearch.el (isearch-query-replace): Add " symbol" and other
2690 possible search modes from `isearch-message-prefix' to the prompt.
2691 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2692 when reading a regexp to collect.
2693
a22289f7
JL
26942013-06-13 Juri Linkov <juri@jurta.org>
2695
2696 * isearch.el (word-search-regexp): Match whitespace if the search
2697 string begins or ends in whitespace. The LAX arg is applied to
2698 both ends of the search string. Use `regexp-quote' and explicit
2699 \< and \> instead of \b. Use \` and \' instead of ^ and $.
2700 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2701 boundaries are replaced with symbol boundaries, and characters
2702 between symbols match non-word non-symbol syntax. (Bug#14602)
2703
cb89acab
JL
27042013-06-13 Juri Linkov <juri@jurta.org>
2705
2706 * isearch.el (isearch-del-char): Don't exceed the length of
2707 `isearch-string' by the prefix arg. (Bug#14563)
2708
6e8cfc81
JL
27092013-06-13 Juri Linkov <juri@jurta.org>
2710
2711 * isearch.el (isearch-yank-word, isearch-yank-line)
2712 (isearch-char-by-name, isearch-quote-char)
2713 (isearch-printing-char, isearch-process-search-char):
2714 Add optional count prefix arg. (Bug#14563)
2715
2716 * international/isearch-x.el
2717 (isearch-process-search-multibyte-characters):
2718 Add optional count prefix arg.
2719
c23d55f4
VS
27202013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2723 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2724 lexical-binding.
2725
27262013-06-13 Vitalie Spinu <spinuvit@gmail.com>
2727
2728 * subr.el (set-temporary-overlay-map): Add on-exit argument.
2729
ba947bc4
GM
27302013-06-13 Glenn Morris <rgm@gnu.org>
2731
8baeb37a
GM
2732 * startup.el (tty-handle-args):
2733 Don't just discard "--" and anything after. (Bug#14608)
2734
ba947bc4
GM
2735 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2736
9abefce4
MA
27372013-06-13 Michael Albinus <michael.albinus@gmx.de>
2738
2739 Implement changes in Secret Service API. Make it backward compatible.
2740 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2741 (secrets-create-item): Use it. Prefix properties with interface.
2742
5755011f
MH
27432013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
2744
2745 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
2746 (term-emulate-terminal): Respect term-suppress-hard-newline.
2747
1261d2da
S
27482013-06-13 E Sabof <esabof@gmail.com> (tiny change)
2749
2750 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2751 Only remove a `thumb-file' overlay. (Bug#14548)
2752
868490bb
GJ
27532013-06-12 Grégoire Jadi <daimrod@gmail.com>
2754
2755 * mail/reporter.el (reporter-submit-bug-report):
2756 Handle missing package-name. (Bug#14600)
2757
79d7167f
TH
27582013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2759
2760 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2761 (reftex-citation-prompt, reftex-default-bibliography)
2762 (reftex-bib-or-thebib, reftex-get-bibfile-list)
2763 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2764 (reftex-bib-sort-author, reftex-bib-sort-year)
2765 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2766 (reftex-extract-bib-entries-from-thebibliography)
2767 (reftex-get-bibkey-default, reftex-get-bib-names)
2768 (reftex-parse-bibtex-entry, reftex-get-bib-field)
2769 (reftex-format-bib-entry, reftex-parse-bibitem)
2770 (reftex-format-bibitem, reftex-do-citation)
2771 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2772 (reftex-restrict-bib-matches, reftex-extract-bib-file)
2773 (reftex-insert-bib-matches, reftex-format-citation)
2774 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2775 (reftex-create-bibtex-file): Add docstrings, mostly by converting
2776 existing comments into docstrings.
2777
5f9dbd7a
XF
27782013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2779
2780 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2781
94df41ab
AS
27822013-06-12 Andreas Schwab <schwab@suse.de>
2783
2784 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2785 for auto-save files.
2786
a7f3fecc
GM
27872013-06-12 Glenn Morris <rgm@gnu.org>
2788
001809f6
GM
2789 * ido.el (ido-delete-ignored-files): Remove.
2790 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2791 Go back to calling ido-ignore-item-p directly.
a7f3fecc 2792
834b5ded
EL
27932013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
2794
08c73ed2
EL
2795 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2796
834b5ded
EL
2797 * ido.el (ido-delete-ignored-files): New function,
2798 split from ido-make-file-list-1.
2799 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
2800 (ido-make-file-list-1): Use ido-delete-ignored-files.
2801
daabf15a
LL
28022013-06-12 Leo Liu <sdl.web@gmail.com>
2803
2804 * progmodes/octave.el (inferior-octave-startup)
2805 (inferior-octave-completion-table)
2806 (inferior-octave-track-window-width-change)
2807 (octave-eldoc-function-signatures, octave-help)
2808 (octave-find-definition): Use single quoted strings.
2809 (inferior-octave-startup-args): Change default value.
2810 (inferior-octave-startup): Do not hard code "-i" and
2811 "--no-line-editing".
2812 (inferior-octave-resync-dirs): Add optional arg NOERROR.
2813 (inferior-octave-directory-tracker): Use it.
2814 (octave-goto-function-definition): Robustify.
2815 (octave-help): Support highlighting operators in 'See also'.
2816 (octave-find-definition): Find subfunctions only in Octave mode.
2817
cf4e5178
SM
28182013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * help-fns.el (help-fns--compiler-macro): If the handler function is
2821 named, then put a link to it.
2822 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2823 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2824 (cl-typep): Use it.
2825 (cl-eval-when): Simplify debug spec.
2826 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
2827 compiler-macro function instead of setting `compiler-macro-file'.
2828
99c81280 28292013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
2830
2831 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2832 * vc/vc-hooks.el (vc-stay-local): Doc fix.
2833
f56be016
SM
28342013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2835 Daniel Hackney <dan@haxney.org>
2836
2837 First part of Daniel Hackney's patch to package.el.
2838 * emacs-lisp/package.el: Use defstruct.
2839 (package-desc): New, main struct.
2840 (package--bi-desc, package--ac-desc): New structs, used to describe the
2841 format in external files.
2842 (package-desc-vers): Replace with package-desc-version accessor.
2843 (package-desc-doc): Replace with package-desc-summary accessor.
2844 (package-activate-1): Remove `package' arg since the pkg-vec now
2845 includes the name.
2846 (define-package): Use package-desc-from-define.
2847 (package-unpack-single): Change file-name arg to be a symbol.
2848 (package--add-to-archive-contents): Use package-desc-create and new
2849 accessor functions to package--ac-desc.
2850 (package-buffer-info, package-tar-file-info): Return a package-desc.
2851 (package-install-from-buffer): Remove `type' argument. Change pkg-info
2852 arg to be a package-desc.
2853 (package-install-file): Adjust accordingly. Use \' to match EOS.
2854 (package--from-builtin): New function.
2855 (describe-package-1, package-menu--generate): Use it.
2856 (package--make-autoloads-and-compile): Change name arg to be a symbol.
2857 (package-generate-autoloads): Idem and return the name of the file.
2858 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2859 Change pkg-info arg to be a package-desc.
2860 Use package-make-ac-desc.
2861 (package-upload-file): Use \' to match EOS.
2862 * finder.el (finder-compile-keywords): Use package-make-builtin.
2863
31119d63
SM
28642013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2865
931a2762
SM
2866 * vc/vc.el (vc-deduce-fileset): Change error message.
2867 (vc-read-backend): New function.
2868 (vc-next-action): Use it.
2869
5a3eb0c6
SM
2870 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2871
e3eb1bb7
SM
2872 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2873 (prolog-font-lock-keywords): Use regexp-opt instead.
2874 Don't manually highlight strings.
2875 (prolog-mode-variables): Simplify comment-start-skip.
2876 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
2877
31119d63
SM
2878 * emacs-lisp/generic.el (generic--normalise-comments)
2879 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2880 (generic-mode-set-comments): Use them.
2881 (generic-bracket-support): Use setq-local.
2882 (generic-make-keywords-list): Declare obsolete.
2883
7de135d0
GM
28842013-06-11 Glenn Morris <rgm@gnu.org>
2885
2886 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2887 Prettify after setting font-lock-defaults. (Bug#14574)
2888
fa6bc6fd
JB
28892013-06-11 Juanma Barranquero <lekktu@gmail.com>
2890
2891 * replace.el (query-replace, occur-read-regexp-defaults-function)
2892 (replace-search):
2893 * subr.el (declare-function, number-sequence, local-set-key)
2894 (substitute-key-definition, locate-user-emacs-file)
2895 (with-silent-modifications, split-string, eval-after-load):
2896 Fix typos, remove unneeded backslashes and reflow some docstrings.
2897
cf1f9b9a
SM
28982013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
2901 default for Elisp files.
2902
56602a4b
GM
29032013-06-11 Glenn Morris <rgm@gnu.org>
2904
2905 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
2906 although define-derived-mode was doing this anyway. (Bug#14583)
2907
30ae0b2c
JB
29082013-06-10 Juanma Barranquero <lekktu@gmail.com>
2909
2910 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2911 Fix make-variable-buffer-local call to refer to the correct variable.
2912
fa472906
AG
29132013-06-10 Aidan Gauland <aidalgol@amuri.net>
2914
2915 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
2916 (eshell-visual-subcommands, eshell-visual-options):
2917 Add summary line to docstrings. Add cross-references.
fa472906 2918
ff4871b9
GM
29192013-06-10 Glenn Morris <rgm@gnu.org>
2920
2921 * epa.el (epa-read-file-name): New function. (Bug#14510)
2922 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
2923
04fcf1b0
AG
29242013-06-09 Aidan Gauland <aidalgol@amuri.net>
2925
2926 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
2927 output redirection to be ignored with visual commands.
2928
88b00caa
AG
29292013-06-09 Aidan Gauland <aidalgol@amuri.net>
2930
2931 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
2932 (eshell-term-initialize): Move long lambda to separate function
2933 eshell-visual-command-p.
e7b41c4c
JB
2934 * eshell/em-dirs.el (eshell-dirs-initialise):
2935 * eshell/em-script.el (eshell-script-initialize):
2936 Add missing #' to lambda.
88b00caa 2937
fda74125
LL
29382013-06-08 Leo Liu <sdl.web@gmail.com>
2939
2940 * progmodes/octave.el (octave-add-log-current-defun): New function.
2941 (octave-mode): Set add-log-current-defun-function.
2942 (octave-goto-function-definition): Do not move point if not found.
2943 (octave-find-definition): Enhance to try subfunctions first.
2944
467f3b33
GM
29452013-06-08 Glenn Morris <rgm@gnu.org>
2946
2947 * emacs-lisp/bytecomp.el (byte-compile-char-before)
2948 (byte-compile-backward-char, byte-compile-backward-word):
2949 Improve previous change, to handle non-explicit nil.
2950
544badc3
SM
29512013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
2954 (smie--opener/closer-at-point): New function.
2955 (smie--matching-block-data): Use it. Don't match from right after an
2956 opener or right before a closer. Obey smie-blink-matching-inners.
2957 Don't signal a mismatch for repeated inners like "switch..case..case".
2958
a175bf33
LL
29592013-06-07 Leo Liu <sdl.web@gmail.com>
2960
2961 * progmodes/octave.el (octave-mode): Set comment-use-global-state
2962 to t. (Bug#14303)
ce8209d4
LL
2963 (octave-function-header-regexp): Fix. (Bug#14570)
2964 (octave-help-mode-finish-hook, octave-help-mode-finish):
2965 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
2966
2967 * newcomment.el (comment-search-backward): Revert last change.
2968 (Bug#14434)
2969
2970 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
2971
a822acff
EZ
29722013-06-07 Eli Zaretskii <eliz@gnu.org>
2973
2974 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
2975 through xargs, to avoid failure due to MS-Windows limitations on
2976 command-line length.
2977
961166f5
GM
29782013-06-06 Glenn Morris <rgm@gnu.org>
2979
d0341459
GM
2980 * font-lock.el (lisp-font-lock-keywords-2):
2981 Treat user-error like error.
2982
961166f5
GM
2983 * emacs-lisp/bytecomp.el (byte-compile-char-before)
2984 (byte-compile-backward-char, byte-compile-backward-word):
2985 Handle explicit nil arguments. (Bug#14565)
2986
80fa505f
AM
29872013-06-05 Alan Mackenzie <acm@muc.de>
2988
2989 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 2990 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 2991 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 2992 (Bug#9706)
80fa505f 2993
fccdc796
SM
29942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * autorevert.el (auto-revert-notify-handler): Use memq.
2997 Hide assertion failure.
2998
2999 * skeleton.el: Use cl-lib.
3000 (skeleton-further-elements): Use defvar-local.
3001 (skeleton-insert): Use cl-progv.
3002
9bfff84b
TZ
30032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3004
3005 * progmodes/prog-mode.el (prog-prettify-symbols)
3006 (prog-prettify-install): Update docstrings.
3007
55577e7c
SM
30082013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * simple.el: Move all the prog-mode code to prog-mode.el.
3011 * progmodes/prog-mode.el: New file.
3012 * loadup.el: Add prog-mode.el.
3013
8fc57765
TZ
30142013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3015
3016 * simple.el (prog-prettify-symbols): Add version.
3017 (prog-prettify-install): Add convenience function to prettify symbols.
3018
3019 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3020 (perl--augmented-font-lock-keywords-1)
3021 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3022 variables and use it.
3023
3024 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3025 (cfengine3-mode): Remove unneeded variable and use it.
3026
3027 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3028 (lisp--augmented-font-lock-keywords-1)
3029 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3030 Remove unneeded variables and use it.
3031
650645d5 30322013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
3033
3034 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 3035 to point when opening the connection. (Bug#14380)
28f5da6d 3036
781b4af6
SM
30372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * subr.el (load-history-regexp, load-history-filename-element)
3040 (eval-after-load, after-load-functions, do-after-load-evaluation)
3041 (eval-next-after-load, display-delayed-warnings)
3042 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3043 definition of save-match-data.
3044 (overriding-local-map): Remove accidental obsolescence declaration.
3045
3046 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3047
3ca0d0b4
TZ
30482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3049
3050 Generalize symbol prettify support to prog-mode and implement it
3051 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3052 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3053 (prog--prettify-font-lock-compose-symbol)
3054 (prog-prettify-font-lock-symbols-keywords): New variables and
3055 functions to support symbol prettification.
3056 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3057 (lisp--augmented-font-lock-keywords-1)
3058 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3059 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3060 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
3061 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3062 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
3063 * progmodes/perl-mode.el (perl-prettify-symbols)
3064 (perl--font-lock-compose-symbol)
3065 (perl--font-lock-symbols-keywords): Move to prog-mode.
3066 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3067 (perl-font-lock-keywords-1)
3068 (perl-font-lock-keywords-2): Remove explicit prettify support.
3069 (perl--augmented-font-lock-keywords)
3070 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
3071 (perl--augmented-font-lock-keywords-2, perl-mode):
3072 Implement prettify support.
3ca0d0b4 3073
976cb066
LL
30742013-06-05 Leo Liu <sdl.web@gmail.com>
3075
3076 Re-implement smie matching block highlight using
3077 show-paren-data-function. (Bug#14395)
3078 * emacs-lisp/smie.el (smie-matching-block-highlight)
3079 (smie--highlight-matching-block-overlay)
3080 (smie--highlight-matching-block-lastpos)
3081 (smie-highlight-matching-block)
3082 (smie-highlight-matching-block-mode): Remove.
3083 (smie--matching-block-data-cache): New variable.
3084 (smie--matching-block-data): New function.
3085 (smie-setup): Use smie--matching-block-data for
3086 show-paren-data-function.
3087
3088 * progmodes/octave.el (octave-mode-menu): Fix.
3089 (octave-find-definition): Skip garbage lines.
3090
208d0342
SM
30912013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 Fix compilation error with simultaneous dynamic+lexical scoping.
3094 Add warning when a defvar appears after the first let-binding.
3095 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3096 (byte-compile-close-variables): Initialize it.
3097 (byte-compile--declare-var): New function.
3098 (byte-compile-file-form-defvar)
3099 (byte-compile-file-form-define-abbrev-table)
3100 (byte-compile-file-form-custom-declare-variable): Use it.
3101 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3102 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3103 (byte-compile-bind): Handle dynamic bindings that shadow
3104 lexical bindings.
3105 (byte-compile-unbind): Make arg non-optional.
3106 (byte-compile-let): Simplify.
3107 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3108 (cconv--analyse-function, cconv-analyse-form): Populate it.
3109 Protect byte-compile-bound-variables to limit the scope of defvars.
3110 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3111 Remove unneeded rule for `declare'.
3112
3113 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3114 so as to avoid depending on cl-adjoin at run-time.
3115 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3116
3117 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3118 (macroexp--warn-and-return): Use it.
3119
2587b005
LL
31202013-06-05 Leo Liu <sdl.web@gmail.com>
3121
3122 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3123
f1da3c88
LL
31242013-06-04 Leo Liu <sdl.web@gmail.com>
3125
3126 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3127 (compilation-auto-jump): Suppress the "Mark set" message to give
3128 way to exit message.
3129
3caa391f
AM
31302013-06-04 Alan Mackenzie <acm@muc.de>
3131
3132 Remove faulty optimisation from indentation calculation.
3133 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3134 search limit based on 2000 characters back from indent-point.
3135
068922a2
TH
31362013-06-03 Tassilo Horn <tsdh@gnu.org>
3137
3138 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3139
1f8fdd53
SM
31402013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3141
bbcc4d97
SM
3142 * emacs-lisp/lisp.el: Use lexical-binding.
3143 (lisp--local-variables-1, lisp--local-variables): New functions.
3144 (lisp--local-variables-completion-table): New var.
208d0342 3145 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 3146
1f8fdd53
SM
3147 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3148 eagerly (bug#14422).
3149
c9628c79
MA
31502013-06-03 Michael Albinus <michael.albinus@gmx.de>
3151
3152 * autorevert.el (auto-revert-notify-enabled)
3153 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3154 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3155 (auto-revert-notify-handler): Handle also gfilenotify.
3156
e7b41c4c 3157 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 3158 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 3159 Remove.
c9628c79 3160
e5e4a942
JL
31612013-06-03 Juri Linkov <juri@jurta.org>
3162
3163 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3164 `M-s h .'. (Bug#14427)
3165
3166 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3167 command `hi-lock-face-symbol-at-point'.
3168 (hi-lock-face-symbol-at-point): New command.
3169 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3170 (hi-lock-menu): Add `highlight-symbol-at-point'.
3171 (hi-lock-mode): Doc fix.
3172
3173 * isearch.el (isearch-forward-symbol-at-point): New command.
3174 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3175 (isearch-highlight-regexp): Add a regexp which matches
3176 words/symbols for word/symbol mode.
3177
3178 * subr.el (find-tag-default-bounds): New function with the body
3179 mostly moved from `find-tag-default'.
3180 (find-tag-default): Move most code to `find-tag-default-bounds',
3181 call it and apply `buffer-substring-no-properties' afterwards.
3182
26b3353a
TH
31832013-06-03 Tassilo Horn <tsdh@gnu.org>
3184
781b4af6
SM
3185 * eshell/em-term.el (eshell-term-initialize):
3186 Use `cl-intersection' rather than `intersection'.
26b3353a 3187
51b60f53
XF
31882013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3189
fe054b63 3190 * vc/log-view.el: Doc fix.
d3ffe17c 3191 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 3192
a0eb10b3 31932013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
3194
3195 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3196 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3197 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3198 (eieio-unbound, eieio-default-superclass)
3199 (eieio--define-field-accessors, method-static, method-before)
3200 (method-primary, method-after, method-num-lists)
3201 (method-generic-before, method-generic-primary)
3202 (method-generic-after, method-num-slots)
3203 (eieio-specialized-key-to-generic-key)
3204 (eieio--check-type, class-v, class-p)
3205 (eieio-class-name, define-obsolete-function-alias)
3206 (eieio-class-parents-fast, eieio-class-children-fast)
3207 (same-class-fast-p, class-constructor, generic-p)
3208 (generic-primary-only-p, generic-primary-only-one-p)
3209 (class-option-assoc, class-option, eieio-object-p)
3210 (class-abstract-p, class-method-invocation-order)
3211 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3212 (eieio-class-un-autoload, eieio-defclass)
3213 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3214 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3215 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3216 (eieio-defgeneric-reset-generic-form)
3217 (eieio-defgeneric-form-primary-only)
3218 (eieio-defgeneric-reset-generic-form-primary-only)
3219 (eieio-defgeneric-form-primary-only-one)
3220 (eieio-defgeneric-reset-generic-form-primary-only-one)
3221 (eieio-unbind-method-implementations)
3222 (eieio--defmethod, eieio--typep)
3223 (eieio-perform-slot-validation, eieio-validate-slot-value)
3224 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3225 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3226 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3227 (eieio-slot-name-index, eieio-class-slot-name-index)
3228 (eieio-set-defaults, eieio-initarg-to-attribute)
3229 (eieio-attribute-to-initarg, eieio-c3-candidate)
3230 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3231 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3232 (eieio-class-precedence-list, eieio-generic-call-methodname)
3233 (eieio-generic-call-arglst, eieio-generic-call-key)
3234 (eieio-generic-call-next-method-list)
3235 (eieio-pre-method-execution-functions, eieio-generic-call)
3236 (eieio-generic-call-primary-only, eieiomt-method-list)
3237 (eieiomt-optimizing-obarray, eieiomt-install)
3238 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3239 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 3240 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
3241 (defclass): Remove `eval-and-compile' from macro.
3242 (call-next-method, shared-initialize): Instead of using
3243 `scoped-class' variable, use new eieio--scoped-class, and
3244 eieio--with-scoped-class.
3245 (initialize-instance): Rename local variable 'scoped-class' to
3246 'this-class' to remove ambiguitity from old global.
3247
3248 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3249 eieio.el.
4f405069
JB
3250 (eieio--scoped-class-stack): New variable.
3251 (eieio--scoped-class): New fcn.
890f7890
DE
3252 (eieio--with-scoped-class): New scoping macro.
3253 (eieio-defclass): Use pushnew instead of add-to-list.
3254 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3255 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3256 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3257 `scoped-class' variable, use new eieio--scoped-class, and
3258 eieio--with-scoped-class.
3259
3260 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3261
d105b0e2
TH
32622013-06-02 Tassilo Horn <tsdh@gnu.org>
3263
3264 * eshell/esh-ext.el (eshell-external-command): Pass args to
3265 `eshell-find-interpreter'.
3266 (eshell-find-interpreter): Add new second parameter ARGS.
3267
3268 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 3269 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
3270
3271 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 3272 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
3273
3274 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3275 (eshell-visual-options): New defcustom.
3276 (eshell-escape-control-x): Adapt docstring.
3277 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3278 `eshell-visual-options' in addition to `eshell-visual-commands'.
3279 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3280
f46305c8 32812013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
3282
3283 * progmodes/python.el (python-indent-block-enders): Add break,
3284 continue and raise keywords.
3285
d870df21
GM
32862013-06-01 Glenn Morris <rgm@gnu.org>
3287
9133b82e
GM
3288 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3289
02c992ec 3290 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
3291 * progmodes/cc-cmds.el (delete-forward-p):
3292 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3293 * progmodes/cc-engine.el (buffer-syntactic-context):
3294 * progmodes/cc-fonts.el (face-property-instance):
3295 * progmodes/cc-mode.el (set-keymap-parents):
3296 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3297 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3298 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
3299 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3300 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 3301
31e7b090
GM
3302 * progmodes/cc-vars.el (other): Emacs has this widget since
3303 at least 21.1, so don't (re)define it.
3304
d870df21
GM
3305 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3306 Replace the obsolete alias pcomplete-arg-quote-list.
3307
c75c93c7
LL
33082013-06-01 Leo Liu <sdl.web@gmail.com>
3309
3310 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3311 punctuation syntax.
3312 (inferior-octave-minimal-columns)
3313 (inferior-octave-last-column-width): New variables.
3314 (inferior-octave-track-window-width-change): New function.
3315 (inferior-octave-mode): Adjust column width so that Octave output,
3316 for example from 'ls', can fit into the window nicely.
3317
973d1e12
DG
33182013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3319
3320 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3321 Highlight expansions inside regexp literals.
3322
0888c286
GM
33232013-05-31 Glenn Morris <rgm@gnu.org>
3324
e26aac1f
GM
3325 * obsolete/sym-comp.el (symbol-complete):
3326 Replace obsolete completion-annotate-function.
3327
0888c286
GM
3328 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3329
19bb8e62
DG
33302013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3331
781b4af6
SM
3332 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3333 New function, checks if point is inside a literal that allows
19bb8e62
DG
3334 expression expansion.
3335 (ruby-syntax-propertize-expansion): Use it.
3336 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3337 around the body.
3338
01dea85f
JL
33392013-05-30 Juri Linkov <juri@jurta.org>
3340
3341 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3342 to "\M-si".
3343 (isearch-invisible): New variable.
3344 (isearch-forward): Doc fix.
3345 (isearch-mode): Set `isearch-invisible'
3346 to the value of `search-invisible'.
3347 (isearch-toggle-case-fold): Doc fix.
3348 (isearch-toggle-invisible): New command.
3349 (isearch-query-replace): Let-bind `search-invisible'
3350 to the value of `isearch-invisible'.
3351 (isearch-search): Use `isearch-invisible' instead of
3352 `search-invisible'. Let-bind `search-invisible'
3353 to the value of `isearch-invisible'. (Bug#11378)
3354
ab1bdce5
JL
33552013-05-30 Juri Linkov <juri@jurta.org>
3356
3357 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3358 call when `query-flag' is nil and `search-invisible' is non-nil.
3359 (Bug#11746)
3360
d6d236e2
GM
33612013-05-30 Glenn Morris <rgm@gnu.org>
3362
8accd027
GM
3363 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3364
2a8bed1c
GM
3365 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3366 (cc-require): Suppress spurious "noruntime" warnings.
3367 (cc-require-when-compile): Use fboundp, for sake of compiler.
3368
d6d236e2
GM
3369 * progmodes/cc-mode.el: Move load of cc-vars before that of
3370 cc-langs (which in turn loads cc-vars), to quieten compiler.
3371
9190b35b
SM
33722013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3374 * paren.el: Simplify the code.
3375 (show-paren-mode): Always start the timer.
3376 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3377 (show-paren--overlay, show-paren--overlay-1): Rename from
3378 show-paren-overlay and show-paren-overlay-1, and initialize to an
3379 overlay rather than to nil.
3380 (show-paren-function): Misc cleanup and simplifications.
3381
4f8d1cf6
SM
33822013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * paren.el (show-paren-data-function): New hook.
3385 (show-paren--default): New function, extracted from show-paren-function.
3386 (show-paren-function): Use show-paren-data-function.
3387
02d844b5
GM
33882013-05-30 Glenn Morris <rgm@gnu.org>
3389
d209d4a9
GM
3390 * ielm.el (ielm-map, ielm-complete-symbol):
3391 Use completion-at-point rather than obsolete functions.
3392 (inferior-emacs-lisp-mode): Doc fix.
3393 Set completion-at-point-functions, rather than
3394 comint-dynamic-complete-functions.
3395
2082faa6
GM
3396 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3397 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3398 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3399
dd8620de
GM
3400 * image.el (image-animated-p): Tweak definition.
3401
ceca95b1
GM
3402 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3403 (rlogin-process-connection-type): Tweak default. Add set-after.
3404 (rlogin-host): Doc fix.
3405 (rlogin): Tweak prompt.
3406 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3407
ee9f1acc
GM
3408 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3409 * progmodes/tcl.el (inferior-tcl-mode-map):
3410 Use completion-at-point rather than obsolete alias.
3411
45ce222e
GM
3412 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3413
02d844b5
GM
3414 * minibuffer.el (read-file-name-completion-ignore-case):
3415 Move before completion--in-region, for eager macro expansion.
3416
ac44d6c1
JL
34172013-05-29 Juri Linkov <juri@jurta.org>
3418
3419 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3420 for total count of matching lines. Add `global-matches' for total
3421 count of matches. Rename `matches' to `lines' for count of
3422 matching lines. Add `matches' for count of matches.
3423 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3424 to `prev-line' for line number of prev match endpt.
3425 Increment `matches' for every match. Print the number of
3426 matching lines in the header.
3427 (occur-context-lines): Rename `lines' to `curr-line'.
3428 Rename `prev-lines' to `prev-line'. (Bug#14017)
3429
3c9c9d38
JL
34302013-05-29 Juri Linkov <juri@jurta.org>
3431
3432 * replace.el (perform-replace): Add `skip-read-only-count',
3433 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3434 Increment them for corresponding conditions and report the number
3435 of skipped occurrences in the final message. (Bug#11746)
3436 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3437 (replace-string, replace-regexp): Doc fix.
3438
33e249a2
SM
34392013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3440
8e399682
SM
3441 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3442
33e249a2 3443 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 3444 prog-mode-map (bug#14504).
33e249a2 3445
f236dd84
LL
34462013-05-29 Leo Liu <sdl.web@gmail.com>
3447
3448 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3449 (octave-help): Small simplification.
3450
3451 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3452 off the highlight first.
3453
3694d13f
GM
34542013-05-29 Glenn Morris <rgm@gnu.org>
3455
03983bdc
GM
3456 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3457 Handle idlwave-last-system-routine-info-cons-cell being nil.
3458
bc74a74a
GM
3459 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3460 (idlwave-write-paths): Simplify via with-temp-buffer.
3461
8b394200
GM
3462 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3463 * emulation/cua-rect.el: Also load cua-base at run time.
3464
3694d13f
GM
3465 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3466 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3467 (cperl-imenu-on-info): Require imenu.
3468
336d7284
AM
34692013-05-28 Alan Mackenzie <acm@muc.de>
3470
3471 Handle "capitalised keywords" correctly.
33e249a2 3472 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 3473
cb29c582
AG
34742013-05-28 Aidan Gauland <aidalgol@amuri.net>
3475
781b4af6 3476 * eshell/em-unix.el: Add -r option to cp.
cb29c582 3477
690e44b2
GM
34782013-05-28 Glenn Morris <rgm@gnu.org>
3479
e658d75c
GM
3480 * vc/vc-arch.el (vc-exec-after): Declare.
3481 (vc-switches): Autoload.
3482 * vc/vc-bzr.el: No need to require vc when compiling.
3483 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3484 (vc-resynch-buffer, vc-dir-refresh): Declare.
3485 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
3486 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3487 (vc-resynch-buffer): Declare.
3488 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 3489 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
3490 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3491 (grep-read-regexp, grep-read-files, grep-expand-template)
3492 (vc-dir-refresh): Declare.
3493 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3494 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3495 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
3496 * vc/vc-mtn.el (vc-exec-after): Declare.
3497 (vc-switches): Autoload.
3498 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3499 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3500 (vc-file-tree-walk): Declare.
712b9732
GM
3501 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3502 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3503 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
3504 * vc/vc-svn.el (vc-exec-after): Declare.
3505 (vc-switches, vc-setup-buffer): Autoload.
3506 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3507 Autoload.
3508 (vc-resynch-buffer): Declare.
3509
98e87fb3
GM
3510 * obsolete/fast-lock.el (byte-compile-warnings):
3511 Don't warn about obsolete features in this obsolete file.
3512
f5379553
GM
3513 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3514 Move definition before use.
3515
7a20ef83
GM
3516 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3517 (dun-unix-verbs): Remove dun-zippy.
3518 (dun-zippy): Remove function.
3519
690e44b2
GM
3520 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3521
3a52ccf7
JL
35222013-05-27 Juri Linkov <juri@jurta.org>
3523
3524 * replace.el (replace-search): New function with code moved out
3525 from `perform-replace'.
3526 (replace-highlight, replace-dehighlight): Move function definitions
3527 up closer to `replace-search'. (Bug#11746)
3528
d289938a
JL
35292013-05-27 Juri Linkov <juri@jurta.org>
3530
3531 * replace.el (perform-replace): Ignore invisible matches.
3532 In addition to checking `query-replace-skip-read-only', also
3533 filter out matches by calling `run-hook-with-args-until-failure'
3534 on `isearch-filter-predicates', and also check `search-invisible'
3535 for t or call `isearch-range-invisible'.
3536 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3537
66fc57e3
JL
35382013-05-27 Juri Linkov <juri@jurta.org>
3539
3540 * isearch.el (isearch-filter-predicates): Rename from
3541 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3542 (isearch-message-prefix): Display text from the property
3543 `isearch-message-prefix' of the currently active filters.
3544 (isearch-search): Don't compare `isearch-filter-predicate' with
3545 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3546 on `isearch-filter-predicates'. Also check `search-invisible' for t
3547 or call `isearch-range-invisible'.
3548 (isearch-filter-visible): Make obsolete.
3549 (isearch-lazy-highlight-search):
3550 Call `run-hook-with-args-until-failure' on
3551 `isearch-filter-predicates' and use `isearch-range-invisible'.
3552
3553 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3554 `isearch-filter-predicates' instead of `funcall'ing
3555 `isearch-filter-predicate'.
3556 (Info-mode): Set `Info-isearch-filter' to
3557 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3558
3559 * dired-aux.el (dired-isearch-filter-predicate-orig):
3560 Remove variable.
3561 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3562 (dired-isearch-filenames-end): Add and remove
3563 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3564 instead of changing the value of `isearch-filter-predicate'.
3565 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3566 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3567 Put property `isearch-message-prefix' to "filename " on
3568 `dired-isearch-filter-filenames'.
3569
3570 * wdired.el (wdired-change-to-wdired-mode):
3571 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3572 locally instead of changing `isearch-filter-predicate'.
3573 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3574
f1a60a0f
DG
35752013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3576
3577 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3578 return the commit hash (Bug#14459). Also set the
3579 `vc-git-detached' property.
3580 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3581 (vc-git-mode-line-string): Use the same help-echo format whether
3582 in detached mode or not, because we know the actual revision now.
3583 When in detached mode, shorten the revision to 7 chars.
3584
7f17cc40
SM
35852013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * emacs-lisp/easy-mmode.el (define-minor-mode):
3588 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3589 mode hook and provide a docstring.
3590
25c8401c
AM
35912013-05-27 Alan Mackenzie <acm@muc.de>
3592
3593 Remove spurious syntax-table text properties inserted by C-y.
3594 * progmodes/cc-mode.el (c-after-change): Also clear hard
3595 syntax-table property with value nil.
3596
dde84790
MA
35972013-05-27 Michael Albinus <michael.albinus@gmx.de>
3598
3599 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3600 when reading the events; the buffer layout shall not be changed.
3601
837fd9af
LL
36022013-05-27 Leo Liu <sdl.web@gmail.com>
3603
3604 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3605 New variable.
3606 (inferior-octave-directory-tracker): Automatically re-sync
3607 default-directory.
3608 (octave-help): Improve handling of 'See also'.
3609
4fd996b3
SM
36102013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3611
416f1802
SM
3612 * doc-view.el: Minor naming convention tweaks.
3613 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3614
4fd996b3
SM
3615 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3616 even if there's no `display' property yet (bug#14435).
3617
a052ef3b
EZ
36182013-05-25 Eli Zaretskii <eliz@gnu.org>
3619
4fd996b3 3620 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
3621
3622 * Makefile.in (custom-deps, finder-data, autoloads)
3623 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3624 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3625 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3626
c9023370
SM
36272013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3630 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 3631 Don't burp at EOB.
c9023370 3632
24d699fa
LL
36332013-05-25 Leo Liu <sdl.web@gmail.com>
3634
3635 * comint.el (comint-previous-matching-input): Do not flood the
3636 *Messages* buffer with trivial messages.
3637
17e5c0cc
SM
36382013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3639
3640 * progmodes/flymake.el (flymake-nop): Don't return a string.
3641 (flymake-set-at): Fix typo.
3642
3643 * simple.el (read--expression): New function, extracted from
3644 eval-expression. Set completion-at-point-functions (bug#14465).
3645 (eval-expression, eval-minibuffer): Use it.
3646
5d028165
XF
36472013-05-25 Xue Fuqiao <xfq.free@gmail.com>
3648
3649 * progmodes/flymake.el (flymake-save-buffer-in-file)
3650 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3651 (flymake-selected-frame, flymake-log, flymake-ins-after)
3652 (flymake-set-at, flymake-get-buildfile-from-cache)
3653 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3654 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3655 Refine the doc string.
3656 (flymake-get-file-name-mode-and-masks): Reformat.
3657 (flymake-get-real-file-name-function): Fix a minor bug.
3658
7a1d7ba7
JL
36592013-05-24 Juri Linkov <juri@jurta.org>
3660
3661 * progmodes/grep.el (grep-mode-font-lock-keywords):
3662 Support =linenumber= format used by git-grep for lines with
3663 function names. (Bug#13549)
3664
650cff3d
SM
36652013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 * progmodes/octave.el (octave-smie-rules): Return nil rather than
3668 0 after a semi-colon; it works better for smie-auto-fill.
3669 (octave--indent-new-comment-line): New function.
3670 (octave-indent-new-comment-line): Use it (indirectly).
3671 (octave-mode): Don't disable smie-auto-fill. Use add-function to
3672 modify comment-line-break-function.
3673
3674 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3675 (smie-setup): Use add-function to set it.
3676
9631677d
SS
36772013-05-24 Sam Steingold <sds@gnu.org>
3678
3679 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3680 argument (before the `interactive' argument).
3681
50105835
SM
36822013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * image-mode.el (image-mode-winprops): Add winprops to
3685 image-mode-winprops-alist before running
3686 image-mode-new-window-functions.
3687 * doc-view.el (doc-view-new-window-function): Don't delay
3688 doc-view-goto-page via timers (bug#14435).
3689
57b9823e
TH
36902013-05-24 Tassilo Horn <tsdh@gnu.org>
3691
3692 * doc-view.el: Integrate with desktop.el. (Bug#14435)
3693 (doc-view-desktop-save-buffer): New function.
3694 (doc-view-restore-desktop-buffer): New function.
50105835
SM
3695 (desktop-buffer-mode-handlers):
3696 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
3697 handler.
3698 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3699 `desktop-save-buffer' function.
3700
91aafa16
MA
37012013-05-24 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3704 (tramp-gvfs-file-name-handler): Raise a user error when
3705 `tramp-gvfs-enabled' is nil.
3706 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3707 Do not raise a user error when loading package. (Bug#14447)
3708
ec076379
MA
3709 * net/xesam.el: Move to obsolete/.
3710
db785726
GM
37112013-05-24 Glenn Morris <rgm@gnu.org>
3712
af5c7606
GM
3713 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3714
e5d1916a
GM
3715 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3716
ded62b08
GM
3717 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3718 (Info-find-node, Man-getpage-in-background): Declare.
3719
9e614a3f
GM
3720 * mail/unrmail.el (unrmail):
3721 Replace obsolete detect-coding-with-priority.
3722
892f8ca3
GM
3723 * net/socks.el (socks-split-string): Use this rather than split-string.
3724 (socks-nslookup-host): Update for above change.
3725 (dynamic-choice, s5-dynamic-choice-match)
3726 (s5-dynamic-choice-match-inline, s5-widget-value-create):
3727 Comment out unused code.
3728
3c291973
GM
3729 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3730 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3731 (gud-tooltip-echo-area): Make obsolete.
3732 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3733
43cc956b
GM
3734 * progmodes/js.el (js--optimize-arglist): Declare.
3735
dab49a3b
GM
3736 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3737
36b9d085
GM
3738 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3739 (ediff-window-C): Declare.
3740
e354ae76
GM
3741 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3742 Tweak requires to silence compiler.
3743
b8e57bf4
GM
3744 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3745 (he-search-string, he-tried-table, he-expand-list)
3746 (he-init-string, he-string-member, he-substitute-string)
3747 (he-reset-string): Declare.
3748
db785726
GM
3749 * obsolete/options.el (list-options): Use custom-variable-p,
3750 rather than obsolete alias.
3751
b3531901
SS
37522013-05-23 Sam Steingold <sds@gnu.org>
3753
3754 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 3755 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
3756 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3757
bdda4c66
SM
37582013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * emacs-lisp/smie.el (smie-indent-forward-token)
3761 (smie-indent-backward-token): Handle string tokens (bug#14381).
3762
c43d45f9
TH
37632013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3764
fe1eb856
RS
3765 * ielm.el (ielm-menu): New menu.
3766 (inferior-emacs-lisp-mode): Set comment-start.
96172128 3767
fe1eb856
RS
37682013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3769
3770 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3771 Fix deactivate action.
3772
3773 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3774 Add cleveref macros.
074dd971 3775
c43d45f9
TH
3776 * lisp/textmodes/reftex-parse.el
3777 (reftex-locate-bibliography-files): Accept options for
3778 bibliography commands.
3779 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3780 Add addbibresource. Basic Biblatex support.
3781
7764286e
MA
37822013-05-23 Michael Albinus <michael.albinus@gmx.de>
3783
3784 * net/tramp-gvfs.el (top):
3785 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3786 when loading package. (Bug#14447)
3787
d361bc10
GM
37882013-05-23 Glenn Morris <rgm@gnu.org>
3789
8fa23984
GM
3790 * progmodes/js.el: No need to load comint when compiling.
3791 (ring-insert, comint-send-string, comint-send-input)
3792 (comint-last-input-end, ido-chop): Declare.
3793
a5c7df1a
GM
3794 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3795 * vc/ediff-mult.el: Adjust requires.
3796 (ediff-directories-internal, ediff-directory-revisions-internal)
3797 (ediff-patch-file-internal): Declare.
3798 * vc/ediff-ptch.el: Adjust requires.
3799 (ediff-use-last-dir, ediff-buffers-internal): Declare.
3800 (ediff-find-file): Autoload.
3801 * vc/ediff-util.el: No need to load ediff when compiling.
3802 (ediff-regions-internal): Declare.
3803 * vc/ediff-wind.el: Adjust requires.
3804 (ediff-compute-toolbar-width): Define when compiling.
3805 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3806 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3807 (dired-get-filename, dired-get-marked-files)
3808 (ediff-last-dir-patch, ediff-patch-default-directory)
3809 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3810 (ediff-patch-buffer-internal): Declare.
3811
e2aec513
GM
3812 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3813 (ispell-process, ispell-buffer-local-words, lm-summary)
3814 (lm-section-start, lm-section-end): Declare.
3815 (checkdoc-ispell-init): Simplify.
3816
e68bbd7c
GM
3817 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3818 (he-string-member, he-reset-string, he-substitute-string): Declare.
3819
7efe0991
GM
3820 * eshell/em-ls.el: Adjust requires.
3821 (eshell-glob-regexp): Declare.
f87b1284
GM
3822 * eshell/em-tramp.el: Adjust requires.
3823 (eshell-parse-command): Autoload.
3824 * eshell/em-xtra.el: Adjust requires.
3825 (eshell-parse-command): Autoload.
3826 * eshell/esh-ext.el: Adjust requires.
3827 (eshell-parse-command, eshell-close-handles): Autoload.
3828 * eshell/esh-io.el: Adjust requires.
3829 (eshell-output-filter): Autoload.
3830 * eshell/esh-util.el: No need to load tramp when compiling.
3831 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3832 Declare.
3833 (eshell-parse-ange-ls): Require ange-ftp and tramp.
3834 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3835 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3836 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3837 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3838 * eshell/esh-opt.el, eshell/esh-proc.el:
3839 * eshell/esh-var.el: Adjust requires.
3840 * eshell/eshell.el: Do not require esh-util twice.
3841 (eshell-add-input-to-history): Declare.
3842 (eshell-command): Check history module is active before using it.
3843
d361bc10
GM
3844 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3845
85d090a9
LL
38462013-05-22 Leo Liu <sdl.web@gmail.com>
3847
3848 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3849
5d0acd9d
MA
38502013-05-22 Michael Albinus <michael.albinus@gmx.de>
3851
3852 * autorevert.el (auto-revert-notify-add-watch)
3853 (auto-revert-notify-handler): Add `attrib' for the inotify case,
3854 it indicates changes in file modification time.
3855
0cdffd7d
GM
38562013-05-22 Glenn Morris <rgm@gnu.org>
3857
ca5995ec
GM
3858 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3859 Always delete the autoloaded function from the noruntime and
3860 unresolved functions lists.
3861
6450907e
GM
3862 * allout.el: No need to load epa, epg, overlay when compiling.
3863 (epg-context-set-passphrase-callback, epg-list-keys)
3864 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3865 (epg-key-user-id-list): Declare.
3866
9c6906f6
GM
3867 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3868 (viper-set-parsing-style-toggling-macro)
3869 (viper-set-emacs-state-searchstyle-macros):
3870 Use called-interactively-p on Emacs.
3871 (viper-looking-back): Make it an obsolete alias. Update callers.
3872 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3873 Use looking-back rather than viper-looking-back.
3874 (viper-tmp-insert-at-eob, viper-enlarge-region)
3875 (viper-read-string-with-history, viper-register-to-point)
3876 (viper-append-to-register, viper-change-state-to-vi)
3877 (viper-backward-char-carefully, viper-forward-char-carefully)
3878 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3879 (viper-change-state-to-emacs): Declare.
3880 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3881 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3882 * emulation/viper-mous.el: Do not load viper-cmd.
3883 (viper-backward-char-carefully, viper-forward-char-carefully)
3884 (viper-forward-word, viper-adjust-window): Declare.
3885
5f70c169
GM
3886 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3887
b1b7f300
GM
3888 * progmodes/idlw-help.el (idlwave-help-fontify):
3889 Use called-interactively-p.
3890
f6ebbb46
GM
3891 * term/w32console.el (w32-get-console-codepage)
3892 (w32-get-console-output-codepage): Declare.
3893
0cdffd7d
GM
3894 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3895 Remove unnecessary declarations.
3896 (dframe-message): Doc fix.
3897
3898 * info.el (dframe-select-attached-frame, dframe-current-frame):
3899 Declare.
3900
3901 * speedbar.el (speedbar-message): Make it an obsolete alias.
3902 Update all callers.
3903 (speedbar-with-attached-buffer)
3904 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
3905 (speedbar-with-writable): Use backquote.
3906 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
3907 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3908 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
3909 rather than speedbar- aliases.
3910 * mail/rmail.el: Load dframe rather than speedbar when compiling.
3911 (speedbar-make-specialized-keymap, speedbar-insert-button)
3912 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
3913 (speedbar-do-function-pointer): Declare.
3914 (rmail-speedbar-button, rmail-speedbar-find-file)
3915 (rmail-speedbar-move-message):
3916 Use dframe-with-attached-buffer rather than speedbar- alias.
3917 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
3918 (dframe-message, speedbar-make-specialized-keymap)
3919 (speedbar-add-expansion-list, speedbar-mode-functions-list)
3920 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
3921 (speedbar-insert-button, dframe-select-attached-frame)
3922 (dframe-maybee-jump-to-attached-frame)
3923 (speedbar-change-initial-expansion-list)
3924 (speedbar-previously-used-expansion-list-name): Declare.
3925 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
3926 Use dframe-message, dframe-with-attached-buffer rather than
3927 speedbar- aliases.
3928 (gud-sentinel): Silence compiler.
3929 * progmodes/vhdl-mode.el (speedbar-refresh)
3930 (speedbar-do-function-pointer, speedbar-add-supported-extension)
3931 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
3932 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
3933 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
3934 (speedbar-file-lists, speedbar-make-tag-line)
3935 (speedbar-line-directory, speedbar-goto-this-file)
3936 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
3937 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
3938 (speedbar-make-button, speedbar-reset-scanners)
3939 (speedbar-files-item-info, speedbar-line-text)
3940 (speedbar-find-file-in-frame, speedbar-set-timer)
3941 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
3942 (speedbar-with-writable): Do not (re)define it.
3943 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
3944 rather than speedbar- alias.
3945
ee44b62a
LL
39462013-05-21 Leo Liu <sdl.web@gmail.com>
3947
3948 * progmodes/octave.el (octave-mode-menu): Update and re-organize
3949 menu items.
3950 (octave-mode): Tweak fill-nobreak-predicate.
3951 (inferior-octave-startup): Check process to avoid infinite loop.
3952 (inferior-octave): Pop to buffer first to show abornmal process
3953 exit information.
3954
640f050f
GM
39552013-05-21 Glenn Morris <rgm@gnu.org>
3956
79458038
GM
3957 * printing.el (pr-menu-bar): Define when compiling.
3958
9cc3e83f
LL
39592013-05-21 Leo Liu <sdl.web@gmail.com>
3960
3961 * progmodes/octave.el (octave-auto-fill): Remove.
3962 (octave-indent-new-comment-line): Improve.
3963 (octave-mode): Use auto fill mode through
4f405069 3964 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 3965 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 3966 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
3967 (octave-help): Show parent directory.
3968
f440830d
GM
39692013-05-21 Glenn Morris <rgm@gnu.org>
3970
3971 * files.el (dired-unmark):
3972 * progmodes/gud.el (gdb-input): Update declarations.
3973
3974 * calculator.el (electric, ehelp): No need to load when compiling.
3975 (Electric-command-loop, electric-describe-mode): Declare.
3976
3977 * doc-view.el (doc-view-current-converter-processes): Move before use.
3978
3979 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3980 Move MODE-set-explicitly definition before use.
3981
3982 * international/mule-diag.el (mule-diag):
3983 Don't use obsolete window-system-version.
3984
3985 * mail/feedmail.el (smtpmail): No need to load when compiling.
3986 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
3987
3988 * mail/mail-utils.el (rfc822): No need to load when compiling.
3989 (rfc822-addresses): Autoload it.
3990 (mail-strip-quoted-names): Trivial simplification.
3991
3992 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
3993 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
3994
3995 * net/snmp-mode.el (tempo): Don't duplicate requires.
3996
3997 * progmodes/prolog.el (info): No need to load when compiling.
3998 (comint): Require before shell requires it.
3999 (Info-goto-node): Autoload it.
4000 (Info-follow-nearest-node): Declare.
4001 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4002
4003 * textmodes/artist.el (picture-mode-exit): Declare.
4004
4005 * textmodes/reftex-parse.el (reftex-parse-from-file):
4006 Trivial rewrite so the compiler can parse it better.
4007
b4da2cbb
LL
40082013-05-20 Leo Liu <sdl.web@gmail.com>
4009
4010 * progmodes/octave.el (octave-help-mode-map)
4011 (octave-help-mode-finish-hook): New variables.
4012 (octave-help-mode, octave-help-mode-finish): New functions.
4013 (octave-help): Use octave-help-mode.
4014
33c0f65b
GM
40152013-05-20 Glenn Morris <rgm@gnu.org>
4016
4017 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4018
1a0a0a8a
DG
40192013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4020
4021 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4022 start at point, so that expansion starting right after opening
4023 slash in a regexp is recognized.
4024 (ruby-syntax-before-regexp-re): New defvar, extracted from
4025 ruby-syntax-propertize-function. Since the value of this regexp
4026 is looked up at runtime now, we should be able to turn
4027 `ruby-syntax-methods-before-regexp' into a defcustom later.
4028 (ruby-syntax-propertize-function): Split regexp matching into two
4029 parts, for opening and closing slashes. That allows us to skip
4030 over string interpolations and support multiline regexps.
4031 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4032 for them, which calls `ruby-syntax-propertize-expansion'.
4033 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4034 call to `ruby-syntax-propertize-function'.
4035 (ruby-syntax-propertize-expansion): Extracted from
4036 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
4037 (ruby-syntax-propertize-percent-literal): Leave point right after
4038 the percent symbol, so that the expression expansion rule can
4039 propertize the contents.
462388b6
DG
4040 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4041 heredoc openers.
4042 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 4043
c1a6c0a4
JL
40442013-05-18 Juri Linkov <juri@jurta.org>
4045
4046 * man.el (Man-default-man-entry): Remove `-' from the end
4047 of the default value. (Bug#14400)
4048
8051fccd
GM
40492013-05-18 Glenn Morris <rgm@gnu.org>
4050
4051 * comint.el (comint-password-prompt-regexp):
4052 Allow "password for XXX" where XXX contains colons (eg https://...).
4053
5e80b74f
LL
40542013-05-18 Leo Liu <sdl.web@gmail.com>
4055
4056 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 4057 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
4058 (octave-source-directories): Don't check process.
4059 (octave-source-directories, octave-find-definition): Doc fix.
4060
521a54c5
GM
40612013-05-18 Glenn Morris <rgm@gnu.org>
4062
86a94b05
GM
4063 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4064 Remove backspace/delete bindings. (Bug#14392)
4065
521a54c5
GM
4066 * cus-dep.el (custom-make-dependencies): Sort the output.
4067 (custom-versions-load-alist): Convert comment to doc.
4068
42caeb89
LL
40692013-05-17 Leo Liu <sdl.web@gmail.com>
4070
4071 * newcomment.el (comment-search-backward): Stricter in finding
4072 comment start. (Bug#14303)
4073
4074 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4075 (octave-comment-start-skip): Properly anchored.
4076
e219dd97
LL
40772013-05-17 Leo Liu <sdl.web@gmail.com>
4078
fe1eb856
RS
4079 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4080 Clean up when turned off. (Bug#14395)
e219dd97
LL
4081 (smie--highlight-matching-block-overlay): No longer buffer-local.
4082 (smie-highlight-matching-block): Adjust.
4083
dc5dcb4b
PE
40842013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4085
4086 Doc string fix for "nanoseconds" (Bug#14406).
4087 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4088 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4089
1db165f0
JB
40902013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4091
4092 * calc/calc-units.el (math-extract-units): Preserve powers
4093 of units.
4094
c7a8fcac
LL
40952013-05-17 Leo Liu <sdl.web@gmail.com>
4096
4097 * subr.el (delete-consecutive-dups): New function.
4098 * ido.el (ido-set-matches-1): Use it.
4099 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4100 * ido.el (ido-remove-consecutive-dups): Remove.
4101
f678b18a
SM
41022013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4105 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4106 regexp-opt's `words'.
4107
ebfe68e8
LL
41082013-05-16 Leo Liu <sdl.web@gmail.com>
4109
4110 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4111 (smie--highlight-matching-block-overlay)
4112 (smie--highlight-matching-block-lastpos)
4113 (smie--highlight-matching-block-timer): New variables.
4114 (smie-highlight-matching-block): New function.
4115 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4116 (smie-setup): Conditionally enable smie-blink-matching-open.
4117
bc8bc17d
WS
41182013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4119
4120 Sync with upstream verilog-mode r840.
4121 * progmodes/verilog-mode.el (verilog-mode-version)
4122 (verilog-mode-release-date): Update.
4123 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4124 (verilog-sig-tieoff): Fix string error on
4125 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4126 (verilog-read-decls): Fix parameters confusing
4127 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4128
df065a0b
EZ
41292013-05-16 Eli Zaretskii <eliz@gnu.org>
4130
4131 * subr.el (reveal-filename): New function.
4132
4133 * loadup.el: Compute Emacs executable versions on MS-Windows,
4134 where executables have the .exe extension. Add a hard link
4135 emacs-XX.YY.ZZ.exe on MS-Windows.
4136
4137 * Makefile.in (XARGS_LIMIT): New variable.
4138 (custom-deps, finder-data, autoloads)
4139 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4140 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4141 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4142 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4143
2d4bf34b
LL
41442013-05-16 Leo Liu <sdl.web@gmail.com>
4145
4146 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4147 (octave-mode-menu, octave-mode-map): Remove its uses.
4148
6b9c2d85
RZ
41492013-05-16 Reto Zimmermann <reto@gnu.org>
4150
4151 Sync with upstream vhdl mode v3.34.2.
4152 * progmodes/vhdl-mode.el: Use `push' throughout.
4153 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4154 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4155 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4156 (vhdl-actual-generic-name): New option to derive actual generic name.
4157 (vhdl-port-paste-signals): Replace formal by actual generics.
4158 (vhdl-beautify): New name for old group vhdl-align. Update users.
4159 (vhdl-beautify-options): New option.
4160 (vhdl-last-input-event): New compat alias. Use throughout.
4161 (vhdl-goto-line): Replace user level function `goto-line'.
4162 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4163 vhdl-fix-statement-buffer.
4164 (vhdl-create-mode-menu): Add some entries.
4165 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4166 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4167 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4168 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4169 to force statements on one line.
4170 (vhdl-remove-trailing-spaces-region):
4171 New, split from vhdl-remove-trailing-spaces.
4172 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4173 Respect vhdl-beautify-options.
4174 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4175 (vhdl-update-sensitivity-list): Not add with index if exists without.
4176 Not include array index with signal. Ignore keywords in comments.
4177 (vhdl-get-visible-signals): Regexp tweaks.
4178 (vhdl-template-component-inst): Handle empty library.
4179 (vhdl-template-type): Add template for 'enum' type.
4180 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4181 Use vhdl-replace-string.
4182 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4183 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4184 (vhdl-speedbar-initialize): Update for above name change.
4185 (vhdl-compose-wire-components): Fix in handling of constants.
4186 (vhdl-error-regexp-emacs-alist): New variable.
4187 (vhdl-error-regexp-add-emacs): New function;
4188 adds support for new compile.el (Emacs 22+)
4189 (vhdl-generate-makefile-1): Change target order for single lib. units.
4190 Allow use of absolute file names.
4191
9df4ec5e
LL
41922013-05-16 Leo Liu <sdl.web@gmail.com>
4193
4194 * simple.el (prog-indent-sexp): Indent enclosing defun.
4195
f5ba00a6
GM
41962013-05-15 Glenn Morris <rgm@gnu.org>
4197
ed8be7ff
GM
4198 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4199 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4200 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4201 (whitespace-highlight): Move to whitespace group.
4202
4203 * comint.el (comint-source):
4204 * pcmpl-linux.el (pcmpl-linux):
4205 * shell.el (shell-faces):
4206 * eshell/esh-opt.el (eshell-opt):
4207 * international/ccl.el (ccl): Remove empty custom groups.
4208
4209 * completion.el (dynamic-completion-mode):
4210 * jit-lock.el (jit-lock-debug-mode):
4211 * minibuffer.el (completion-in-region-mode):
4212 * type-break.el (type-break-mode-line-message-mode)
4213 (type-break-query-mode):
4214 * emulation/tpu-edt.el (tpu-edt-mode):
4215 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4216 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4217 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4218
4219 * term/xterm.el (xterm): Change parent group to terminals.
4220
4221 * master.el (master): Remove empty custom group.
4222 (master-mode): Remove unused :group argument.
4223 * textmodes/refill.el (refill): Remove empty custom group.
4224 (refill-mode): Remove unused :group argument.
4225
4226 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4227
82a7c41b
GM
4228 * cus-dep.el: Provide a feature.
4229 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
4230 Don't mistakenly ignore files whose basenames match a basename
4231 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 4232 Add a fallback method for getting :group.
f5ba00a6 4233
6d65486d
JL
42342013-05-15 Juri Linkov <juri@jurta.org>
4235
da547b32
JL
4236 * isearch.el (isearch-char-by-name): Rename from
4237 `isearch-insert-char-by-name'. Doc fix.
4238 (isearch-forward): Mention `isearch-char-by-name' in
4239 the docstring. (Bug#13348)
4240
6d65486d
JL
4241 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4242 `exit-minibuffer' instead of
4243 `isearch-nonincremental-exit-minibuffer'.
4244 (isearch-edit-string): Remove mention of
4245 `isearch-nonincremental-exit-minibuffer' from docstring.
4246 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4247 (isearch-forward-exit-minibuffer)
4248 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4249
c9990474
SM
42502013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4251
6e911150
SM
4252 * loadup.el: Just use unversioned DOC.
4253
c9990474
SM
4254 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4255 literals as extending to EOB.
4256 (nxml-last-fontify-end): Remove unused variable.
4257 (nxml-after-change1): Use with-silent-modifications.
4258 (nxml-extend-after-change-region): Simplify.
4259 (nxml-extend-after-change-region1): Remove function.
4260 (nxml-after-change1): Don't adjust for dependent regions.
4261 (nxml-fontify-matcher): Simplify.
4262 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4263 (xmltok-add-dependent): Remove function.
4264 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4265 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4266 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4267 unclosed <[[, <?, comment, and other literals as extending to EOB.
4268 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4269 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4270 Remove functions.
4271 (rng-do-some-validation-1): Don't mark dependent regions.
4272 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4273 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4274 (nxml-clear-dependent-regions): Remove functions.
4275 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4276 (nxml-ensure-scan-up-to-date):
4277 Don't clear&mark dependent regions.
4278
e3772e98
LL
42792013-05-15 Leo Liu <sdl.web@gmail.com>
4280
c9990474
SM
4281 * progmodes/octave.el (octave-goto-function-definition):
4282 Improve and fix callers.
e3772e98 4283
5ac2eb34
SM
42842013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4285
c46c57b0
SM
4286 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4287 the setter (bug#14387).
4288
5ac2eb34
SM
4289 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4290 surrounding group (bug#14402).
4291
180ed218
JL
42922013-05-14 Juri Linkov <juri@jurta.org>
4293
4294 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4295 (Bug#14390)
4296
0ac0fecb
GM
42972013-05-14 Glenn Morris <rgm@gnu.org>
4298
4299 * progmodes/f90.el (f90-imenu-generic-expression):
4300 Fix typo in 2013-05-08 change. (Bug#14402)
4301
2e78e6a7
JPG
43022013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4303
5ac2eb34
SM
4304 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4305 Remove signals for which replies are never received.
2e78e6a7 4306
53267cca
JPG
43072013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4308
4309 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4310 (gdb-handler-alist, gdb-handler-number): Remove variables.
4311 (gdb-handler-list): New variable.
4312 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4313 (gdb-pending-handler-p, gdb-handle-reply)
4314 (gdb-remove-all-pending-triggers): New functions.
4315 (gdb-discard-unordered-replies): New defcustom.
4316 (gdb-handler): New defstruct.
4317 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4318 instead of gdb-pending-triggers. Update docstring.
4319 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4320 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4321 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4322 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4323 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4324 (gdb-frame-handler): Pending triggers are now automatically managed.
4325 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4326 Remove argument.
4327 (gdb-input): Automatically handles pending triggers. Update docstring.
4328 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4329 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4330 Update comments.
4331 (gdb-done-or-error): Now use gdb-handle-reply.
4332
d04ce803
JPG
43332013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4334
4335 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4336 gdb-debug-log.
4337
0114073a
GM
43382013-05-14 Glenn Morris <rgm@gnu.org>
4339
4340 * subr.el (user-emacs-directory-warning): New option.
4341 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4342
4d25fd7e
LL
43432013-05-14 Leo Liu <sdl.web@gmail.com>
4344
4345 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4346 during redisplay.
4347 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
4348 (octave-font-lock-texinfo-comment): Fix invalid search bound
4349 error: wrong side of point.
4d25fd7e 4350
27c8b6eb
GM
43512013-05-14 Glenn Morris <rgm@gnu.org>
4352
61aaeb01
GM
4353 * progmodes/flymake.el (flymake-xml-program): New option.
4354 (flymake-xml-init): Use it.
4355
5bf90bc5
GM
4356 * term/xterm.el: Provide a feature.
4357
4358 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 4359
f4c7dfd2
GM
43602013-05-13 Glenn Morris <rgm@gnu.org>
4361
4362 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4363 Add compat aliases as a hack workaround. (Bug#14384)
4364
2aeb3a1d
LL
43652013-05-13 Leo Liu <sdl.web@gmail.com>
4366
b0e069c2
LL
4367 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4368 ###, and %!.
f5a9432f
LL
4369 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4370 C-M-q.
b0e069c2
LL
4371 (octave-comment-start-skip): Include %!.
4372 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 4373
30ea8374
LL
43742013-05-12 Leo Liu <sdl.web@gmail.com>
4375
4376 * progmodes/octave.el (inferior-octave-startup): Store the value
4377 of __octave_srcdir__ for octave-source-directories.
4378 (inferior-octave-check-process): New function refactored out of
4379 inferior-octave-send-list-and-digest.
4380 (octave-source-directories)
4381 (octave-find-definition-filename-function): New variables.
4382 (octave-source-directories)
4383 (octave-find-definition-default-filename): New functions.
4384 (octave-find-definition): Improve to find functions implemented in C++.
4385
472a3834
GM
43862013-05-12 Glenn Morris <rgm@gnu.org>
4387
4388 * calendar/diary-lib.el (diary-outlook-format-1):
4389 Don't include dayname in the output. (Bug#14349)
4390
3191b52f
GM
43912013-05-11 Glenn Morris <rgm@gnu.org>
4392
0060ac73
GM
4393 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4394
3191b52f
GM
4395 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4396 Treat cc-provide like provide.
4397
e065ba74
KR
43982013-05-11 Kevin Ryde <user42@zip.com.au>
4399
4400 * cus-dep.el (custom-make-dependencies):
4401 Use generated-autoload-load-name for the sake of files such
4402 such cedet/semantic/bovine/c.el, where the base file name
4403 is not in load-path. (Bug#5277)
4404
36f84c37
GM
44052013-05-11 Glenn Morris <rgm@gnu.org>
4406
4407 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4408 Provide features.
4409
c8730c3a
LL
44102013-05-11 Leo Liu <sdl.web@gmail.com>
4411
4412 * progmodes/octave.el (octave-indent-comment): Improve.
4413 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
4414 (octave-eldoc-function-signatures, octave-eldoc-function):
4415 New functions.
c8730c3a
LL
4416 (octave-mode, inferior-octave-mode): Add eldoc support.
4417
212e29f2
RS
44182013-05-11 Richard Stallman <rms@gnu.org>
4419
4420 * epa.el (epa-decrypt-file): Take output file name as argument
4421 and read it using `interactive'.
4422
083fe0d7
LL
44232013-05-11 Leo Liu <sdl.web@gmail.com>
4424
4425 * progmodes/octave.el (octave-beginning-of-line)
4426 (octave-end-of-line): Check before using up-list because it jumps
4427 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
4428 (octave-indent-comment): New function.
4429 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
4430 (octave-begin-keywords, octave-end-keywords)
4431 (octave-reserved-words, octave-smie-bnf-table)
4432 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 4433
8582e4c4
GM
44342013-05-11 Glenn Morris <rgm@gnu.org>
4435
f20def1f
GM
4436 * faces.el (internal-face-x-get-resource):
4437 * frame.el (ns-display-monitor-attributes-list):
d78abe37 4438 * calc/calc-aent.el (math-to-radians-2):
f20def1f 4439 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 4440 Fix declarations.
f20def1f 4441
445f95e2
GM
4442 * calc/calc-menu.el: Make it loadable in isolation.
4443
4444 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4445 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4446 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4447 (eudc-bbdb-query-internal): Require 'bbdb.
4448
99fb2756
GM
4449 * lpr.el (lpr-headers-switches):
4450 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4451
4452 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4453
0da7ad96
GM
4454 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4455
8582e4c4
GM
4456 * term.el (term-set-escape-char): Make it idempotent.
4457
f71c50d0
LL
44582013-05-10 Leo Liu <sdl.web@gmail.com>
4459
5ac2eb34
SM
4460 * progmodes/octave.el (inferior-octave-completion-table):
4461 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
4462 completion due to bug#11906.
4463 (octave-beginning-of-defun): Re-write to be more general.
4464
d5837773
GM
44652013-05-10 Glenn Morris <rgm@gnu.org>
4466
4467 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4468
027c0f75
SM
44692013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4470
4471 * comint.el (comint-redirect-send-command-to-process): Use :around
4472 rather than :override for comint-redirect-filter.
4473 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4474 Call it instead of comint-redirect-original-filter-function (which
4475 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4476
4465bfb4
JD
44772013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4478
4479 * frame.el (display-monitor-attributes-list): Add NS case.
4480 (ns-display-monitor-attributes-list): Declare.
4481
2d809ffa 44822013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
4483
4484 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4485
e54eeb9b
GM
44862013-05-09 Glenn Morris <rgm@gnu.org>
4487
56cd351d
GM
4488 * international/fontset.el (vertical-centering-font-regexp):
4489 Set standard-value.
4490
d84b6108
GM
4491 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4492
a931698a
GM
4493 * bookmark.el (bookmark-search-delay):
4494 * cus-start.el (vertical-centering-font-regexp):
4495 * ps-mule.el (ps-mule-font-info-database-default):
4496 * ps-print.el (ps-default-fg, ps-default-bg):
4497 * type-break.el (type-break-good-break-interval):
4498 * whitespace.el (whitespace-indentation-regexp)
4499 (whitespace-space-after-tab-regexp):
4500 * emacs-lisp/testcover.el (testcover-1value-functions)
4501 (testcover-noreturn-functions, testcover-progn-functions)
4502 (testcover-prog1-functions):
4503 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4504 * eshell/em-glob.el (eshell-glob-translate-alist):
4505 * play/tetris.el (tetris-tty-colors):
4506 * progmodes/cpp.el (cpp-face-default-list):
4507 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4508 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4509 (idlwave-help-browser-generic-args):
4510 * progmodes/make-mode.el (makefile-special-targets-list):
4511 * progmodes/python.el (python-shell-virtualenv-path):
4512 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4513 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4514 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4515 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4516 * textmodes/reftex-vars.el (reftex-format-label-function):
4517 * textmodes/remember.el (remember-diary-file): Fix custom types.
4518
e54eeb9b
GM
4519 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4520 Add :version.
4521
455851dd
LL
45222013-05-09 Leo Liu <sdl.web@gmail.com>
4523
4524 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 4525 Restore file completion. (Bug#14300)
455851dd
LL
4526 (inferior-octave-startup): Fix incorrect highlighting for the
4527 first prompt.
4528
a9e4425b
SM
45292013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * progmodes/ruby-mode.el: First cut at SMIE support.
4532 (ruby-use-smie): New var.
4533 (ruby-smie-grammar): New constant.
4534 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4535 (ruby-smie--forward-token, ruby-smie--backward-token)
4536 (ruby-smie-rules): New functions.
4537 (ruby-mode-variables): Setup SMIE if applicable.
4538
060ca408
EZ
45392013-05-08 Eli Zaretskii <eliz@gnu.org>
4540
4541 * simple.el (line-move-visual): Signal beginning/end of buffer
4542 only if vertical-motion moved less than it was requested. Avoids
4543 silly incorrect error messages when there are display strings with
4544 multiple newlines at EOL.
4545
1d5963cc
SM
45462013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4549 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4550 (prolog-char-quote-workaround):
4551 * progmodes/cperl-mode.el (cperl-under-as-char):
4552 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
4553 Mark as obsolete.
4554 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
4555 their declaration.
4556 (vhdl-mode-syntax-table-init): Remove.
4557
c9990474
SM
4558 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4559 last change.
1d5963cc
SM
4560
4561 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4562 syntax for "_".
4563 (ld-script-font-lock-keywords):
4564 Change regexps to use things like \_< and \_>.
4565
4566 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4567 Change all regexps to use things like \_< and \_>.
4568
4569 * progmodes/autoconf.el (autoconf-definition-regexp)
4570 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4571 Handle a _ with symbol syntax.
4572 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4573
c9990474
SM
4574 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4575 Consolidate declaration.
1d5963cc
SM
4576 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4577 the declaration.
4578 (ada-create-syntax-table): Remove.
4579 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4580 already has the right syntax nowadays.
4581 (ada-goto-next-word): Don't change the syntax of "_".
4582
4583 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4584 with-wrapper-hook.
4585
72d3cfca
SS
45862013-05-08 Sam Steingold <sds@gnu.org>
4587
4588 * thingatpt.el (thing-at-point): Accept optional second argument
4589 NO-PROPERTIES to strip the text properties from the return value.
4590 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4591 to `thing-at-point' instead of stripping the properties ourselves.
4592 Also, when `thing-at-point' fails to find a url, prepend "http://"
4593 to the filename at point on the assumption that the user is
4594 pointing at something like gnu.org/gnu.
4595
5cb15713
JB
45962013-05-08 Juanma Barranquero <lekktu@gmail.com>
4597
4598 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4599 * faces.el (crm-separator):
4600 Silence byte-compiler.
4601
4602 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4603 (tool-bar-map): Remove unneeded defvars.
4604
ea78b95b
LL
46052013-05-08 Leo Liu <sdl.web@gmail.com>
4606
4607 Re-work a fix for bug#10994 based on Le Wang's patch.
4608 * ido.el (ido-remove-consecutive-dups): New helper.
4609 (ido-completing-read): Use it.
4610 (ido-chop): Revert fix for bug#10994.
4611
dc7466df
AS
46122013-05-08 Adam Spiers <emacs@adamspiers.org>
4613
4614 * cus-edit.el (custom-save-variables):
4615 Pretty-print long values. (Bug#14187)
4616
9ecf672a
GM
46172013-05-08 Glenn Morris <rgm@gnu.org>
4618
4619 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4620 (m4-mode-syntax-table): Init in the defvar.
4621 (m4-mode-abbrev-table): Let define-derived-mode define it.
4622
3f555be8
TT
46232013-05-08 Tom Tromey <tromey@redhat.com>
4624
4625 * progmodes/m4-mode.el (m4-mode-syntax-table):
4626 Do not treat "_" as word constituent. (Bug#14167)
4627
7cc8ae06
GM
46282013-05-07 Glenn Morris <rgm@gnu.org>
4629
4f58bc06
GM
4630 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4631 Remove explicit eshell-isearch-cancel-map.
4632
7cc8ae06
GM
4633 * progmodes/f90.el (f90-smart-end-names): New option.
4634 (f90-smart-end): Doc fix.
4635 (f90-end-block-optional-name): New constant.
4636 (f90-block-match): Respect f90-smart-end-names.
4637
ceb57e59
SM
46382013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * progmodes/octave.el (octave-smie-forward-token): Be more careful
4641 about implicit semi-colons (bug#14218).
4642
4e3f9230
YM
46432013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4644
4645 * frame.el (display-monitor-attributes-list)
4646 (frame-monitor-attributes): New functions.
4647
203a5572
LL
46482013-05-06 Leo Liu <sdl.web@gmail.com>
4649
4650 * progmodes/octave.el (octave-syntax-propertize-function): Change
4651 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
4652 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 4653 (octave-completion-at-point): Rename from
203a5572
LL
4654 octave-completion-at-point-function.
4655 (inferior-octave-directory-tracker): Robustify.
4656 (octave-text-functions): Remove and fix its uses. No such things
4657 any more.
4658
ee6cff99
SM
46592013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/trace.el (trace--display-buffer): New function.
4662 (trace-make-advice): Use it.
4663
32985194
JL
46642013-05-06 Juri Linkov <juri@jurta.org>
4665
4666 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
4667 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4668 Doc fix.
4669 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4670 in the help string. (Bug#12985)
4671
a1c700de
KD
46722013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4673
4674 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
4675
c67c0839
SM
46762013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4677
323885fd
SM
4678 * progmodes/perl-mode.el: Add support for here documents.
4679 (perl-syntax-propertize-function): Match here-doc markers.
4680 (perl-syntax-propertize-special-constructs): Find their end.
4681 (perl-imenu-generic-expression): Use [:alnum:].
4682
c67c0839
SM
4683 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4684 (advice--add-function): Refresh the advice if already present
4685 (bug#14317).
4686
d491e7a8
IA
46872013-05-06 Ivan Andrus <darthandrus@gmail.com>
4688
4689 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
4690
ddf9925e
GM
46912013-05-06 Glenn Morris <rgm@gnu.org>
4692
7cc3af27
GM
4693 * w32-fns.el (w32-charset-info-alist): Declare.
4694
16e343d6
GM
4695 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4696 of its defcustom properties.
4697 (eshell-cmpl-initialize): No need to load pcomplete.
4698
7d889a47
GM
4699 * generic-x.el: No need to require comint when compiling.
4700
ddf9925e
GM
4701 * net/eudc-export.el: Make it loadable without bbdb.
4702 (top-level): Use require rather than load-library.
4703 (eudc-create-bbdb-record, eudc-bbdbify-phone)
4704 (eudc-batch-export-records-to-bbdb)
4705 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4706 Require bbdb.
4707
1e2c18df
SM
47082013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4711 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4712 some tweaks, instead.
4713
02502a5f
LL
47142013-05-05 Leo Liu <sdl.web@gmail.com>
4715
4716 * progmodes/octave.el (octave-font-lock-keywords)
4717 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4718 (inferior-octave-send-list-and-digest): Improve error message.
4719 (octave-mode, inferior-octave-mode): Use setq-local.
4720 (octave-help): Set info-lookup-mode.
4721
0dc04f42
RS
47222013-05-05 Richard Stallman <rms@gnu.org>
4723
6c54491c
RS
4724 * vc/compare-w.el (compare-windows-whitespace):
4725 Treat no-break space as whitespace.
4726
0dc04f42
RS
4727 * mail/rmailsum.el (rmail-summary-rmail-update):
4728 Detect empty summary and don't change selected message.
4729 (rmail-summary-goto-msg): Likewise.
4730
df8f35df
RS
4731 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4732 Doc fixes, rename args.
4733
5356e1a3
AM
47342013-05-05 Alan Mackenzie <acm@muc.de>
4735
4736 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4737
d44014cb
JL
47382013-05-05 Juri Linkov <juri@jurta.org>
4739
4740 * info.el (Info-read-subfile): Use (point-min) instead of (point)
4741 to not add the length of the summary segment to the return value.
4742 (Bug#14125)
4743
c129b51f
LL
47442013-05-05 Leo Liu <sdl.web@gmail.com>
4745
4746 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4747 (inferior-octave-output-filter): Remove.
4748 (octave-send-region, inferior-octave-startup): Fix callers.
4749 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4750 (octave-binary-file-extensions): New user variable.
4751 (octave-find-definition): Confirm if opening binary files.
4752 (octave-help-file): Use octave-find-definition to get the binary
4753 confirmation.
4754 (octave-help): Adjust for octave-help-file change.
4755
aa7dab97
SM
47562013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4759 Merge the two entries that handle function definitions.
4760 (pascal--syntax-propertize): New const.
4761 (pascal-mode): Use it. Use setq-local.
4762
fd3a9a6b
GM
47632013-05-04 Glenn Morris <rgm@gnu.org>
4764
4765 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4766 (diary-from-outlook): Respect diary-from-outlook-function.
4767
30c7e542
SM
47682013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4771 Move the declaration from C.
4772 (read-minibuffer, eval-minibuffer): Move from C.
4773 (completion-setup-function): Avoid minibuffer-completion-contents.
4774
b54f978b
LL
47752013-05-03 Leo Liu <sdl.web@gmail.com>
4776
4777 * progmodes/octave.el (octave-font-lock-keywords): Do not
4778 dehighlight 'end' in comments or strings.
30c7e542
SM
4779 (octave-completing-read, octave-goto-function-definition):
4780 New helpers.
d4d0f9b3
LL
4781 (octave-help-buffer): New user variable.
4782 (octave-help-file, octave-help-function): New button types.
4783 (octave-help): New command and bind it to C-h ;.
4784 (octave-find-definition): New command and bind it to M-.
d74a1581 4785 (user-error): Alias to error if not defined.
b54f978b 4786
27135018
LL
47872013-05-02 Leo Liu <sdl.web@gmail.com>
4788
4789 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4790 for \. (bug#14332)
4791 (octave-font-lock-keywords): Include [ and {.
4792
0d634d3a
LL
47932013-05-02 Leo Liu <sdl.web@gmail.com>
4794
4795 * progmodes/octave.el (inferior-octave-startup-file): Change default.
4796 (inferior-octave): Remove calling comint-mode and return the buffer.
4797 (inferior-octave-startup): Cosmetic changes.
4798
b4c8295e
LL
47992013-05-02 Leo Liu <sdl.web@gmail.com>
4800
30c7e542
SM
4801 * progmodes/octave.el (octave-syntax-propertize-function):
4802 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 4803
f12ad6ec
GM
48042013-05-02 Glenn Morris <rgm@gnu.org>
4805
4806 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4807 * desktop.el (vc-dir-mode): Just autoload it here.
4808
30cac1e0
AM
48092013-05-02 Alan Mackenzie <acm@muc.de>
4810
4811 Eliminate variable c-standard-font-lock-fontify-region-function.
4812 * progmodes/cc-mode.el
4813 (c-standard-font-lock-fontify-region-function): Remove.
4814 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4815
d8ef28b1
LL
48162013-05-01 Leo Liu <sdl.web@gmail.com>
4817
2640d52e 4818 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 4819 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 4820 variables were removed from Octave in 2007.
d8ef28b1
LL
4821 (inferior-octave-startup): Fix uses.
4822 (comint-line-beginning-position): Remove compatibility code for
4823 emacs 21.
4824
ac63ec89
JL
48252013-05-01 Juri Linkov <juri@jurta.org>
4826
4827 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
4828
9e9be37c
JL
48292013-05-01 Juri Linkov <juri@jurta.org>
4830
4831 * comint.el (comint-previous-matching-input): Don't print message
4832 "History item: %d" when `isearch-mode' is active.
4833 (comint-history-isearch-message): Print message "History item: %d"
4834 when `comint-input-ring-index' is not empty and this function is
4835 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
4836
9b92c13b
LL
48372013-05-01 Leo Liu <sdl.web@gmail.com>
4838
4839 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4840 definitions. Use completion-at-point to insert keywords.
4841 (octave-abbrev-start): Remove.
4842 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4843
b12d33d7
LL
48442013-04-30 Leo Liu <sdl.web@gmail.com>
4845
4846 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4847 change.
4848
3d1c39fa
AM
48492013-04-30 Alan Mackenzie <acm@muc.de>
4850
4851 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
4852 * progmodes/cc-engine.el (c-back-over-member-initializers):
4853 new function.
3d1c39fa
AM
4854 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4855 (most) member init lists.
4856
5147fc17
RS
48572013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4858
4859 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4860 variable.
4861
5b78d7fc
LL
48622013-04-30 Leo Liu <sdl.web@gmail.com>
4863
4864 * progmodes/octave.el (octave-variables): Remove. No builtin
4865 variables any more. All converted to functions.
4866 (octave-font-lock-keywords, octave-completion-at-point-function):
4867 Fix uses.
4868 (octave-font-lock-texinfo-comment): New user variable.
4869 (octave-texinfo-font-lock-keywords): New variable for texinfo
4870 comment block.
4871 (octave-function-comment-block): New face.
4872 (octave-font-lock-texinfo-comment): New function.
4873 (octave-mode): Font lock texinfo comment block.
4874
38d8527b
LL
48752013-04-29 Leo Liu <sdl.web@gmail.com>
4876
4877 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4878 indexing expression.
4879 (octave-continuation-string): Do not use \.
4880 (inferior-octave-complete-impossible): Remove.
4881 (inferior-octave-completion-table)
4882 (inferior-octave-completion-at-point): Remove its uses.
4883 (inferior-octave-startup): completion_matches was introduced to
4884 Octave in 1996 so safe to assume it.
4885 (octave-function-file-comment): Improve to follow how Octave does it.
4886 (octave-update-function-file-comment): Tweak.
4887
2ec12cb0
LL
48882013-04-29 Leo Liu <sdl.web@gmail.com>
4889
4890 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4891 (inferior-octave-startup): Remove inferior-octave-startup-hook.
4892 (octave-function-file-comment): Fix typo.
4893 (octave-sync-function-file-names): Use read-char-choice.
4894
6eaed048
JB
48952013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
4896
4897 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
4898 to t for the less important warnings.
4899
3ffa2d4f
DH
49002013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
4901
4902 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
4903
685c9501
GM
49042013-04-27 Glenn Morris <rgm@gnu.org>
4905
4906 * vc/log-view.el (log-view-current-entry):
4907 Treat "---" separator lines as part of the following rev. (Bug#14169)
4908
0208ede7
JL
49092013-04-27 Juri Linkov <juri@jurta.org>
4910
4911 * subr.el (read-number): Doc fix about using it by interactive
4912 code letter `n'. (Bug#14254)
4913
5db9dace
JL
49142013-04-27 Juri Linkov <juri@jurta.org>
4915
4916 * desktop.el (desktop-auto-save-timeout): New option.
4917 (desktop-file-checksum): New variable.
4918 (desktop-save): Add optional arg `auto-save' and don't auto-save
4919 if nothing changed.
4920 (desktop-auto-save-timer): New variable.
4921 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
4922 (after-init-hook): Call `desktop-auto-save-set-timer'.
4923 Suggested by Reuben Thomas <rrt@sc3d.org> in
4924 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
4925
b7260dd4
LL
49262013-04-27 Leo Liu <sdl.web@gmail.com>
4927
4928 * progmodes/octave.el (octave-function-file-p)
4929 (octave-skip-comment-forward, octave-function-file-comment)
4930 (octave-update-function-file-comment): New functions.
4931 (octave-mode-map): Bind C-c ; to
4932 octave-update-function-file-comment.
4933 (octave-mode-menu): Add octave-update-function-file-comment.
4934 (octave-mode, inferior-octave-mode): Fix doc-string.
4935 (octave-insert-defun): Conform to Octave's coding convention.
4936 (Bug#14285)
4937
4938 * files.el (basic-save-buffer): Don't let errors in
4939 before-save-hook prevent saving buffer.
4940
c46da669
RW
49412013-04-20 Roland Winkler <winkler@gnu.org>
4942
4943 * faces.el (read-face-name): Use completing-read if arg multiple
4944 is nil.
4945
a81ee1eb
IL
49462013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
4947
4948 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
4949 displayed, move point to after the totals line.
4950 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
4951 for the details.
4952
4fac34ce
SM
49532013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * emacs-lisp/package.el (package-autoload-ensure-default-file):
4956 Add current dir to the load-path.
4957 (package-generate-autoloads): Don't rely on
4958 autoload-ensure-default-file.
4959
f6bfc063
RT
49602013-04-26 Reuben Thomas <rrt@sc3d.org>
4961
d40ab5cf
BG
4962 * textmodes/remember.el (remember-store-in-files): Document that
4963 the file name format is passed to `format-time-string'.
f6bfc063 4964
e55d3b04
LL
49652013-04-26 Leo Liu <sdl.web@gmail.com>
4966
4967 * progmodes/octave.el (octave-sync-function-file-names): New function.
4968 (octave-mode): Use it in before-save-hook.
4969
e53052d3
SM
49702013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4971
140ef50c
SM
4972 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
4973 (bug#14274).
4974
e53052d3
SM
4975 * progmodes/octave.el (octave-smie-forward-token): Properly skip
4976 \n and comment, even if it's not an implicit ; (bug#14218).
4977
af80458d 49782013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
4979
4980 * subr.el (read-number): Once more use `read' rather than
4981 `string-to-number', to trap non-numeric input. (Bug#14254)
4982
af80458d 49832013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
4984
4985 * emacs-lisp/syntax.el (syntax-propertize-multiline):
4986 Use `syntax-multiline' text property consistently instead of
8a621d53 4987 `font-lock-multiline'. (Bug#14237)
70203c2e 4988
e6ea1f6c
GM
49892013-04-26 Glenn Morris <rgm@gnu.org>
4990
4991 * emacs-lisp/shadow.el (list-load-path-shadows):
4992 No longer necessary to check for duplicate simple.el, since
4993 2012-07-07 change to init_lread to not include installation lisp
4994 directories in load-path when running uninstalled. (Bug#14270)
4995
070ccca4
LL
49962013-04-26 Leo Liu <sdl.web@gmail.com>
4997
4998 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
4999 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 5000 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
5001 octave-in-string-or-comment-p.
5002 (octave-in-comment-p, octave-in-string-p)
5003 (octave-in-string-or-comment-p): Replace defsubst with defun.
5004
9d1c5fb6
PE
50052013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5006
5007 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5008
c034abda
BG
50092013-04-25 Bastien Guerry <bzg@gnu.org>
5010
5011 * textmodes/remember.el (remember-data-directory)
5012 (remember-directory-file-name-format): Fix custom types.
5013
584ea277
LL
50142013-04-25 Leo Liu <sdl.web@gmail.com>
5015
e53052d3
SM
5016 * progmodes/octave.el (octave-completion-at-point-function):
5017 Make use of inferior octave process.
584ea277
LL
5018 (octave-initialize-completions): Remove.
5019 (inferior-octave-completion-table): New function.
5020 (inferior-octave-completion-at-point): Use it.
5021 (octave-completion-alist): Remove.
5022
1693b06a
SM
50232013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5026 (opascal-mode-syntax-table): New var.
5027 (opascal-literal-kind, opascal-is-literal-end)
5028 (opascal-literal-token-at): Rewrite.
5029 (opascal--literal-start-re, opascal-font-lock-keywords)
5030 (opascal--syntax-propertize): New constants.
5031 (opascal-font-lock-defaults): Adjust.
5032 (opascal-mode): Use them. Set comment-<foo> variables as well.
5033 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5034 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5035 (delphi-other-face, opascal-other-face): Remove face variables.
5036 (opascal-save-state): Remove macro.
5037 (opascal-fontifying-progress-step): Remove constant.
5038 (opascal--ignore-changes): Remove var.
5039 (opascal-set-token-property, opascal-parse-next-literal)
5040 (opascal-is-stable-literal, opascal-complete-literal)
5041 (opascal-is-literal-start, opascal-face-of)
5042 (opascal-parse-region, opascal-parse-region-until-stable)
5043 (opascal-fontify-region, opascal-after-change)
5044 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5045 (opascal-debug-parse-region, opascal-debug-parse-window)
5046 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5047 (opascal-debug-fontify-buffer): Remove.
5048 (opascal-debug-mode-map): Adjust accordingly.
5049
be64c05d
LL
50502013-04-25 Leo Liu <sdl.web@gmail.com>
5051
5052 Merge octave-mod.el and octave-inf.el into octave.el with some
5053 cleanups.
5054 * progmodes/octave.el: New file renamed from octave-mod.el.
5055 * progmodes/octave-inf.el: Merged into octave.el.
5056 * progmodes/octave-mod.el: Renamed to octave.el.
5057
d79d37bd
TH
50582013-04-25 Tassilo Horn <tsdh@gnu.org>
5059
5060 * textmodes/reftex-vars.el
5061 (reftex-label-ignored-macros-and-environments): New defcustom.
5062
5063 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5064
ced3fc5d
SM
50652013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5068 (smie-indent-keyword): Improve the check to ensure that the next
5069 comment is really on the same line.
5070 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5071
5072 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5073 semi-colons if the line is not otherwise empty (bug#14218).
5074
1c141dad
GM
50752013-04-25 Glenn Morris <rgm@gnu.org>
5076
5077 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5078
5058062a
SM
50792013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5080
5081 * progmodes/opascal.el (opascal-set-token-property): Rename from
5082 opascal-set-text-properties and only set `token' (bug#14134).
5083 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5084 (opascal-literal-text-properties): Remove.
5085 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5086 Adjust callers.
5087
5db9dace 50882013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
5089
5090 * textmodes/remember.el (remember-handler-functions): Add an
5091 option for a new handler `remember-store-in-files'.
5092 (remember-data-directory, remember-directory-file-name-format):
5093 New options.
5094 (remember-store-in-files): New function to store remember notes
5095 as separate files within a directory.
5096
4391916c
MH
50972013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5098
5099 * progmodes/compile.el (compilation-next-error-function):
5100 Pass "formats" to compilation-find-file (bug#11777).
5101
bb7cdf58
GM
51022013-04-24 Glenn Morris <rgm@gnu.org>
5103
3b8fe752 5104 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
5105 * vc/vc-hg.el (vc-hg-print-log):
5106 * vc/vc-svn.el (vc-svn-print-log):
5107 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5108
bb7cdf58
GM
5109 * vc/vc-bzr.el (vc-bzr-print-log):
5110 * vc/vc-cvs.el (vc-cvs-print-log):
5111 * vc/vc-git.el (vc-git-print-log):
5112 * vc/vc-hg.el (vc-hg-print-log):
5113 * vc/vc-mtn.el (vc-mtn-print-log):
5114 * vc/vc-rcs.el (vc-rcs-print-log):
5115 * vc/vc-sccs.el (vc-sccs-print-log):
5116 * vc/vc-svn.el (vc-svn-print-log):
5117 * vc/vc.el (vc-print-log-internal): Doc fixes.
5118
b46a056e
GM
51192013-04-23 Glenn Morris <rgm@gnu.org>
5120
5121 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5122 Remove venerable code attempting to avoid substitute-command-keys.
5123
0aecf718
TH
51242013-04-23 Tassilo Horn <tsdh@gnu.org>
5125
4391916c
MH
5126 * textmodes/reftex-vars.el (reftex-label-regexps):
5127 Call `reftex-compile-variables' after changes to this variable.
0aecf718 5128
117f94cf
SM
51292013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5130
4391916c 5131 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
5132 Use lexical-binding.
5133 (jit-lock-force-redisplay): Use markers, check buffer's continued
5134 existence and beware narrowed buffers.
5135 (jit-lock-fontify-now): Adjust call accordingly.
5136
1d829c64
SM
51372013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5140 to avoid misleading the user.
5141
72d548a9
LL
51422013-04-22 Leo Liu <sdl.web@gmail.com>
5143
5144 * info-look.el: Prefer latex2e.info. (Bug#14240)
5145
d0853629
MA
51462013-04-22 Michael Albinus <michael.albinus@gmx.de>
5147
5148 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5149
5150 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 5151 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
5152 (tramp-set-completion-function, tramp-parse-putty):
5153 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5154 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5155 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5156 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5157 (tramp-call-local-coding-command): Use `tramp-call-process'
5158 instead of `tramp-compat-call-process'.
5159
5160 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5161 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5162 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 5163 (tramp-find-inline-compress): Improve traces.
d0853629
MA
5164 (tramp-maybe-send-script): Check for Perl binary.
5165 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5166
38cc0210
DU
51672013-04-22 Daiki Ueno <ueno@gnu.org>
5168
5169 * epg.el (epg-context-pinentry-mode): New function.
5170 (epg-context-set-pinentry-mode): New function.
5171 (epg--start): Pass --pinentry-mode option to gpg command.
5172
cc641ee1
XF
51732013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5174
02d844b5 5175 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 5176 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 5177 `completion-at-point'. (Bug#13774)
5d4e5c31 5178
cc641ee1
XF
5179 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5180 default key binding for `describe-distribution' has been moved to
5181 `C-h C-o'. (Bug#13970)
5182
1b42ee43
GM
51832013-04-21 Glenn Morris <rgm@gnu.org>
5184
5185 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5186 Add doc strings.
5187 (vc-print-log): Clarify interactive prompt.
5188
a6d63d97
GM
51892013-04-20 Glenn Morris <rgm@gnu.org>
5190
5191 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5192 No longer include timestamp etc information.
5193
d7f5c16f
RW
51942013-04-20 Roland Winkler <winkler@gnu.org>
5195
5196 * faces.el (read-face-name): Bug fix, return just one face if arg
5197 multiple is nil. (Bug#14209)
5198
bcd7a0a4
SM
51992013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5202 (remove-function): Autoload.
5203
5204 * comint.el (comint-redirect-original-filter-function): Remove.
5205 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
5206 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5207 (vc-cvs-annotate-command):
bcd7a0a4
SM
5208 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5209 * progmodes/prolog.el (prolog-consult-compile):
5210 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5211 Use add/remove-function instead.
5212 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5213 (gud-tooltip-process-output, gud-tooltip-tips):
5214 Use add/remove-function instead.
5215 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5216 (scheme-interaction-mode, exit-scheme-interaction-mode):
5217 Use add/remove-function instead.
5218
5219 * vc/vc-dispatcher.el: Use lexical-binding.
5220 (vc--process-sentinel): Rename from vc-process-sentinel.
5221 Change last arg to be the code to run. Don't use vc-previous-sentinel
5222 and vc-sentinel-commands any more.
5223 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5224 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5225
4d3268ba
MY
52262013-04-19 Masatake YAMATO <yamato@redhat.com>
5227
bcd7a0a4 5228 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 5229 Handle function names with a single character. (Bug#14111)
4d3268ba 5230
781b4af6 52312013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
5232
5233 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5234 for subroutines defined in an eval (bug#14182).
5235
7d688336
TV
52362013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5237
5238 * bookmark.el (bookmark-completing-read): Improve handling of empty
5239 string (bug#14176).
5240
31dcede0
SM
52412013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5244
adc31213
FEG
52452013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5246
5247 New faster Imenu implementation (bug#14058).
5248 * progmodes/python.el:
5249 (python-imenu-prev-index-position):
5250 (python-imenu-format-item-label-function)
5251 (python-imenu-format-parent-item-label-function)
5252 (python-imenu-format-parent-item-jump-label-function):
5253 New vars.
5254 (python-imenu-format-item-label)
5255 (python-imenu-format-parent-item-label)
5256 (python-imenu-format-parent-item-jump-label)
5257 (python-imenu--put-parent, python-imenu--build-tree)
5258 (python-imenu-create-index, python-imenu-create-flat-index)
5259 (python-util-popn): New functions.
5260 (python-mode): Set imenu-create-index-function to
5261 python-imenu-create-index.
5262
cdca8255
SM
52632013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * winner.el (winner-active-region): Use region-active-p, activate-mark
5266 and deactivate-mark (bug#14225).
5267
5268 * simple.el (deactivate-mark): Don't inline it.
5269
beb42340
MA
52702013-04-18 Michael Albinus <michael.albinus@gmx.de>
5271
5272 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5273
fc7f4d7e
TH
52742013-04-18 Tassilo Horn <tsdh@gnu.org>
5275
5276 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5277 file extensions from the archive-mode entry in order to prefer
5278 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5279
29f47822
LL
52802013-04-18 Leo Liu <sdl.web@gmail.com>
5281
5282 * bindings.el (help-event-list): Add ?\?.
5283
d36ed1c8
SM
52842013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * subr.el (with-wrapper-hook): Declare obsolete.
5287 * simple.el (filter-buffer-substring-function): New hook.
5288 (filter-buffer-substring): Use it.
5289 (filter-buffer-substring-functions): Mark obsolete.
5290 * minibuffer.el (completion-in-region-function): New hook.
5291 (completion-in-region): Use it.
5292 (completion-in-region-functions): Mark obsolete.
5293 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5294 * abbrev.el (abbrev-expand-function): New hook.
5295 (expand-abbrev): Use it.
5296 (abbrev-expand-functions): Mark obsolete.
5297 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5298 and :filter-return.
5299
04754d36
FEG
53002013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5301
5302 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5303 and do not care about match data.
5304
dd8791e9
SM
53052013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5308 completion tables when completing error conditions and
5309 `declare' arguments.
5310 (lisp-complete-symbol, field-complete): Mark as obsolete.
5311 (check-parens): Unmatched parens are user errors.
5312 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5313
ffe54a13
AM
53142013-04-17 Michal Nazarewicz <mina86@mina86.com>
5315
dd8791e9
SM
5316 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5317 command changed buffer (ie. `flyspell-pre-buffer' is not current
5318 buffer), which prevents making decisions based on invalid value of
5319 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5320 cause an error when `flyspell-pre-point' was nil after switching
5321 buffers.
5322 (flyspell-post-command-hook): No longer needs to change buffers when
5323 checking pre-word. While at it remove unnecessary progn.
ffe54a13 5324
ec7e39f2
AM
53252013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5326
5327 * textmodes/ispell.el (ispell-add-per-file-word-list):
5328 Fix `flyspell-correct-word-before-point' error when accepting
5329 words and `coment-padding' is an integer by using
5330 `comment-normalize-vars' (Bug #14214).
5331
083850a6
FEG
53322013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5333
5334 New defun movement commands.
5335 * progmodes/python.el (python-nav--syntactically)
5336 (python-nav--forward-defun, python-nav-backward-defun)
5337 (python-nav-forward-defun): New functions.
5338
619ed6e1
FEG
53392013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5340
5341 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5342 (python-syntax-context): Use named compiler-macro for backwards
5343 compatibility with Emacs 24.x.
5344
7a1beb6c
LL
53452013-04-17 Leo Liu <sdl.web@gmail.com>
5346
5347 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5348 octave-hide-process-buffer.
5349
2d3fa3e5
SM
53502013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5353 (bug#14216).
5354
7ce5be54
JPG
53552013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5356
5357 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5358 Fix adjustment of offset when receiving incomplete responses from GDB
5359 (bug#14129).
5360
351edece
SM
53612013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5364 python-mode-abbrev-table.
5365 (python-skeleton-define): Adjust accordingly.
5366 (python-mode-abbrev-table): New table that inherits from it so that
5367 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5368
5369 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5370 (abbrev-symbol): Use it.
5371 (abbrev--before-point): Use it since we already handle inheritance.
5372
613f9481
LL
53732013-04-16 Leo Liu <sdl.web@gmail.com>
5374
5375 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5376 binding to info-lookup-symbol.
5377
51646b62
JB
53782013-04-16 Juanma Barranquero <lekktu@gmail.com>
5379
5380 * minibuffer.el (completion--twq-all):
5381 * term/ns-win.el (ns-initialize-window-system):
5382 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5383
efb3f01d
SM
53842013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5385
36c0a301
SM
5386 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5387 global bindings.
5388
efb3f01d
SM
5389 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5390
fb549d64
DG
53912013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5392
5393 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5394 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5395 to nil.
5396 (ruby-end-of-defun): Remove the unused arg, change the docstring
5397 to reflect that this function is only used as the value of
5398 `end-of-defun-function'.
5399 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5400 to reflect an earlier change that beginning/end-of-defun functions
5401 jump between methods in a class definition, as well as top-level
5402 functions.
5403
21e8fe2f
SM
54042013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * minibuffer.el (minibuffer-complete): Don't just scroll
5407 a *Completions* that's been iconified.
5408 (minibuffer-force-complete): Make sure repetitions do cycle when going
5409 through completion-in-region -> minibuffer-complete.
5410
20e527d0
AM
54112013-04-15 Alan Mackenzie <acm@muc.de>
5412
5413 Correct the placement of c-cpp-delimiters when there're #s not at
5414 col 0.
5415
5416 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5417 place a submatch around the #.
21e8fe2f
SM
5418 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5419 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
5420 on the #, not BOL.
5421
dabefae5
SM
54222013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5425 (advice--member-p): New arg `name'.
5426 (advice--add-function, advice-member-p): Use it (bug#14202).
5427
85c9ab64
AM
54282013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5429
5430 Reformulate java imenu-generic-expression.
5431 The old expression contained ill formed regexps.
5432
5433 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5434 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5435 (cc-imenu-java-method-arg-regexp): New defconsts.
5436 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 5437 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
5438 handling of spaces in the regexp.
5439
0f821d99
AM
54402013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5441
5442 * textmodes/ispell.el (ispell-command-loop): Remove
5443 flyspell highlight of a word when ispell accepts it (bug #14178).
5444
eb922adf
MA
54452013-04-15 Michael Albinus <michael.albinus@gmx.de>
5446
5447 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5448 uses code from the previous `ange-ftp-run-real-handler'.
5449 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5450 only in case that function exist. This is needed for proper
5451 unloading of Tramp.
5452
4d9a0979
TH
54532013-04-15 Tassilo Horn <tsdh@gnu.org>
5454
5455 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5456
5457 * textmodes/reftex.el (reftex-compile-variables): Use it.
5458
a829b0dc
SM
54592013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5460
91e8293c
SM
5461 * files.el (normal-mode): Only use default major-mode if no other mode
5462 was specified.
5463
830aed4d
SM
5464 * emacs-lisp/trace.el (trace-values): New function.
5465
a829b0dc
SM
5466 * files.el: Allow : in local variables (bug#14089).
5467 (hack-local-variable-regexp): New var.
5468 (hack-local-variables-prop-line, hack-local-variables): Use it.
5469
7ae9f0fb
RW
54702013-04-13 Roland Winkler <winkler@gnu.org>
5471
5472 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5473 data before it gets modified by bibtex-beginning-of-entry.
5474
6646e848
RW
54752013-04-13 Roland Winkler <winkler@gnu.org>
5476
5477 * textmodes/bibtex.el (bibtex-url): Doc fix.
5478
54792013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
5480
5481 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5482 does not visit a BibTeX file, exclude it from the list of buffers
5483 returned by bibtex-initialize.
5484
0aa3616e
SB
54852013-04-13 Stephen Berman <stephen.berman@gmx.net>
5486
5487 * window.el (split-window): Remove interactive form, since as a
5488 command this function is a special case of split-window-below.
5489 Correct doc string.
5490
011cddd6
RW
54912013-04-12 Roland Winkler <winkler@gnu.org>
5492
5493 * faces.el (read-face-name): Do not override value of arg default.
5494 Allow single faces and strings as default values. Remove those
5495 elements from return value that are not faces.
5496 (describe-face): Simplify.
5497 (face-at-point): New optional args thing and multiple so that this
5498 function can provide the same functionality previously provided by
5499 read-face-name.
5500 (make-face-bold, make-face-unbold, make-face-italic)
5501 (make-face-unitalic, make-face-bold-italic, invert-face)
5502 (modify-face, read-face-and-attribute): Use face-at-point.
5503
5504 * cus-edit.el (customize-face, customize-face-other-window)
5505 * cus-theme.el (custom-theme-add-face)
5506 * face-remap.el (buffer-face-set)
5507 * facemenu.el (facemenu-set-face): Use face-at-point.
5508
f24e0036
MA
55092013-04-12 Michael Albinus <michael.albinus@gmx.de>
5510
5511 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5512
da3cda2d
TH
55132013-04-10 Tassilo Horn <tsdh@gnu.org>
5514
5515 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5516 off leading { and trailing } from field values.
5517
15e54145
SM
55182013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5519
78ce603d
SM
5520 * emacs-lisp/timer.el (timer--check): New function.
5521 (timer--time, timer-set-function, timer-event-handler): Use it.
5522 (timer-set-idle-time): Simplify.
5523 (timer--activate): CSE.
5524 (timer-event-handler): Give more info in error message.
5525 (internal-timer-start-idle): New function, moved from C.
5526
15e54145
SM
5527 * mpc.el (mpc-proc): Add `restart' argument.
5528 (mpc-proc-cmd): Use it.
5529 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5530 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5531 less often.
5532
7144c627
MY
55332013-04-10 Masatake YAMATO <yamato@redhat.com>
5534
5535 * progmodes/sh-script.el: Implement `sh-mode' own
5536 `add-log-current-defun-function' (bug#14112).
5537 (sh-current-defun-name): New function.
5538 (sh-mode): Use the function.
5539
b39792eb
BG
55402013-04-09 Bastien Guerry <bzg@gnu.org>
5541
5542 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5543
8acdeb71
SM
55442013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5545
6fcdab68
SM
5546 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5547
8acdeb71
SM
5548 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5549 timer (bug#14156).
5550
e3e7b504
NF
55512013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5552
5553 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5554 declaration.
5555
201bb296
LL
55562013-04-07 Leo Liu <sdl.web@gmail.com>
5557
5558 * pcmpl-x.el: New file.
5559
ebb19708
DA
55602013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5561
5562 Do not set x-display-name until X connection is established.
5563 This is needed to prevent from weird situation described at
5564 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5565 * frame.el (make-frame): Set x-display-name after call to
5566 window system initialization function, not before.
5567 * term/x-win.el (x-initialize-window-system): Add optional
5568 display argument and use it.
5569 * term/w32-win.el (w32-initialize-window-system):
5570 * term/ns-win.el (ns-initialize-window-system):
5571 * term/pc-win.el (msdos-initialize-window-system):
5572 Add compatible optional display argument.
5573
33bb237a
EZ
55742013-04-06 Eli Zaretskii <eliz@gnu.org>
5575
5576 * files.el (normal-backup-enable-predicate): On MS-Windows and
5577 MS-DOS compare truenames of temporary-file-directory and of the
5578 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5579 don't fail comparison by compare-strings. Also, compare file
5580 names case-insensitively on MS-Windows and MS-DOS.
5581
134abf1f
SM
55822013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5585 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5586
d695cb94
DG
55872013-04-05 Dmitry Gutov <dgutov@yandex.ru>
5588
e3e7b504
NF
5589 * whitespace.el (whitespace-color-on, whitespace-color-off):
5590 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 5591
f4ad7ea1 55922013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
5593
5594 * ispell.el (ispell-set-spellchecker-params):
5595 Really set `ispell-args' for all equivs.
5596
632556e4
SM
55972013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * ido.el (ido-completions): Use extra elements of ido-decorations
5600 (bug#14143).
5601 (ido-decorations): Update docstring.
5602
2a417372
MA
56032013-04-05 Michael Albinus <michael.albinus@gmx.de>
5604
5605 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5606 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5607 nil during initialization, in order not to miss changes since the
5608 file was opened. (Bug#14140)
5609
fc164b0c
LL
56102013-04-05 Leo Liu <sdl.web@gmail.com>
5611
5612 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5613
0ccecc08
JB
56142013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5615
5616 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5617
51af1aa2
GM
56182013-04-04 Glenn Morris <rgm@gnu.org>
5619
5620 * electric.el (electric-pair-inhibit-predicate): Add :version.
5621
b208ebc6
SM
56222013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5625 when a package is required several times (bug#14082).
5626
f3d3eaf0
RW
56272013-04-04 Roland Winkler <winkler@gnu.org>
5628
5629 * faces.el (read-face-name): Behave as promised by the docstring.
5630 Assume that arg default is a list of faces.
5631 (describe-face): Call read-face-name with list of default faces.
5632
2575da50
TV
56332013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5634
5635 * bookmark.el: Fix deletion of bookmarks (bug#13972).
5636 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5637 (bookmark-bmenu-execute-deletions): Only skip first line if it's
5638 the header.
5639 (bookmark-exit-hook-internal): Save even if list is empty.
5640
397703b4
YH
56412013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
5642
5643 * emacs-lisp/package.el (package-pinned-packages): New var.
5644 (package--add-to-archive-contents): Obey it (bug#14118).
5645
691e26ae
AM
56462013-04-03 Alan Mackenzie <acm@muc.de>
5647
8a621d53
JB
5648 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5649 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
5650
5651 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5652 parameter `not-in-delimiter'. Handle being inside comment opener.
5653 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5654 character in case we're typing a '*' after a '/'.
5655 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5656 instead by passing the parameter to c-state-pp-to-literal.
5657
5658 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5659 for elt. 7 of a parse state.
5660
4b725a70
PE
56612013-04-01 Paul Eggert <eggert@cs.ucla.edu>
5662
5663 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5664 * international/latin1-disp.el, international/mule-util.el:
5665 * language/cyril-util.el, language/european.el, language/ind-util.el:
5666 * language/lao-util.el, language/thai.el, language/tibet-util.el:
5667 * language/tibetan.el, language/viet-util.el:
5668 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5669
15c579f0
SM
56702013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5673 (electric-pair-post-self-insert-function): Use it.
5674 (electric-pair-default-inhibit): New function, extracted from
5675 electric-pair-post-self-insert-function.
5676
a77e2924
RW
56772013-03-31 Roland Winkler <winkler@gnu.org>
5678
5679 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5680
2bd8a4a8
SM
56812013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5684
8d3655be 56852013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
5686
5687 Un-indent after "pass" and "return" statements (Bug#13888)
5688 * progmodes/python.el (python-indent-block-enders): New var.
5689 (python-indent-calculate-indentation): Use it.
5690
8d3655be 56912013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
5692
5693 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5694 defun. Defining it as defalias could introduce too eager
5695 byte-compiler optimization. (Bug#14030)
5696
8d3655be 56972013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
5698
5699 * iswitchb.el (iswitchb-read-buffer): Fix typo.
5700
0b1619da
LL
57012013-03-30 Leo Liu <sdl.web@gmail.com>
5702
5703 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5704 (kmacro-execute-from-register): Pass the keyboard macro to
5705 kmacro-call-macro or repeating won't work correctly.
5706
0b938190
TZ
57072013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
5708
5709 * progmodes/subword.el: Back to using `forward-symbol'.
5710
5711 * subr.el (forward-whitespace, forward-symbol)
5712 (forward-same-syntax): Move from thingatpt.el.
5713
35710234
LL
57142013-03-29 Leo Liu <sdl.web@gmail.com>
5715
5716 * kmacro.el (kmacro-to-register): New command.
5717 (kmacro-execute-from-register): New function.
5718 (kmacro-keymap): Bind to 'x'. (Bug#14071)
5719
efc0bb73
SM
57202013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * mpc.el: Use defvar-local and setq-local.
5723 (mpc--proc-connect): Connection failures are not bugs.
5724 (mpc-mode-map): `follow-link' only applies to the buffer's content.
5725 (mpc-volume-map): Bind to the up-events.
5726
75a2f981
TZ
57272013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5728
5729 * progmodes/subword.el (superword-mode): Use `forward-sexp'
5730 instead of `forward-symbol'.
5731
17c781d1
SM
57322013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5735 (edebug--recursive-edit): Use it.
5736 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5737 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5738
f67bfbcf
LL
57392013-03-28 Leo Liu <sdl.web@gmail.com>
5740
5741 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
5742
b59f639d
EZ
57432013-03-27 Eli Zaretskii <eliz@gnu.org>
5744
5745 * facemenu.el (list-colors-callback): New defvar.
5746 (list-colors-redisplay): New function.
5747 (list-colors-display): Install list-colors-redisplay as the
5748 revert-buffer-function. (Bug#14063)
5749
f557c1b1
SM
57502013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5751
b1da2957
SM
5752 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5753 and suffixes don't overlap (bug#14061).
5754
f557c1b1
SM
5755 * case-table.el: Use lexical-binding.
5756 (case-table-get-table): New function.
5757 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
5758
002668e1
TZ
57592013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
5760
5761 * progmodes/subword.el: Add `superword-mode' to do word motion
5762 over symbol_words (parallels and leverages `subword-mode' which
5763 does word motion inside MixedCaseWords).
5764
73572c72
AG
57652013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
5766
78b8f320 5767 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 5768 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 5769
69b2c07e
SM
57702013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5773 Change return value to be a sexp. Delay `get-buffer' to after
5774 restoring the desktop (bug#13951).
5775
08bb5ee2
LL
57762013-03-26 Leo Liu <sdl.web@gmail.com>
5777
5778 * register.el: Move semantic tag handling back to
5779 cedet/semantic/senator.el. (Bug#14052)
5780
8d4c974e
SM
57812013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5784 into the prompt either (bug#13963).
5785
b234d92c
SM
57862013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5789 part of "(error-foo)".
5790
ddfa3cb4
JL
57912013-03-24 Juri Linkov <juri@jurta.org>
5792
5793 * replace.el (list-matching-lines-prefix-face): New defcustom.
5794 (occur-1): Pass `list-matching-lines-prefix-face' to the function
5795 `occur-engine' if `face-differs-from-default-p' returns t.
5796 (occur-engine): Add `,' inside backquote construct to evaluate
5797 `prefix-face'. Propertize the prefix with the `prefix-face' face.
5798 Pass `prefix-face' to the functions `occur-context-lines' and
5799 `occur-engine-add-prefix'.
5800 (occur-engine-add-prefix, occur-context-lines): Add optional arg
5801 `prefix-face' and propertize the prefix with `prefix-face'.
5802 (Bug#14017)
5803
7b0e2f85
LL
58042013-03-24 Leo Liu <sdl.web@gmail.com>
5805
5806 * nxml/rng-valid.el (rng-validate-while-idle)
5807 (rng-validate-quick-while-idle): Guard against deleted buffer.
5808 (Bug#13999)
5809
5810 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5811 is the last entry in kill-buffer-hook.
5812
5813 * files.el (kill-buffer-hook): Doc fix.
5814
b3082f49
DG
58152013-03-23 Dmitry Gutov <dgutov@yandex.ru>
5816
b234d92c
SM
5817 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5818 Make it safe-local.
bde73d27 5819
b3082f49
DG
5820 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5821
a320a2db
LL
58222013-03-23 Leo Liu <sdl.web@gmail.com>
5823
7e74b0fb
LL
5824 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5825 Remove.
5826
5827 * nxml/rng-valid.el (rng-validate-mode)
5828 (rng-after-change-function, rng-do-some-validation):
5829 * nxml/rng-maint.el (rng-validate-buffer):
5830 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5831 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5832 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5833 (nxml-extend-after-change-region): Use with-silent-modifications.
5834
a320a2db
LL
5835 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5836 timer-idle-list.
5837
5838 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5839 (rng-next-error-1, rng-previous-error-1): Do not let-bind
5840 timer-idle-list. (Bug#13999)
5841
e38e6780
JL
58422013-03-23 Juri Linkov <juri@jurta.org>
5843
5844 * info.el (info-index-match): New face.
5845 (Info-index, Info-apropos-matches): Add a nested subgroup to the
5846 main pattern and add text properties with the new face to matches
5847 in index entries relative to the beginning of the index entry.
5848 (Bug#14015)
5849
e8cc7880
DE
58502013-03-21 Eric Ludlam <zappo@gnu.org>
5851
5852 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5853 Inhibit read only while inserting objects.
5854
9bb0d822
TZ
58552013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
5856
5857 * progmodes/cfengine.el: Update docs to mention
5858 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
5859 symbol motion. Remove "_" from the word syntax.
5860
aa703640
TZ
58612013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
5862
5863 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5864 syntax for both `cfengine2-mode' and `cfengine3-mode'.
5865
afff09d0
JL
58662013-03-20 Juri Linkov <juri@jurta.org>
5867
5868 * info.el (Info-next-reference-or-link)
5869 (Info-prev-reference-or-link): New functions.
5870 (Info-next-reference, Info-prev-reference): Use them.
5871 (Info-try-follow-nearest-node): Handle footnote navigation.
5872 (Info-fontify-node): Fontify footnotes. (Bug#13989)
5873
9a1ff164
SM
58742013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5875
5876 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5877 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5878
2667d15d
PE
58792013-03-20 Paul Eggert <eggert@cs.ucla.edu>
5880
5881 Suppress unnecessary non-ASCII chatter during build process.
5882 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5883 (batch-skkdic-convert): Suppress most of the chatter.
5884 It's not needed so much now that machines are faster,
5885 and its non-ASCII component was confusing; see Dmitry Gutov in
5886 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5887
438b0579
LL
58882013-03-20 Leo Liu <sdl.web@gmail.com>
5889
5890 * ido.el (ido-chop): Fix bug#10994.
5891
c128ab07
DG
58922013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5893
5894 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5895 Remove vars.
9a1ff164
SM
5896 (whitespace-color-on, whitespace-color-off):
5897 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 5898
0e6008c5
SM
58992013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
5902 remapping in mode-line.
5903 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
5904
627b52b0
DG
59052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5906
5907 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
5908 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
5909 (whitespace-font-lock-keywords): Change description.
5910 (whitespace-color-on): Don't save `font-lock-keywords' value, save
5911 the constructed keywords instead.
5912 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 5913
50c3a20b
LL
59142013-03-19 Leo Liu <sdl.web@gmail.com>
5915
5916 * progmodes/compile.el (compilation-display-error): New command.
5917 (compilation-mode-map, compilation-minor-mode-map): Bind it to
5918 C-o. (Bug#13992)
5919
2aa2157b
PE
59202013-03-18 Paul Eggert <eggert@cs.ucla.edu>
5921
5922 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
5923
e477dbfa
JD
59242013-03-18 Jan Djärv <jan.h.d@swipnet.se>
5925
5926 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
5927
64ab82d1
MA
59282013-03-18 Michael Albinus <michael.albinus@gmx.de>
5929
5930 * net/tramp-compat.el (tramp-compat-user-error): New defun.
5931
5932 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5933 * net/tramp-gvfs.el (top):
5934 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
5935 (tramp-handle-shell-command): Use it.
5936 (tramp-dissect-file-name): Raise an error when hostname is a
5937 method name, and neither method nor user is specified.
5938
5939 * net/trampver.el: Update release number.
5940
33cef733
LL
59412013-03-18 Leo Liu <sdl.web@gmail.com>
5942
5943 Make sure eldoc can be turned off properly.
5944 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
5945 eldoc-mode.
5946 (eldoc-display-message-p): Revert last change.
5947 (eldoc-display-message-no-interference-p)
5948 (eldoc-print-current-symbol-info): Tweak.
5949
2167b7b2
TH
59502013-03-18 Tassilo Horn <tsdh@gnu.org>
5951
5952 * doc-view.el (doc-view-new-window-function): Check the new window
5953 overlay's display property instead the char property of the
5954 buffer's first char. Use `with-selected-window' instead of
5955 `save-window-excursion' with `select-window'.
5956 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 5957 display property instead the char property of the buffer's first char.
2167b7b2 5958
982efbcd
PE
59592013-03-18 Paul Eggert <eggert@cs.ucla.edu>
5960
5961 Automate the build of ja-dic.el (Bug#13984).
5962 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
5963 from the input, rather than assume that it's been done for us by the
5964 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
5965 the current date into a ja-dic.el comment, as that complicates
5966 regression testing.
5967
2fcc7665
SM
59682013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5969
5970 * whitespace.el: Fix double evaluation.
5971 (whitespace-space, whitespace-hspace, whitespace-tab)
5972 (whitespace-newline, whitespace-trailing, whitespace-line)
5973 (whitespace-space-before-tab, whitespace-indentation)
5974 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
5975 obsolete defvars.
5976 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
5977 (whitespace-color-on): Use a single font-lock-add-keywords call.
5978 Fix double-evaluation of face variables.
5979
67c0a6e6
MA
59802013-03-17 Michael Albinus <michael.albinus@gmx.de>
5981
2fcc7665
SM
5982 * net/tramp-adb.el (tramp-adb-parse-device-names):
5983 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 5984 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 5985
69489f1d
LL
59862013-03-17 Leo Liu <sdl.web@gmail.com>
5987
5988 Extend eldoc to display info in the mode-line. (Bug#13978)
5989 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
5990 (eldoc-mode-line-string): New variable.
5991 (eldoc-minibuffer-message): New function.
5992 (eldoc-message-function): New variable.
5993 (eldoc-message): Use it.
5994 (eldoc-display-message-p)
2fcc7665
SM
5995 (eldoc-display-message-no-interference-p):
5996 Support eldoc-post-insert-mode.
69489f1d
LL
5997
5998 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
5999 (eval-expression): Run it.
6000
9c44569e
RW
60012013-03-17 Roland Winkler <winkler@gnu.org>
6002
6003 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6004 strings in the list of return values.
6005
327f1f6f
JB
60062013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6007
6008 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6009 radix before checking for HMS forms.
6010
67ed8fcd
LL
60112013-03-16 Leo Liu <sdl.web@gmail.com>
6012
6013 * progmodes/scheme.el: Add indentation and font-locking for λ.
6014 (Bug#13975)
6015
78be8b64 60162013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
6017
6018 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6019 token before point (bug#13942).
6020
78be8b64 60212013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 6022
95b43468 6023 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 6024
98e775e6
EZ
60252013-03-16 Eli Zaretskii <eliz@gnu.org>
6026
6027 * startup.el (command-line-normalize-file-name): Fix handling of
6028 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6029 <xfq.free@gmail.com> in
6030 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6031
2edd6029
MA
60322013-03-15 Michael Albinus <michael.albinus@gmx.de>
6033
6034 Sync with Tramp 2.2.7.
6035
6036 * net/trampver.el: Update release number.
6037
d35f5864
TH
60382013-03-14 Tassilo Horn <tsdh@gnu.org>
6039
f35ffe5e
TH
6040 * doc-view.el Fix bug#13887.
6041 (doc-view-insert-image): Don't modify overlay associated to
6042 non-live windows, and implement horizontal centering of image in
6043 case it's smaller than the window.
6044 (doc-view-new-window-function): Force redisplay of new windows on
6045 doc-view buffers.
d35f5864 6046
1c4a85ed
KF
60472013-03-13 Karl Fogel <kfogel@red-bean.com>
6048
6049 * saveplace.el (save-place-alist-to-file): Don't sort
6050 `save-place-alist', just pretty-print it (bug#13882).
6051
85b66a21
MA
60522013-03-13 Michael Albinus <michael.albinus@gmx.de>
6053
a020afb9
JB
6054 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6055 Check whether `default-file-name-coding-system' is bound.
6056 It isn't in XEmacs.
85b66a21 6057
175600da
SM
60582013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6059
e7f7cb1a
SM
6060 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6061 backquotes for `obsolete' (bug#13929).
6062
175600da
SM
6063 * international/mule.el (find-auto-coding): Include file name in
6064 obsolescence warning (bug#13922).
6065
ca68a22e
TZ
60662013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6067
6068 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6069 for CFEngine 3-specific indentation.
6070 (cfengine3-indent-line): Use it. Fix up category regex.
6071 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6072
940e5099
SM
60732013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * type-break.el (type-break-file-name):
6076 * textmodes/remember.el (remember-data-file):
6077 * strokes.el (strokes-file):
6078 * shadowfile.el (shadow-initialize):
6079 * saveplace.el (save-place-file):
6080 * ps-bdf.el (bdf-cache-file):
6081 * progmodes/idlwave.el (idlwave-config-directory):
6082 * net/quickurl.el (quickurl-url-file):
6083 * international/kkc.el (kkc-init-file-name):
6084 * ido.el (ido-save-directory-list-file):
6085 * emulation/viper.el (viper-custom-file-name):
6086 * emulation/vip.el (vip-startup-file):
6087 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6088 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6089
cc725808
PE
60902013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6091
6092 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6093 * language/thai-word.el: Switch to UTF-8.
6094
a020afb9 6095See ChangeLog.16 for earlier changes.
e3d51b27
MR
6096
6097;; Local Variables:
6098;; coding: utf-8
e3d51b27
MR
6099;; End:
6100
ab422c4d 6101 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
6102
6103 This file is part of GNU Emacs.
6104
6105 GNU Emacs is free software: you can redistribute it and/or modify
6106 it under the terms of the GNU General Public License as published by
6107 the Free Software Foundation, either version 3 of the License, or
6108 (at your option) any later version.
6109
6110 GNU Emacs is distributed in the hope that it will be useful,
6111 but WITHOUT ANY WARRANTY; without even the implied warranty of
6112 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6113 GNU General Public License for more details.
6114
6115 You should have received a copy of the GNU General Public License
6116 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.