bpt/emacs.git
10 years agoPrefer plain 'static' to 'static inline'.
Paul Eggert [Tue, 2 Jul 2013 00:33:04 +0000 (17:33 -0700)]
Prefer plain 'static' to 'static inline'.

I missed these instances of 'static inline' in an earlier sweep.
* ebrowse.c (putstr):
* etags.c (hash):
* make-docfile.c (put_char): No longer inline.
* etags.c (hash): Prefer int to unsigned when either will do.

Fixes: debbugs:12541

10 years agoMerge from gnulib.
Paul Eggert [Mon, 1 Jul 2013 23:43:19 +0000 (16:43 -0700)]
Merge from gnulib.

This incorporates:
2013-06-23 ignore-value: port to gcc -pedantic
2013-06-21 extern-inline: port to gcc -std=c89

10 years agoRemove duplicate ChangeLog entry, again.
Paul Eggert [Mon, 1 Jul 2013 21:44:44 +0000 (14:44 -0700)]
Remove duplicate ChangeLog entry, again.

10 years agoFix bug re noninteractive multithreaded memory allocation.
Paul Eggert [Mon, 1 Jul 2013 21:06:12 +0000 (14:06 -0700)]
Fix bug re noninteractive multithreaded memory allocation.

* emacs.c (malloc_enable_thread): Hoist extern decl to top level.
(main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
Invoke malloc_enable_thread even when not interactive.
Problem reported by Ken Brown in <http://bugs.gnu.org/14569#275>.
* process.c (init_process_emacs) [CYGWIN]: Tickle glib even
in this case, since the underlying bug has now been fixed.

10 years agosrc/emacs.c (Fkill_emacs): Expand Vauto_save_list_file_name before unlinking it.
Juanma Barranquero [Mon, 1 Jul 2013 16:54:37 +0000 (18:54 +0200)]
src/emacs.c (Fkill_emacs): Expand Vauto_save_list_file_name before unlinking it.

Fixes: debbugs:14691

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 1 Jul 2013 10:20:51 +0000 (06:20 -0400)]
Auto-commit of loaddefs files.

10 years agolisp/Changelog: Typo fix
Katsumi Yamaoka [Mon, 1 Jul 2013 05:01:42 +0000 (05:01 +0000)]
lisp/Changelog: Typo fix

10 years agowid-edit.el (widget-default-get): Don't modify widget (Bug#14738)
Katsumi Yamaoka [Mon, 1 Jul 2013 05:00:50 +0000 (05:00 +0000)]
wid-edit.el (widget-default-get): Don't modify widget (Bug#14738)

10 years agolisp/desktop.el: More fixes to frame restoration.
Juanma Barranquero [Mon, 1 Jul 2013 03:29:46 +0000 (05:29 +0200)]
lisp/desktop.el: More fixes to frame restoration.
(desktop-restore-frames): Rename from desktop-save-windows.
(desktop-restore-in-current-display): New customization option.
(desktop--excluded-frame-parameters): Add `font'.
(desktop--save-frames): Rename from desktop--save-windows.
(desktop--restore-in-this-display-p): New function.
(desktop--make-full-frame): Remove unwanted width/height from
full(width|height) frames.
(desktop--restore-frames): Rename from desktop--restore-windows.
Obey desktop-restore-current-display.  Do not delete old frames or
select a new frame unless we were able to restore at least one frame.

10 years agolisp/ChangeLog: Fix typo.
Juanma Barranquero [Mon, 1 Jul 2013 00:19:15 +0000 (02:19 +0200)]
lisp/ChangeLog: Fix typo.

10 years agoChangeLog fix
Glenn Morris [Mon, 1 Jul 2013 00:09:45 +0000 (17:09 -0700)]
ChangeLog fix

10 years agoAdd `remember-notes' function to store random notes across Emacs
Michal Nazarewicz [Sun, 30 Jun 2013 22:29:23 +0000 (18:29 -0400)]
Add `remember-notes' function to store random notes across Emacs
restarts.
* remember.el (remember-data-file): Add :set callback to affect
notes buffer (if any).
(remember-notes): New command.
(remember-notes-buffer-name, bury-remember-notes-on-kill):
New defcustoms for the `remember-notes' function.
(remember-notes-save-and-bury-buffer): New command.
(remember-notes-mode-map): New variable.
(remember-mode): New minor mode.
(remember-notes--kill-buffer-query): New function.
* lisp/startup.el (initial-buffer-choice): Add notes to custom type.
* src/buffer.c (FKill_buffer): Run `kill-buffer-query-functions'
before checking whether buffer is modified.  This lets
`kill-buffer-query-functions' cancel killing of the buffer or save
its content before `kill-buffer' asks user the "Buffer %s
modified; kill anyway?" question.

* remember.el (remember-append-to-file):
Don't mix `find-buffer-visiting' and `get-file-buffer'.

* lisp/files.el (find-file-noselect): Simplify conditional expression.

10 years agoAuto-commit of generated files.
Glenn Morris [Sun, 30 Jun 2013 18:53:36 +0000 (14:53 -0400)]
Auto-commit of generated files.

10 years ago* nsfns.m (handlePanelKeys): Don't process Command+Function keys.
Jan Djärv [Sun, 30 Jun 2013 16:38:26 +0000 (18:38 +0200)]
* nsfns.m (handlePanelKeys): Don't process Command+Function keys.
Let the super performKeyEquivalent deal with them.

Fixes: debbugs:14747

10 years agoFix minor problems found by static checking.
Paul Eggert [Sun, 30 Jun 2013 16:14:22 +0000 (09:14 -0700)]
Fix minor problems found by static checking.

* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu):
* lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance):
* lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]:
Now const.
* src/widget.c (resize_cb): Remove unused local.

10 years agoRemove duplicate ChangeLog entry.
Paul Eggert [Sun, 30 Jun 2013 15:33:01 +0000 (08:33 -0700)]
Remove duplicate ChangeLog entry.

10 years agoDo not use GTK 3 if it exists but cannot be compiled.
Paul Eggert [Sun, 30 Jun 2013 15:24:14 +0000 (08:24 -0700)]
Do not use GTK 3 if it exists but cannot be compiled.

* configure.ac: Leave GTK_OBJ and term_header alone if GTK 3
exists but cannot be compiled.
* src/xmenu.c (x_menu_wait_for_event) [!USE_GTK]:
* src/xterm.c (x_error_handler) [!USE_GTK]:
Do not use GTK 3.

10 years ago* intervals.c (get_local_map): Actually clip POSITION
Paul Eggert [Sun, 30 Jun 2013 15:14:45 +0000 (08:14 -0700)]
* intervals.c (get_local_map): Actually clip POSITION

Fixes: debbugs:14753

10 years agoSpelling fixes.
Paul Eggert [Sun, 30 Jun 2013 15:10:33 +0000 (08:10 -0700)]
Spelling fixes.

10 years agoA possible fix for bug #14753 with aborts in get_local_map.
Eli Zaretskii [Sun, 30 Jun 2013 15:03:31 +0000 (18:03 +0300)]
A possible fix for bug #14753 with aborts in get_local_map.

 src/intervals.c (get_local_map): Instead of aborting, clip POSITION
 to the valid range of values.

10 years agoDon't call sit-for in right-char and left-char for visual cursor motion.
Eli Zaretskii [Sun, 30 Jun 2013 14:49:33 +0000 (17:49 +0300)]
Don't call sit-for in right-char and left-char for visual cursor motion.

 src/xdisp.c (Fmove_point_visually): Invalidate the cursor position
 when moving point by using the current glyph matrix.  This avoids
 the need to force redisplay when this function is called in a
 loop.

 lisp/bindings.el (right-char, left-char): Don't call sit-for, this is
 no longer needed.  Use arithmetic comparison only for numerical
 arguments.

10 years agoFix bug #14755 which prevented autoloads from being computed.
Eli Zaretskii [Sun, 30 Jun 2013 14:27:07 +0000 (17:27 +0300)]
Fix bug #14755 which prevented autoloads from being computed.

 lisp/international/mule-cmds.el (select-safe-coding-system): Handle
 the case of FROM being a string correctly.

10 years agoFix shr table rendering infloop
Lars Magne Ingebrigtsen [Sun, 30 Jun 2013 13:11:41 +0000 (15:11 +0200)]
Fix shr table rendering infloop

* net/shr.el (shr-make-table-1): Add a sanity check that allows
progression on degenerate tables.
(shr-rescale-image): ImageMagick animated images currently doesn't
work.

10 years agoSome fixes and improvements for desktop frame restoration.
Juanma Barranquero [Sun, 30 Jun 2013 05:08:23 +0000 (07:08 +0200)]
Some fixes and improvements for desktop frame restoration.
It is still experimental and disabled by default.

* lisp/desktop.el (desktop--save-windows): Put the selected frame at
  the head of the list.
  (desktop--make-full-frame): New function.
  (desktop--restore-windows): Try to re-select the frame that was
  selected upon saving.  Do not abort if some frames fail to restore,
  just show an error message and contnue.  Set up maximized frames so
  they have default non-maximized dimensions.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Don't
Dmitry Gutov [Sun, 30 Jun 2013 02:23:10 +0000 (06:23 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Don't
start heredoc inside a string or comment.

10 years agoFix typos in ChangeLogs.
Juanma Barranquero [Sat, 29 Jun 2013 20:19:29 +0000 (22:19 +0200)]
Fix typos in ChangeLogs.

10 years agoFix typo in src/ChangeLog.
Eli Zaretskii [Sat, 29 Jun 2013 20:10:30 +0000 (23:10 +0300)]
Fix typo in src/ChangeLog.

10 years agoFix minor problems found by static checking.
Paul Eggert [Sat, 29 Jun 2013 15:52:20 +0000 (08:52 -0700)]
Fix minor problems found by static checking.

* coding.c (encode_inhibit_flag, inhibit_flag): New functions.
Redo the latter's body to sidestep GCC parenthesization warnings.
(setup_coding_system, detect_coding, detect_coding_system): Use them.
* coding.c (detect_coding, detect_coding_system):
* coding.h (struct undecided_spec):
Use bool for boolean.
* image.c (QCmax_width, QCmax_height): Now static.
* xdisp.c (Fmove_point_visually): Remove unused local.

10 years agoMinor fix in right-char and left-char, per Stefan's comments.
Eli Zaretskii [Sat, 29 Jun 2013 15:20:46 +0000 (18:20 +0300)]
Minor fix in right-char and left-char, per Stefan's comments.

10 years agoImplement visual-order cursor motion.
Eli Zaretskii [Sat, 29 Jun 2013 13:36:19 +0000 (16:36 +0300)]
Implement visual-order cursor motion.

 src/xdisp.c (Fmove_point_visually): New function.

 lisp/bindings.el (visual-order-cursor-movement): New defcustom.
 (right-char, left-char): Provide visual-order cursor motion by
 calling move-point-visually.  Update the doc strings.

 doc/emacs/basic.texi (Moving Point): Document visual-order-cursor-movement
 and its effect on right-char and left-char.

 doc/lispref/display.texi (Bidirectional Display): Document move-point-visually.

 etc/NEWS: Document the new feature.

10 years agomerge trunk
Kenichi Handa [Sat, 29 Jun 2013 03:44:38 +0000 (12:44 +0900)]
merge trunk

10 years agomerge trunk
Kenichi Handa [Sat, 29 Jun 2013 03:31:15 +0000 (12:31 +0900)]
merge trunk

10 years ago* buffers.texi (Buffer File Name): Fix typo.
Xue Fuqiao [Sat, 29 Jun 2013 03:24:22 +0000 (11:24 +0800)]
* buffers.texi (Buffer File Name): Fix typo.

10 years ago* admin.el (manual-pdf, manual-ps): Work in the directory with the texi file,
Glenn Morris [Sat, 29 Jun 2013 02:54:37 +0000 (19:54 -0700)]
* admin.el (manual-pdf, manual-ps): Work in the directory with the texi file,
so that TeX intermediate files go there rather than to PWD.

10 years ago* admin/admin.el (make-manuals): Don't bother with txt or dvi any more.
Glenn Morris [Sat, 29 Jun 2013 01:51:32 +0000 (18:51 -0700)]
* admin/admin.el (make-manuals): Don't bother with txt or dvi any more.
(manual-txt): Remove.
(manual-pdf): Doc fix.
(manual-ps): Rename from manual-dvi.

10 years ago* image.c (image_unget_x_image): Fix formatting.
YAMAMOTO Mitsuharu [Fri, 28 Jun 2013 23:36:14 +0000 (08:36 +0900)]
* image.c (image_unget_x_image): Fix formatting.

10 years ago* doc/emacs/ack.texi (Acknowledgments): Small update.
Glenn Morris [Fri, 28 Jun 2013 16:08:27 +0000 (09:08 -0700)]
* doc/emacs/ack.texi (Acknowledgments): Small update.

10 years agocoding.c (setup_coding_system): Handle CODING->spec.undecided.
Kenichi Handa [Fri, 28 Jun 2013 15:00:17 +0000 (00:00 +0900)]
coding.c (setup_coding_system): Handle CODING->spec.undecided.
(detect_coding): Likewise.
(detect_coding_system): Likewise.
(Fdefine_coding_system_internal): New coding system properties
:inhibit-null-byte-detection, :inhibit-iso-escape-detection, and
:prefer-utf-8.
(syms_of_coding): Adjusted for coding_arg_undecided_max.

10 years agocoding.h (define_coding_undecided_arg_index): New enum.
Kenichi Handa [Fri, 28 Jun 2013 14:59:50 +0000 (23:59 +0900)]
coding.h (define_coding_undecided_arg_index): New enum.
(coding_attr_index): New members
coding_attr_undecided_inhibit_null_byte_detection,
coding_attr_undecided_inhibit_iso_escape_detection,
coding_attr_undecided_prefer_utf_8.
(undecided_spec): New struct.
(struct coding_system): New member `undecied' of the member
`spec'.

10 years agomule.el (define-coding-system): New coding system
Kenichi Handa [Fri, 28 Jun 2013 14:54:18 +0000 (23:54 +0900)]
mule.el (define-coding-system): New coding system
properties :inhibit-null-byte-detection,
:inhibit-iso-escape-detection, and :prefer-utf-8.
(set-buffer-file-coding-system): If :charset-list property of
CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
appropriate for setting.

10 years agomule-cmds.el (select-safe-coding-system): If
Kenichi Handa [Fri, 28 Jun 2013 14:42:55 +0000 (23:42 +0900)]
mule-cmds.el (select-safe-coding-system): If
DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
multibyte characters, return utf-8 (or one of it's siblings).

10 years agomule-conf.el (prefer-utf-8): New coding system.
Kenichi Handa [Fri, 28 Jun 2013 14:41:14 +0000 (23:41 +0900)]
mule-conf.el (prefer-utf-8): New coding system.
(file-coding-system-alist): Use prefer-utf-8 as default for Elisp
files.

10 years agodecoder-tests.el (decoder-tests-gen-file): New arg FILE.
Kenichi Handa [Fri, 28 Jun 2013 14:39:40 +0000 (23:39 +0900)]
decoder-tests.el (decoder-tests-gen-file): New arg FILE.
(decoder-tests-ao-gen-file): Renamed from decoder-tests-filename.
Callers changed.
(decoder-tests-filename): New function.
(decoder-tests-prefer-utf-8-read)
(decoder-tests-prefer-utf-8-write): New function.
(ert-test-decoder-prefer-utf-8): New test.

10 years agognus-art.el (gnus-article-extend-url-button): Make it work again with gnus-button...
Katsumi Yamaoka [Fri, 28 Jun 2013 08:03:21 +0000 (08:03 +0000)]
gnus-art.el (gnus-article-extend-url-button): Make it work again with gnus-button-push revised at 2011-01-19

10 years ago* net/shr.el (shr-render-region): New function.
Ivan Kanis [Fri, 28 Jun 2013 07:57:49 +0000 (09:57 +0200)]
* net/shr.el (shr-render-region): New function.

10 years ago* net/eww.el: Autoload `eww-browse-url'.
Ivan Kanis [Fri, 28 Jun 2013 07:54:42 +0000 (09:54 +0200)]
* net/eww.el: Autoload `eww-browse-url'.

10 years ago* image.c (x_from_xcolors): Remove unused local.
Paul Eggert [Fri, 28 Jun 2013 05:48:53 +0000 (22:48 -0700)]
* image.c (x_from_xcolors): Remove unused local.

10 years agoFix W32-specific part of last change.
YAMAMOTO Mitsuharu [Fri, 28 Jun 2013 03:41:37 +0000 (12:41 +0900)]
Fix W32-specific part of last change.

10 years agoFix typo in ChangeLog for last commit.
YAMAMOTO Mitsuharu [Fri, 28 Jun 2013 02:44:19 +0000 (11:44 +0900)]
Fix typo in ChangeLog for last commit.

10 years agoDefer image data transfer between X client and server until actual display happens.
YAMAMOTO Mitsuharu [Fri, 28 Jun 2013 02:37:23 +0000 (11:37 +0900)]
Defer image data transfer between X client and server until actual display happens.

10 years agoAdd Copyright header, standardize license notice
Glenn Morris [Thu, 27 Jun 2013 16:14:05 +0000 (09:14 -0700)]
Add Copyright header, standardize license notice

10 years agoDo not tickle glib SIGCHLD handling if Cygwin.
Paul Eggert [Thu, 27 Jun 2013 14:47:52 +0000 (07:47 -0700)]
Do not tickle glib SIGCHLD handling if Cygwin.

This mostly consists of undoing recent changes.
* callproc.c (Fcall_process):
* process.c (create_process):
Do not worry about catching SIGCHLD here, undoing previous change.
* nsterm.m (ns_term_init): Re-catch SIGCHLD, undoing previous change.
* process.c, process.h (catch_child_signal):
No longer extern if !NS_IMPL_GNUSTEP, undoing 06-22 change.
* process.c (catch_child_handler): Don't worry about being called
lazily and do not assume caller has blocked SIGCHLD, undoing
previous change.  Move first-time stuff back to
init_process_emacs, undoing 06-22 change.  If CYGWIN, do not
tickle glib, as that causes Cygwin bootstrap to fail.  Do not
set lib_child_handler if it's already initialized, which may
help avoid problems on GNUStep.

10 years ago* test/automated/package-x-test.el: Change the commentary.
Dmitry Gutov [Thu, 27 Jun 2013 09:51:55 +0000 (13:51 +0400)]
* test/automated/package-x-test.el: Change the commentary.
(package-x-test--single-archive-entry-1-3)
(package-x-test--single-archive-entry-1-4): Fix the tests, by
using the appropriate data structure.

10 years ago* test/automated/package-x-test.el: Change the commentary.
Dmitry Gutov [Thu, 27 Jun 2013 09:30:37 +0000 (13:30 +0400)]
* test/automated/package-x-test.el: Change the commentary.

10 years ago* automated/Makefile.in (setwins): Include the 'data' subdirectory.
Dmitry Gutov [Thu, 27 Jun 2013 09:26:54 +0000 (13:26 +0400)]
* automated/Makefile.in (setwins): Include the 'data' subdirectory.

* automated/package-x-test.el: New file.

* automated/package-test.el: New file.

* automated/data/package: New directory, with test examples.

* lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): Adapt
to `package-desc-version' being a list.  Use
`package--ac-desc-version' to retrieve version from a package
archive element.

10 years ago* info.el (Info-try-follow-nearest-node): Move search for footnote
Stephen Berman [Thu, 27 Jun 2013 09:20:04 +0000 (11:20 +0200)]
* info.el (Info-try-follow-nearest-node): Move search for footnote
above search for node name to prevent missing a footnote.

Fixes: debbugs:14717

10 years agoNew experimental feature to save&restore window and frame setup.
Juanma Barranquero [Thu, 27 Jun 2013 09:08:14 +0000 (11:08 +0200)]
New experimental feature to save&restore window and frame setup.

* etc/NEWS: Document new Desktop option `desktop-save-windows'.

* lisp/desktop.el (desktop-save-windows): New defcustom.
  (desktop--saved-states): New var.
  (desktop--excluded-frame-parameters): New defconst.
  (desktop--filter-frame-parms, desktop--find-frame-in-display)
  (desktop--restore-windows, desktop--save-windows): New functions.
  (desktop-save): Call `desktop--save-windows'.
  (desktop-read): Call `desktop--restore-windows'.

10 years ago* net/shr.el (add-face-text-property): Removed compat definition.
Lars Magne Ingebrigtsen [Thu, 27 Jun 2013 09:01:08 +0000 (11:01 +0200)]
* net/shr.el (add-face-text-property): Removed compat definition.

10 years ago* NEWS: Mention new version of todo-mode.el and obsoleting and
Stephen Berman [Thu, 27 Jun 2013 08:44:19 +0000 (10:44 +0200)]
* NEWS: Mention new version of todo-mode.el and obsoleting and
renaming of old version.

10 years ago* obsolete/otodo-mode.el: Add obsolescence info to file header.
Stephen Berman [Thu, 27 Jun 2013 08:33:43 +0000 (10:33 +0200)]
* obsolete/otodo-mode.el: Add obsolescence info to file header.

10 years ago* python-tests.el (python-tests-with-temp-file): Clean up after ourself
Glenn Morris [Thu, 27 Jun 2013 05:46:51 +0000 (22:46 -0700)]
* python-tests.el (python-tests-with-temp-file): Clean up after ourself

10 years ago* net/eww.el (eww-read-bookmarks): Check file size.
Leo Liu [Thu, 27 Jun 2013 04:27:53 +0000 (12:27 +0800)]
* net/eww.el (eww-read-bookmarks): Check file size.

10 years agoFix ChangeLog typo
Glenn Morris [Thu, 27 Jun 2013 02:16:53 +0000 (19:16 -0700)]
Fix ChangeLog typo

10 years ago* automated/undo-tests.el (undo-test3): Remove test that seems to
Glenn Morris [Thu, 27 Jun 2013 02:00:54 +0000 (19:00 -0700)]
* automated/undo-tests.el (undo-test3): Remove test that seems to
nothing that the previous one doesn't, except leave a tempfile.

Fix copyright header.

10 years agoDo not create locallisppath directories.
Juanma Barranquero [Thu, 27 Jun 2013 01:40:46 +0000 (03:40 +0200)]
Do not create locallisppath directories.

* Makefile.in (install-arch-indep): Do not create directories passed
with --enable-locallisppath.

* etc/NEWS: Mention policy change with respect to locallisppath dirs.

10 years ago* lisp/emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
Stefan Monnier [Wed, 26 Jun 2013 22:31:19 +0000 (18:31 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
advice--pending if newdef is nil or an autoload.
(advice-mapc): New function.

Fixes: debbugs:13820

10 years ago(eww-bookmark-browse): Don't bug out if it's the only window.
Lars Magne Ingebrigtsen [Wed, 26 Jun 2013 17:14:46 +0000 (19:14 +0200)]
(eww-bookmark-browse): Don't bug out if it's the only window.

10 years ago(eww-add-bookmark): Remove newlines from the title.
Lars Magne Ingebrigtsen [Wed, 26 Jun 2013 16:59:21 +0000 (18:59 +0200)]
(eww-add-bookmark): Remove newlines from the title.

10 years agoAdd bookmark support to eww
Lars Magne Ingebrigtsen [Wed, 26 Jun 2013 16:54:48 +0000 (18:54 +0200)]
Add bookmark support to eww

* net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
probably.
(eww-mode-map): Add a menu bar.
(eww-add-bookmark): New command.
(eww-bookmark-mode): New mode and commands.

10 years ago* tips.texi (Coding Conventions): Improve wording.
Christopher Schmidt [Wed, 26 Jun 2013 15:22:21 +0000 (17:22 +0200)]
* tips.texi (Coding Conventions): Improve wording.

10 years ago(eww-mode-map): Add a menu bar.
Lars Magne Ingebrigtsen [Wed, 26 Jun 2013 13:07:24 +0000 (15:07 +0200)]
(eww-mode-map): Add a menu bar.

10 years agoImplement a command and mode for displaying and editing cookies
Lars Magne Ingebrigtsen [Wed, 26 Jun 2013 12:54:33 +0000 (14:54 +0200)]
Implement a command and mode for displaying and editing cookies

10 years ago* lisp/htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
Glenn Morris [Wed, 26 Jun 2013 06:59:48 +0000 (23:59 -0700)]
* lisp/htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
(hfy-size): Handle ttys.

Fixes: debbugs:14668

10 years agoinfo-xref.el: Update for Texinfo 5 change in *note format
Glenn Morris [Wed, 26 Jun 2013 01:52:09 +0000 (18:52 -0700)]
info-xref.el: Update for Texinfo 5 change in *note format

* lisp/info-xref.el (info-xref-node-re, info-xref-note-re): New constants.
(info-xref-check-buffer): Use info-xref-note-re.

* test/automated/info-xref.el: New file.

10 years ago* lisp/simple.el (set-variable): Use read-from-minibuffer.
Stefan Monnier [Wed, 26 Jun 2013 00:50:50 +0000 (20:50 -0400)]
* lisp/simple.el (set-variable): Use read-from-minibuffer.

Fixes: debbugs:14710

10 years ago* lisp/emacs-lisp/package.el (package--add-to-archive-contents): Add missing
Stefan Monnier [Wed, 26 Jun 2013 00:44:35 +0000 (20:44 -0400)]
* lisp/emacs-lisp/package.el (package--add-to-archive-contents): Add missing
nil to terminate the loop.

Fixes: debbugs:14718

10 years ago(eww-render): Move the history reset to the correct buffer.
Lars Magne Ingebrigtsen [Tue, 25 Jun 2013 22:29:01 +0000 (00:29 +0200)]
(eww-render): Move the history reset to the correct buffer.

10 years ago* net/eww.el: Rework history traversal.
Lars Magne Ingebrigtsen [Tue, 25 Jun 2013 22:24:43 +0000 (00:24 +0200)]
* net/eww.el: Rework history traversal.

When going forward/back, put these actions into the history, too, so
that they can be replayed.

10 years ago* lisp/files-x.el (read-file-local-variable-value): Add `default'.
Juri Linkov [Tue, 25 Jun 2013 20:48:54 +0000 (23:48 +0300)]
* lisp/files-x.el (read-file-local-variable-value): Add `default'.

Fixes: debbugs:14710

10 years ago* lisp/files-x.el (modify-dir-local-variable): Change the header comment
Juri Linkov [Tue, 25 Jun 2013 20:23:10 +0000 (23:23 +0300)]
* lisp/files-x.el (modify-dir-local-variable): Change the header comment
in the file with directory local variables.

Fixes: debbugs:14692

10 years ago* net/eww.el (eww-download): New command and keystroke.
Ivan Kanis [Tue, 25 Jun 2013 19:50:05 +0000 (21:50 +0200)]
* net/eww.el (eww-download): New command and keystroke.

* net/eww.el (eww-make-unique-file-name): Create a unique file
name before saving to entering `y' accidentally asynchronously.

10 years agoUse `w' for copying URLs in shr and eww
Lars Magne Ingebrigtsen [Tue, 25 Jun 2013 19:25:14 +0000 (21:25 +0200)]
Use `w' for copying URLs in shr and eww

* net/eww.el (eww-mode-map): Ditto.

* net/eww.el (eww-copy-page-url): Changed name of command.

* net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
be more consistent with Info and dired.

10 years agolisp/window.el: Fix previous change (2013-06-25T15:08:47Z!lekktu@gmail.com).
Stefan Monnier [Tue, 25 Jun 2013 17:20:19 +0000 (19:20 +0200)]
lisp/window.el: Fix previous change (2013-06-25T15:08:47Z!lekktu@gmail.com).

10 years ago* lisp/emacs-lisp/package.el: Include obsolete packages from archives.
Stefan Monnier [Tue, 25 Jun 2013 16:13:49 +0000 (12:13 -0400)]
* lisp/emacs-lisp/package.el: Include obsolete packages from archives.
Use lexical-binding.
(package-archive-contents): Change format; include obsolete packages.
(package-desc): Use `dir' to mark builtin packages.
(package--from-builtin): Set the `dir' field to `builtin'.
(generated-autoload-file, version-control): Declare.
(package-compute-transaction): Change first arg and return value to be
lists of package-descs.  Adjust to new package-archive-contents format.
(package--add-to-archive-contents): Adjust to new
package-archive-contents format.
(package-download-transaction): Arg is now a list of package-descs.
(package-install): If `pkg' is a package name, pass it as
a requirement, so it is subject to the usual (e.g. disabled) checks.
(describe-package): Accept package-desc as well.
(describe-package-1): Describe a specific package-desc.  Add links to
other package-descs for the same package name.
(package-menu-describe-package): Pass the actual package-desc.
(package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
works correctly.
(package-desc-status): New function.
(package-menu--refresh): New function, extracted
from package-menu--generate.
(package-menu--generate): Use it.
(package-delete): Update package-alist.
(package-menu-execute): Don't call package-initialize.

* lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlw-shell.el,
lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-complete-structtag.el,
lisp/progmodes/ebnf-yac.el, lisp/progmodes/ebnf-otz.el,
lisp/progmodes/ebnf-iso.el, lisp/progmodes/ebnf-ebx.el,
lisp/progmodes/ebnf-dtd.el, lisp/progmodes/ebnf-bnf.el,
lisp/progmodes/ebnf-abn.el, lisp/emacs-lisp/package-x.el,
lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el
lisp/cedet/data-debug.el, lisp/cedet/cedet-idutils.el:
Neuter the "Version:" header.

10 years agoMention eww
Lars Magne Ingebrigtsen [Tue, 25 Jun 2013 15:49:02 +0000 (17:49 +0200)]
Mention eww

10 years agolisp/window.el (window--state-get-1): Workaround for bug#14527.
Martin Rudalics [Tue, 25 Jun 2013 15:44:42 +0000 (17:44 +0200)]
lisp/window.el (window--state-get-1): Workaround for bug#14527.
http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html

10 years ago(eww-forward-url) Allow going forward in the history, too.
Lars Magne Ingebrigtsen [Tue, 25 Jun 2013 15:39:13 +0000 (17:39 +0200)]
(eww-forward-url) Allow going forward in the history, too.

This may not be the most intuitive way to implement this.  Perhaps
following links should flush "forwards"...

10 years agont/configure.bat: Warn about deprecation status.
Juanma Barranquero [Tue, 25 Jun 2013 15:08:47 +0000 (17:08 +0200)]
nt/configure.bat: Warn about deprecation status.

10 years ago(eww) Reimplement the history functionality
Lars Magne Ingebrigtsen [Tue, 25 Jun 2013 14:59:13 +0000 (16:59 +0200)]
(eww) Reimplement the history functionality

* net/eww.el (eww-back-url): Implement the history by stashing all
the data into a list.

10 years ago* lisp/files-x.el (read-file-local-variable-value): Use read-from-minibuffer
Stefan Monnier [Tue, 25 Jun 2013 13:07:04 +0000 (09:07 -0400)]
* lisp/files-x.el (read-file-local-variable-value): Use read-from-minibuffer
for values and use read--expression for expressions.
(read-file-local-variable): Avoid setq.
(read-file-local-variable-mode): Use minor-mode-list.

Fixes: debbugs:14710

10 years agobibtex-generate-url-list): Add support for DOI URLs
Roland Winkler [Tue, 25 Jun 2013 09:18:09 +0000 (21:18 +1200)]
bibtex-generate-url-list): Add support for DOI URLs

10 years agobibtex-mode: Update imenu-support when dialect changes
Roland Winkler [Tue, 25 Jun 2013 09:15:44 +0000 (21:15 +1200)]
bibtex-mode: Update imenu-support when dialect changes

10 years agoShameful typo
Glenn Morris [Tue, 25 Jun 2013 02:31:09 +0000 (19:31 -0700)]
Shameful typo

10 years ago* test/automated/occur-tests.el (occur-test-create): New function.
Glenn Morris [Tue, 25 Jun 2013 02:24:32 +0000 (19:24 -0700)]
* test/automated/occur-tests.el (occur-test-create): New function.
Use it to create separate tests for each element, so we run them
all rather than stopping at the first error.

10 years agoAdd some notes related to the Emacs www pages
Glenn Morris [Tue, 25 Jun 2013 02:15:00 +0000 (19:15 -0700)]
Add some notes related to the Emacs www pages

10 years ago* ido.el (ido-read-internal): Allow forward slash on windows.
Leo Liu [Tue, 25 Jun 2013 01:04:06 +0000 (09:04 +0800)]
* ido.el (ido-read-internal): Allow forward slash on windows.

10 years ago* test/automated/occur-tests.el (occur-tests):
Glenn Morris [Mon, 24 Jun 2013 23:52:33 +0000 (19:52 -0400)]
* test/automated/occur-tests.el (occur-tests):
Update for 2013-05-29 change to occur header line.

10 years ago* net/eww.el (eww): Start of strings is \\`, not ^.
Lars Magne Ingebrigtsen [Mon, 24 Jun 2013 17:42:22 +0000 (19:42 +0200)]
* net/eww.el (eww): Start of strings is \\`, not ^.

10 years ago* net/shr.el (shr-browse-url): Fix interactive spec.
Ivan Kanis [Mon, 24 Jun 2013 17:41:26 +0000 (19:41 +0200)]
* net/shr.el (shr-browse-url): Fix interactive spec.

10 years ago* net/eww.el (eww): Add a trailing slash to domain names.
Ivan Kanis [Mon, 24 Jun 2013 17:38:51 +0000 (19:38 +0200)]
* net/eww.el (eww): Add a trailing slash to domain names.