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