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