]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years agoMerge branch 'trunk' into xwidget
Joakim Verona [Tue, 2 Jul 2013 20:46:17 +0000 (22:46 +0200)]
Merge branch 'trunk' into xwidget

Conflicts:
src/window.c

11 years ago* term/ns-win.el (display-format-alist): Use .*.
Jan Djärv [Tue, 2 Jul 2013 18:16:09 +0000 (20:16 +0200)]
* term/ns-win.el (display-format-alist): Use .*.

Fixes: debbugs:14765
11 years agoRemove some unused macros from 'configure'.
Paul Eggert [Tue, 2 Jul 2013 16:56:29 +0000 (09:56 -0700)]
Remove some unused macros from 'configure'.

* configure.ac (HAVE_SOUNDCARD_H, HAVE_LINUX_VERSION_H, HAVE_SPEED_T)
(HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY)
(HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION, HAVE_UTIMES)
(HAVE_LIBHESIOD, HAVE_LIBRESOLV, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO)
(HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES)
(HAVE_LIBKRB4, HAVE_LIBKRB, HAVE_DES_H, HAVE_KERBEROSIV_DES_H)
(HAVE_DEV_PTMX, DEVICE_SEP, USG5):
Remove these macros, as they are not used.
(sys_siglist): Remove macro; src/sysdep.c now does this.
* src/sysdep.c (sys_siglist) [HAVE_DECL___SYS_SIGLIST]:
Define to __sys_siglist.

11 years agoImprove commentary for glyph.charpos and glyph.object.
Eli Zaretskii [Tue, 2 Jul 2013 16:45:28 +0000 (19:45 +0300)]
Improve commentary for glyph.charpos and glyph.object.

11 years agoUpdate commentary in w32notify.c.
Eli Zaretskii [Tue, 2 Jul 2013 16:32:03 +0000 (19:32 +0300)]
Update commentary in w32notify.c.

11 years agoFix bug #2749 with overflow-newline-into-fringe in visual-line-mode.
Eli Zaretskii [Tue, 2 Jul 2013 15:52:07 +0000 (18:52 +0300)]
Fix bug #2749 with overflow-newline-into-fringe in visual-line-mode.

 src/xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): Don't disallow
 word-wrap, so that overflow-newline-into-fringe would work in
 visual-line-mode.
 (move_it_in_display_line_to): When the last scanned display
 element fits exactly on the display line, and
 overflow-newline-into-fringe is non-nil, but wrap_it is valid,
 don't return MOVE_NEWLINE_OR_CR, but instead back up to the last
 wrap point and return MOVE_LINE_CONTINUED.  Fixes problems with
 finding buffer position that corresponds to pixel coordinates,
 e.g. in buffer_posn_from_coords.

11 years ago* process.c (handle_child_signal): Call catch_child_signal if NS_IMPL_GNUSTEP.
Jan Djärv [Tue, 2 Jul 2013 12:46:43 +0000 (14:46 +0200)]
* process.c (handle_child_signal): Call catch_child_signal if NS_IMPL_GNUSTEP.

11 years agoMerge changes made in Gnus trunk
Katsumi Yamaoka [Tue, 2 Jul 2013 10:38:58 +0000 (10:38 +0000)]
Merge changes made in Gnus trunk

2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
 * gnus.texi (Client-Side IMAP Splitting):
   Note that `nnimap-inbox' now can be a list.

2013-06-05 David Engster <deng@randomsample.de>
 * gnus-sum.el (gnus-update-marks): Do not remove empty 'unexist'
   ranges, since `nnimap-retrieve-group-data-early' also uses it as a flag
   to see whether the group was synced before.

2012-09-05 Martin Stjernholm <mast@lysator.liu.se>
 * nnimap.el (nnimap-request-move-article): Decode the group name when
   doing internal moves to avoid charset issues.

2012-09-05 Julien Danjou <julien@danjou.info>
 * nnimap.el (nnimap-request-list):
   Revert change that made listing synchronous.
   (nnimap-get-responses): Restore.

2012-08-31 Dave Abrahams <dave@boostpro.com>
 * nnimap.el (nnimap-change-group): Document result value.
 * nnimap.el (nnimap-find-article-by-message-id):
   Account for the fact that nnimap-change-group can return t.

2012-08-06 Julien Danjou <julien@danjou.info>
 * nnimap.el (nnimap-request-head):
   Resture to-buffer parameter, used by `nnimap-request-move-article'.
 * nnimap.el (nnimap-request-head): Remove to-buffer argument.
 * gnus-int.el (gnus-request-head): Remove to-buffer argument, only
   supported by nnimap actually. Reverts previous change.
 * gnus-int.el (gnus-request-head): Add an optional to-buffer parameter
   to mimic `gnus-request-article' and enjoy backends the nn*-request-head
   to-buffer argument that is already supported.

2012-07-24 Julien Danjou <julien@danjou.info>
 * nnimap.el (nnimap-get-responses): Remove, unused.

2012-06-25 Julien Danjou <julien@danjou.info>
 * nnimap.el (nnimap-request-articles-find-limit): Rename from
   `nnimap-request-move-articles-find-limit' since we do not use it
   only for move operations.
   (nnimap-request-accept-article):
   Use `nnimap-request-articles-find-limit' to limit search by message-id.

2012-06-19 Julien Danjou <julien@danjou.info>
 * nnir.el (nnir-run-imap): Fix, use `nnimap-change-group'.
 * nnimap.el (nnimap-log-buffer):
   Check that `window-point-insertion-type' is boundp, since it's not
   available in XEmacs.

2012-06-19 Michael Welsh Duggan <md5i@md5i.com>
 * nnimap.el (nnimap-log-buffer):
   Add this, setting `window-point-insertion-type' in the buffer to t.
   (nnimap-log-command): Use nnimap-log-buffer.

2012-06-19 Julien Danjou <julien@danjou.info>
 * nnimap.el (nnimap-find-article-by-message-id):
   Add an optional limit argument to be able to limit the search.
   (nnimap-request-move-article):
   Use `nnimap-request-move-articles-find-limit'.
   (nnimap-request-move-articles-find-limit):
   Add this to limit the search by Message-Id after a message move.
   (nnimap): Add defgroup.

2012-06-15 Julien Danjou <julien@danjou.info>
 * nnimap.el (nnimap-find-article-by-message-id):
   Use `nnimap-possibly-change-group' rather than its own EXAMINE call.
   (nnimap-possibly-change-group): Add read-only argument.
   (nnimap-request-list): Use nnimap-possibly-change-group rather than
   issuing EXAMINE manually.
   (nnimap-find-article-by-message-id):
   Use `nnimap-possibly-change-group' with read-only argument.
   (nnimap-change-group): Rename from `nnimap-possibly-change-group'.
   We cannot possibly change because we need to be sure that it's either
   read-write or read-only.

2012-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
 * gnus-sum.el (gnus-summary-insert-old-articles):
   Don't include unexistent messages.

2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
 * gnus-start.el (gnus-clean-old-newsrc):
   Remove totally bogus `unexists' entries.
   (gnus-clean-old-newsrc): Fix last checkin.
 * nnimap.el (nnimap-update-info):
   None of the articles below the active low-water mark exist.

2012-03-27 Katsumi Yamaoka <yamaoka@jpl.org>
 * nnimap.el (gnus-refer-thread-use-nnir): Silence the byte compiler.

2012-03-22 Sergio Martinez <samf0xb58@gmail.com> (tiny change)
 * nnimap.el (nnimap-request-scan):
   Allow `nnimap-inbox' to be a list of inboxes.

2012-03-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
 * gnus-group.el (gnus-group-expire-articles-1):
   Don't try to expire messages that don't exist.
 * gnus-sum.el (gnus-summary-expire-articles): Ditto.

2012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
 * gnus-start.el (gnus-clean-old-newsrc): Allow a FORCE parameter.

2012-02-15 Lars Ingebrigtsen <larsi@gnus.org>
 * gnus-start.el (gnus-clean-old-newsrc):
   Delete `unexist' from pre-Ma Gnus 0.3.

2012-02-15 Lars Ingebrigtsen <larsi@gnus.org>
 * gnus-sum.el (gnus-summary-local-variables):
   Make `gnus-newsgroup-unexist' into a local variable.

2012-02-11 Lars Ingebrigtsen <larsi@gnus.org>
 * gnus-sum.el (gnus-adjust-marked-articles):
   Add to `gnus-newsgroup-unexist'.
 * gnus.el (gnus-article-mark-lists):
   Add `unexist' to the list of marks.
   (gnus-article-special-mark-lists):
   Put the `unexist' in the special marks list instead.
 * gnus-sum.el (gnus-articles-to-read): Don't include unexisting
   articles in the list of articles to be selected.
 * nnimap.el (nnimap-retrieve-group-data-early):
   Query for unexisting articles.
   (nnimap-update-info): Keep track of unexisting articles.
   (nnimap-update-qresync-info): Ditto.

2012-02-01 Lars Ingebrigtsen <larsi@gnus.org>
 * gnus-start.el (gnus-clean-old-newsrc): New function.
   (gnus-read-newsrc-file): Use it.

11 years agoAuto-commit of generated files.
Glenn Morris [Tue, 2 Jul 2013 10:17:36 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years agoDon't convert function pointers to void * and back.
Paul Eggert [Tue, 2 Jul 2013 03:41:16 +0000 (20:41 -0700)]
Don't convert function pointers to void * and back.

It isn't portable C, and it's easy enough to avoid.
* alloc.c: Verify SAVE_FUNCPOINTER bits, too.
(make_save_value): Add support for SAVE_FUNCPOINTER.
* keymap.c (map_keymap_char_table_item, map_keymap_internal):
* print.c (print_object):
Distinguish function from object pointers.
* lisp.h (SAVE_FUNCPOINTER): New constant.
(SAVE_SLOT_BITS): Adjust to it.
(SAVE_TYPE_FUNCPTR_PTR_OBJ): New constant, replacing
SAVE_TYPE_PTR_PTR_OBJ.  Change the only use.
(voidfuncptr): New typedef.
(struct Lisp_Save_Value): New member data[0].funcpointer.
(XSAVE_FUNCPOINTER): New function.

11 years agolisp/gnus/mml2015.el: make key image extraction robuster
Daiki Ueno [Tue, 2 Jul 2013 02:34:12 +0000 (02:34 +0000)]
lisp/gnus/mml2015.el: make key image extraction robuster

11 years ago* configure.ac (GTK_COMPILES): Check API a bit more carefully.
Paul Eggert [Tue, 2 Jul 2013 02:17:12 +0000 (19:17 -0700)]
* configure.ac (GTK_COMPILES): Check API a bit more carefully.

Also check that it links.  Say whether it compiled and linked.

11 years agoSimplify buildobj processing.
Paul Eggert [Tue, 2 Jul 2013 00:57:46 +0000 (17:57 -0700)]
Simplify buildobj processing.

* Makefile.in (buildobj.h): Make it a sequence of strings each
followed by comma, rather than a single string.  Put it into a
.tmp file in case there's an error while generating it.
(gl-stamp): Use .tmp for temp files.
(mostlyclean): Clean .tmp files.
* doc.c (buildobj): Move to just the routine that needs it.
It's now an array of strings, so processing is simpler.

11 years agoFix ChangeLog dates.
Paul Eggert [Tue, 2 Jul 2013 00:35:28 +0000 (17:35 -0700)]
Fix ChangeLog dates.

11 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
11 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

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

11 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.

11 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
11 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 1 Jul 2013 10:20:51 +0000 (06:20 -0400)]
Auto-commit of loaddefs files.

11 years agoMerge pull request #6 from daimrod/struct_to_Lisp_Object
Joakim Verona [Mon, 1 Jul 2013 08:07:54 +0000 (01:07 -0700)]
Merge pull request #6 from daimrod/struct_to_Lisp_Object

Struct to lisp object

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

11 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)

11 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.

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

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

11 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.

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

11 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
11 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.

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

11 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.

11 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
11 years agoSpelling fixes.
Paul Eggert [Sun, 30 Jun 2013 15:10:33 +0000 (08:10 -0700)]
Spelling fixes.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

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

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

11 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.

11 years ago* src/.gdbinit (xxwidget): Add convenient command to print some
Grégoire Jadi [Sat, 29 Jun 2013 15:49:35 +0000 (17:49 +0200)]
* src/.gdbinit (xxwidget): Add convenient command to print some
information about an xwidget from GDB (similar to xbuffer, xwindow, ...).
(xpr): Use `xxwidget' on PVEC_XWIDGET.

11 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.

11 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.

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

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

11 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.

11 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.

11 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.

11 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.

11 years ago* src/xwidget.c: Replace xwidget_views by Vxwidget_view_list.
Grégoire Jadi [Fri, 28 Jun 2013 19:18:47 +0000 (21:18 +0200)]
* src/xwidget.c: Replace xwidget_views by Vxwidget_view_list.

xwidget_views was an hardcoded array of fixed lenght of `struct
xwidget_view', Vxwidget_view_list is a list of Lisp_Object.

* src/xwidget.h (xwidget_view): Remove member `initialized'.

This field was only used to determine whether a given xwidget_view was
initialized or not in `xwidget_views'. Now only initialized xwidget_view
are stored in Vxwidget_view_list.

11 years ago* src/xwidget.c: Fix access to w in xwidget_view (now a Lisp_Object)
Grégoire Jadi [Fri, 28 Jun 2013 19:18:47 +0000 (21:18 +0200)]
* src/xwidget.c: Fix access to w in xwidget_view (now a Lisp_Object)
* src/xwidget.h (xwidget_view): Convert member `w' to Lisp_Object.

11 years ago* src/xwidget.h (XXWIDGET, XXWIDGET_VIEW): Use XUNTAG instead of XPNTR
Grégoire Jadi [Fri, 28 Jun 2013 19:18:45 +0000 (21:18 +0200)]
* src/xwidget.h (XXWIDGET, XXWIDGET_VIEW): Use XUNTAG instead of XPNTR
(copied from XBUFFER and friends).

11 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.

11 years ago* src/xwidget.c (Fmake_xwidget): Use XSETXWIDGET instead of XSETPSEUDOVECTOR.
Grégoire Jadi [Fri, 28 Jun 2013 15:16:47 +0000 (17:16 +0200)]
* src/xwidget.c (Fmake_xwidget): Use XSETXWIDGET instead of XSETPSEUDOVECTOR.

11 years ago* src/xwidget.h (xwidget_view): Convert member `model' to Lisp_Object.
Grégoire Jadi [Fri, 28 Jun 2013 15:16:27 +0000 (17:16 +0200)]
* src/xwidget.h (xwidget_view): Convert member `model' to Lisp_Object.
(XXWIDGET_VIEW_P, XXWIDGET_VIEW): Add standard macros to manipulate xwidget_view.
* src/xwidget.c: Fix access to model in xwidget_view (now a Lisp_Object).

11 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.

11 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'.

11 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.

11 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).

11 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.

11 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.

11 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

11 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.

11 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'.

11 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.

11 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.

11 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.

11 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.

11 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

11 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.

11 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.

11 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.

11 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.

11 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
11 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'.

11 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.

11 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.

11 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.

11 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

11 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.

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

11 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.

11 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.

11 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
11 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.

11 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.

11 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.

11 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.

11 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.

11 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

11 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
11 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.

11 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
11 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
11 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.

11 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.

11 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