1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

109641 Commits

Author SHA1 Message Date
Glenn Morris
13d6a1a417 Remove duplicate merged ChangeLog entries 2013-01-02 16:38:32 -08:00
Glenn Morris
9539d46584 Correct dates of merged ChangeLog entries 2013-01-02 11:02:05 -08:00
Paul Eggert
9ff99d22a0 Merge from gnulib. 2013-01-02 08:37:04 -08:00
Paul Eggert
09b8afb6c8 Update copyright dates to 2013. 2013-01-02 08:30:50 -08:00
Paul Eggert
0877d0dc24 Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca 2013-01-02 08:13:04 -08:00
Michael Albinus
aca3d51dfa * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
`error' call.
(tramp-do-copy-or-rename-file): Ignore errors when calling
`set-file-extended-attributes'.

* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
handler for `file-acl'.
(tramp-smb-handle-file-acl): New defun.
2013-01-02 11:15:31 +01:00
Lars Magne Ingebrigtsen
9d9ffa1310 Merge changes made in Gnus master
lisp/gnus/gnus-msg.el: Don't do Gcc handling if Gnus isn't running
lisp/gnus/nnimap.el: Make nnimap treat \Deleted articles as \Read articles
2013-01-02 09:20:32 +00:00
Paul Eggert
71376d4b88 Simplify via eabs.
* dired.c (file_name_completion):
* doc.c (get_doc_string):
* floatfns.c (round2):
* font.c (font_score, font_delete_unmatched):
* fringe.c (compute_fringe_widths):
* lread.c (read_list):
* minibuf.c (Ftry_completion):
* term.c (tty_ins_del_lines):
* xterm.c (x_draw_image_foreground, x_draw_image_foreground_1):
Use eabs (x) rather than open-coding it as (x < 0 ? -x : x).
2013-01-01 23:57:00 -08:00
Jay Belanger
87e65f9680 * doc/misc/calc.texi (Free-Form Dates): Expand on the date reading
algorithm.

* lisp/calc/README: Mention ISO 8601 week-numbering dates.
2013-01-01 20:54:33 -06:00
Glenn Morris
d8fb8cce84 Auto-commit of loaddefs files. 2013-01-01 07:22:35 -05:00
Glenn Morris
0778f6f0c5 Auto-commit of generated files. 2013-01-01 07:18:20 -05:00
Glenn Morris
a616be859b Auto-commit of loaddefs files. 2013-01-01 06:17:46 -05:00
Martin Rudalics
0aac98ac25 Don't run view-mode-hook twice when calling view-mode (Bug#13315).
* view.el (view-mode-enable): New argument run-view-mode-hook.
Run view-mode-hook only when it's non-nil (Bug#13315).
(view-mode-enter): Call view-mode-enable with run-view-mode-hook
argument t.
2013-01-01 12:02:14 +01:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Juanma Barranquero
a19e68ea91 lib-src/makefile.w32-in (lisp1): Add macroexp.elc (bug#13320). 2013-01-01 09:58:46 +01:00
Andreas Schwab
5cebef2d18 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
defun.  Don't check for DECL if DOCSTRING isn't a string.
(defun): Likewise.
2012-12-31 22:53:33 +01:00
Glenn Morris
5ee1772e2c * eshell/em-cmpl.el (eshell-pcomplete): More thoroughly imitate pcomplete.
Fixes: debbugs:13293
2012-12-31 13:28:33 -08:00
Glenn Morris
4cddca3070 * files.el (parse-colon-path): Return nil for empty path elements.
Fixes: debbugs:13296
2012-12-31 13:20:07 -08:00
Fabián Ezequiel Gallina
6861432ebd * progmodes/python.el (python-nav-end-of-statement): Rewrite in
order to improve efficiency (Based on Daniel Colascione's
<dancol@dancol.org> patch).

Fixes: debbugs:13182
2012-12-31 17:58:57 -03:00
Glenn Morris
08f592198a * src/keymap.c (Fkey_description): Doc fix.
Fixes: debbugs:13323
2012-12-31 12:55:08 -08:00
Glenn Morris
22ff2cb8a4 Refer to "button" rather than "active field" in lispref
(cf 2005-12-22 change to doc/emacs/custom.texi)

* doc/lispref/customize.texi (Common Keywords, Type Keywords):
Replace "active field" with "button".

Fixes: debbugs:13310
2012-12-31 12:23:29 -08:00
Glenn Morris
b83a2ddd47 * lisp/vc/log-edit.el (log-edit-header-contents-regexp): Add doc string. 2012-12-31 12:13:28 -08:00
Glenn Morris
9800c5b059 Add an xref, cindex to the lispref
* customize.texi (Common Keywords): Add xref. 
* tips.texi (Library Headers): Add cindex.

Fixes: debbugs:13311
2012-12-31 12:06:43 -08:00
Fabián Ezequiel Gallina
5b63c74a17 * progmodes/python.el: Bump defgroup :version to 24.3. 2012-12-31 16:35:57 -03:00
Fabián Ezequiel Gallina
df4758b82e Backported revisions 2012-12-29T12:33:33Z!fgallina@gnu.org and 2012-12-29T12:57:49Z!fgallina@gnu.org from trunk. 2012-12-31 16:27:20 -03:00
Andreas Schwab
bdcad781aa Fixes: debbugs:13316
* emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
neither DOCSTRING nor DECL was given.
2012-12-31 20:15:32 +01:00
Eli Zaretskii
a7f1194834 Fix a bug with time zones on MS-Windows.
src/w32.c (unsetenv): Set up the string passed to _putenv
 correctly.  See
 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html
 for the bug this caused.
2012-12-31 18:09:00 +02:00
Paul Eggert
fee0bd5f32 Use URLs, not Boston addresses, in copyright notices. 2012-12-31 07:34:32 -08:00
Jürgen Hötzel
1a82330cc5 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
(No device connected, invalid device name). (Bug #13299)
2012-12-31 16:29:23 +01:00
Martin Rudalics
27fcfe3101 Once more fix resizing of rmail summary window.
* window.el (window-resizable--p): Rename to window-resizable-p.
(window-resize-no-error): New function.

* mail/rmail.el (rmail-maybe-display-summary): Restore behavior
broken in fix from 2012-12-28.
2012-12-31 12:35:13 +01:00
Glenn Morris
393e7ee044 Auto-commit of loaddefs files. 2012-12-31 06:20:58 -05:00
Glenn Morris
4efe5ef999 Auto-commit of generated files. 2012-12-31 06:17:37 -05:00
Stefan Monnier
96c052a5d1 * lisp/subr.el (special-form-p): Don't signal errors on undef aliases. 2012-12-30 23:43:35 -05:00
Jay Belanger
fd1f1603a4 * calc/calc-forms.el (math-parse-date): Try using
`math-parse-iso-date' when it looks like it might be needed.  Allow
times of 24:00. 
(math-parse-date-validate, math-parse-iso-date-validate):  Allow times
of 24:00.
2012-12-30 20:58:57 -06:00
Paul Eggert
84cc1ab625 * coding.c (Qmac): Now static. 2012-12-30 13:34:39 -08:00
Jan Djärv
7ec363cf23 Silence Gtk deprecation warnings by default.
* configure.ac: New enable: --enable-gtk-deprecation-warnings, default off.
(HAVE_GTK3): If above enable is off, add
-DGDK_DISABLE_DEPRECATION_WARNINGS to GTK_CFLAGS.
2012-12-30 20:34:25 +01:00
Jan Djärv
8b745d925b Check for deprecated gtk tearoff menu item in configure.
* configure.ac: Check for GtkHandlebox.
Check for GtkTearoffMenuItem.

* src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro.
(xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of
handlebox_widget.  Set toolbar_in_hbox to false/true, set
toolbar_is_packed to true.
(xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET.
(update_frame_tool_bar): Check toolbar_is_packed for packing.
Show all on TOOLBAR_TOP_WIDGET.
(free_frame_tool_bar): Check toolbar_is_packed.  Use widget returned
by TOOLBAR_TOP_WIDGET.
(xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET.
Check toolbar_is_packed.
(xg_have_tear_offs, tearoff_remove, tearoff_activate): Condition on
HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
(xg_have_tear_offs): When ! HAVE_GTK_TEAROFF_MENU_ITEM_NEW, return
false.
(create_menus): Create tearoff only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
(xg_update_menubar): Update title only if
HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
(xg_update_submenu): Skip tearoff only if
HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
(xg_initialize): Initialize xg_detached_menus only if
HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
2012-12-30 20:08:15 +01:00
Jan Djärv
5a1d858bbc Check for deprecated gtk_handle_box in configure.
* configure.ac: Check for GtkHandlebox.

* src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro.
(xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of
handlebox_widget.  Set toolbar_in_hbox to false/true, set
toolbar_is_packed to true.
(xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET.
(update_frame_tool_bar): Check toolbar_is_packed for packing.
Show all on TOOLBAR_TOP_WIDGET.
(free_frame_tool_bar): Check toolbar_is_packed.  Use widget returned
by TOOLBAR_TOP_WIDGET.
(xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET.
Check toolbar_is_packed.

* src/xterm.h (struct x_output): Surround handlebox_widget with
#ifdef HAVE_GTK_HANDLE_BOX_NEW.  toolbar_is_packed is new,
toolbar_in_hbox is bool.
2012-12-30 19:44:00 +01:00
Glenn Morris
d5e5e7b411 Merge from emacs-24; up to 2012-12-05T00:13:56Z!yamaoka@jpl.org 2012-12-30 10:09:01 -08:00
Glenn Morris
5c56088065 Auto-commit of loaddefs files. 2012-12-30 07:23:26 -05:00
Glenn Morris
beb0fe40b6 Auto-commit of generated files. 2012-12-30 07:18:53 -05:00
Michael Albinus
4f752957f1 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
Return `t' on success.

* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
handler for `set-file-selinux-context'.
2012-12-30 11:58:13 +01:00
Eli Zaretskii
e4f8453ad1 MS-DOS followup for 2012-12-04T21:17:30Z!monnier@iro.umontreal.ca.
msdos/sed1v2.inp (TEMACS_LDFLAGS2): Remove editing.
 (LIBS_GNUSTEP): Edit to empty.
2012-12-30 07:33:03 +02:00
Glenn Morris
8db39aebe8 mairix.el fix for bug#13294
* lisp/net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
Remove unnecessary/buggy autoloads (missing interactive). 
(rmail-summary-displayed, rmail-summary): Declare.
(mairix-rmail-display): Just require rmail.
2012-12-29 19:28:52 -08:00
Lars Magne Ingebrigtsen
4d1d3f07a4 lisp/gnus/nnfolder.el: Allow regenerating recursive nnfolder names 2012-12-29 23:18:05 +00:00
Andreas Schwab
2550c6e404 Properly configure GNUstep libraries
* configure.ac (TEMACS_LDFLAGS2): Don't define.
(LIBS_GNUSTEP): Set for GNUstep and substitute.
(LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep.

* src/Makefile.in (TEMACS_LDFLAGS2): Remove.
(LIBS_GNUSTEP): Define.
(LIBES): Add $(LIBS_GNUSTEP).
(temacs$(EXEEXT)): Use $(LDFLAGS) instead of $(TEMACS_LDFLAGS2).
2012-12-29 20:37:32 +01:00
Michael Albinus
eff2eb5812 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
(tramp-sh-handle-set-file-acl): Return `t' on success.
2012-12-29 20:11:11 +01:00
Glenn Morris
4d4056371f How to uncommit 2012-12-29 10:15:47 -08:00
Eli Zaretskii
8d23a33120 Improve copy-file diagnostics on MS-Windows.
src/fileio.c (Fcopy_file) [WINDOWSNT]: Improve diagnostics when CopyFile
 fails by looking at what GetLastError returns.
2012-12-29 19:47:39 +02:00
Eli Zaretskii
c1fea2c0d2 Fix return values of set-file-acl and set-file-selinux-context when ENOTSUP.
Fixes: debbugs:13298
2012-12-29 19:02:34 +02:00