]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years ago* INSTALL: Remove the "by hand" sections.
Glenn Morris [Wed, 15 Oct 2014 07:02:43 +0000 (00:02 -0700)]
* INSTALL: Remove the "by hand" sections.
No-one needs to know those details, and this file is too long already.

9 years agoMerge from emacs-24; up to 2014-07-27T09:41:59Z!ttn@gnu.org
Glenn Morris [Wed, 15 Oct 2014 02:42:58 +0000 (19:42 -0700)]
Merge from emacs-24; up to 2014-07-27T09:41:59Z!ttn@gnu.org

9 years ago* lisp/emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
Stefan Monnier [Wed, 15 Oct 2014 02:00:20 +0000 (22:00 -0400)]
* lisp/emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
Backported.

Fixes: debbugs:18688
9 years ago* lisp/progmodes/elisp-mode.el (elisp--local-variables-1):
Stefan Monnier [Wed, 15 Oct 2014 01:56:56 +0000 (21:56 -0400)]
* lisp/progmodes/elisp-mode.el (elisp--local-variables-1):
Handle quoted expressions.

Fixes: debbugs:18688
9 years ago* lisp/erc/erc-track.el (erc-modified-channels-display): Update mode line
Ivan Shmakov [Wed, 15 Oct 2014 01:15:40 +0000 (21:15 -0400)]
* lisp/erc/erc-track.el (erc-modified-channels-display): Update mode line
more frequently.

Fixes: debbugs:18510
9 years agolisp/gnus/gnus-start.el: Optionally check the newsrc.eld file's timestamp before...
Ted Zlatanov [Tue, 14 Oct 2014 22:13:44 +0000 (22:13 +0000)]
lisp/gnus/gnus-start.el: Optionally check the newsrc.eld file's timestamp before saving it

9 years agoMore INSTALL trivia
Glenn Morris [Tue, 14 Oct 2014 21:18:15 +0000 (17:18 -0400)]
More INSTALL trivia

9 years agoINSTALL trivia.
Glenn Morris [Tue, 14 Oct 2014 21:05:33 +0000 (17:05 -0400)]
INSTALL trivia.

9 years agoFix display of R2L entries in tabulated-list-mode.
Eli Zaretskii [Tue, 14 Oct 2014 19:29:47 +0000 (22:29 +0300)]
Fix display of R2L entries in tabulated-list-mode.

 lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Force
 bidi-paragraph-direction to 'left-to-right'.  This fixes
 buffer-menu display when the first buffer happens to start with
 R2L letter.

9 years ago* etc/NXML-NEWS: Add standard copyright and license notice.
Glenn Morris [Tue, 14 Oct 2014 16:09:09 +0000 (09:09 -0700)]
* etc/NXML-NEWS: Add standard copyright and license notice.

9 years ago* configure.ac: Require OSX >= 10.6 even if --with-ns is not given.
Jan Djärv [Tue, 14 Oct 2014 15:31:44 +0000 (17:31 +0200)]
* configure.ac: Require OSX >= 10.6 even if --with-ns is not given.

9 years agoCleanup terminal handling code.
Dmitry Antipov [Tue, 14 Oct 2014 12:45:41 +0000 (16:45 +0400)]
Cleanup terminal handling code.
* dispextern.h (get_named_tty): Remove prototype but...
* termhooks.h (get_named_terminal): ...resurrect it under
more meaningful name.
(get_terminal): Likewise, but with...
(decode_live_terminal): ...this name.
(decode_tty_terminal): Add prototype.
* term.c (get_tty_terminal): Remove.
(get_named_tty): Remove.
(Ftty_display_color_p, Ftty_display_color_cells, Ftty_type)
(Fcontrolling_tty_p, Fsuspend_tty, Fresume_tty):
Use decode_tty_terminal.
(Ftty_no_underline, Ftty_top_frame): Use decode_live_terminal.
* terminal.c (get_terminal): Refactor to...
(decode_terminal, decode_live_terminal): ...new functions.
(decode_tty_terminal): Replacement for get_tty_terminal.
(get_named_terminal): Likewise for get_named_tty.
* coding.c (Fset_terminal_coding_system_internal)
(Fterminal_coding_system, Fset_keyboard_coding_system_internal):
(Fkeyboard_coding_system):
* composite.c (Fcomposition_get_gstring):
* dispnew.c (Fsend_string_to_terminal):
* frame.c (Fmake_terminal_frame):
* nsfns.m (check_ns_display_info):
* w32fns.c, xfns.c (check_x_display_info):
* xselect.c (frame_for_x_selection): Use decode_live_terminal.
* keyboard.c (handle_interrupt_signal, handle_interrupt)
(Fset_quit_char): Use get_named_terminal.
(Fset_output_flow_control, Fset_input_meta_mode):
Use decode_tty_terminal.

9 years ago* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Michael Albinus [Tue, 14 Oct 2014 11:59:16 +0000 (13:59 +0200)]
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Reduce the amount of set environment variable commands.

9 years ago* configure.ac: apple-darwin powerpc is unported.
Jan Djärv [Tue, 14 Oct 2014 05:07:21 +0000 (07:07 +0200)]
* configure.ac: apple-darwin powerpc is unported.

9 years agoMerge from emacs-24; up to 2014-07-27T01:00:26Z!fgallina@gnu.org
Glenn Morris [Mon, 13 Oct 2014 20:55:41 +0000 (16:55 -0400)]
Merge from emacs-24; up to 2014-07-27T01:00:26Z!fgallina@gnu.org

9 years agoTweak previous authors.el change
Glenn Morris [Mon, 13 Oct 2014 19:52:43 +0000 (15:52 -0400)]
Tweak previous authors.el change

9 years agoSmall authors.el updates
Glenn Morris [Mon, 13 Oct 2014 19:32:14 +0000 (15:32 -0400)]
Small authors.el updates

* lisp/emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
(authors-obsolete-files-regexps): Additions.
(authors-no-scan-regexps): New constant.
(authors-no-scan-file-p): New function.
(authors): Respect authors-no-scan-file-p.

9 years agoChangeLog fix
Glenn Morris [Mon, 13 Oct 2014 19:17:46 +0000 (15:17 -0400)]
ChangeLog fix

Ref: http://lists.gnu.org/archive/html/emacs-orgmode/2014-01/msg00165.html
http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=65cf7047bf885959a5e03b5aa9346b55a600fcab

9 years agoFix org/ChangeLog wrt latest Org Sync.
Bastien Guerry [Mon, 13 Oct 2014 16:44:30 +0000 (18:44 +0200)]
Fix org/ChangeLog wrt latest Org Sync.

9 years agoFix bug #18699 with startup aborts of 32-bit MinGW64 build.
Eli Zaretskii [Mon, 13 Oct 2014 12:44:03 +0000 (15:44 +0300)]
Fix bug #18699 with startup aborts of 32-bit MinGW64 build.

 src/w32term.h (ALIGN_STACK): Use _WIN64, not _W64, to distinguish
 between 32-bit and 64-bit MinGW builds.

9 years ago* NEWS: Move and clarify OSX >= 10.6.
Jan Djärv [Mon, 13 Oct 2014 06:09:05 +0000 (08:09 +0200)]
* NEWS: Move and clarify OSX >= 10.6.

9 years agoMerge from emacs-24; up to 2014-07-26T12:14:42Z!schwab@linux-m68k.org
Glenn Morris [Mon, 13 Oct 2014 01:47:48 +0000 (18:47 -0700)]
Merge from emacs-24; up to 2014-07-26T12:14:42Z!schwab@linux-m68k.org

9 years agoUpdate doc/ make dist rules
Glenn Morris [Mon, 13 Oct 2014 01:40:56 +0000 (18:40 -0700)]
Update doc/ make dist rules

* emacs/Makefile.in (dist):
* lispintro/Makefile.in (dist):
* lispref/Makefile.in (dist):
* misc/Makefile.in (dist): Update for new output variables.

9 years agoMerge from emacs-24; up to 2014-07-26T11:58:24Z!schwab@linux-m68k.org
Glenn Morris [Sun, 12 Oct 2014 22:56:45 +0000 (15:56 -0700)]
Merge from emacs-24; up to 2014-07-26T11:58:24Z!schwab@linux-m68k.org

9 years agoSync Org 8.2.10
Bastien Guerry [Sun, 12 Oct 2014 22:25:24 +0000 (00:25 +0200)]
Sync Org 8.2.10

9 years ago* editfns.c (dump_tz_string): No longer const.
Paul Eggert [Sun, 12 Oct 2014 20:36:49 +0000 (13:36 -0700)]
* editfns.c (dump_tz_string): No longer const.

It might be modified.

9 years agoSpelling fixes.
Paul Eggert [Sun, 12 Oct 2014 20:09:15 +0000 (13:09 -0700)]
Spelling fixes.

9 years ago* admin/make-tarball.txt: Small additions.
Glenn Morris [Sun, 12 Oct 2014 18:41:05 +0000 (11:41 -0700)]
* admin/make-tarball.txt: Small additions.

9 years ago* net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
Michael Albinus [Sun, 12 Oct 2014 18:27:37 +0000 (20:27 +0200)]
* net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".

9 years ago* nsmenu.m (clear): Assume OS X 10.6 or later.
Paul Eggert [Sun, 12 Oct 2014 18:02:47 +0000 (11:02 -0700)]
* nsmenu.m (clear): Assume OS X 10.6 or later.

9 years agoFix import completion.
Fabián Ezequiel Gallina [Sun, 12 Oct 2014 15:12:04 +0000 (12:12 -0300)]
Fix import completion.

* lisp/progmodes/python.el (python-shell-completion-get-completions):
Fix import case regexp.

Fixes: debbugs:18582
9 years agoUpdate doc to say Mac OS X 10.6 or later now required.
Paul Eggert [Sun, 12 Oct 2014 14:56:58 +0000 (07:56 -0700)]
Update doc to say Mac OS X 10.6 or later now required.

* doc/emacs/macos.texi (Mac OS / GNUstep, Mac / GNUstep Basics)
(Mac / GNUstep Customization):
* nextstep/README: Mac OS X 10.6 or later now required.

9 years agoRequire OSX >= 10.6. Remove PowerPC unexec code.
Jan Djärv [Sun, 12 Oct 2014 08:35:50 +0000 (10:35 +0200)]
Require OSX >= 10.6.  Remove PowerPC unexec code.

* configure.ac: Require OSX 10.6.  Remove NSInteger test,
use nsfont for Gnustep, macfont for OSX.

* etc/NEWS: OSX required is 10.6 or newer.

* src/Makefile.in: Replace nsfont.o macfont.o with ns_fontfile in
comment.

* src/macfont.h (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_FORMAT_BITMAP)
(mac_font_copy_non_synthetic_table): Remove versions for OSX < 10.6

* src/nsfns.m: Always include src/macfont.h on COCOA.
(ns_filename_from_panel, ns_directory_from_panel)
(Fx_create_frame, Fns_popup_font_panel, ns_run_file_dialog)
(Fns_read_file_name, Fns_list_services): Remove code for OSX < 10.6

* src/nsterm.m: Always include src/macfont.h on COCOA.
(ns_update_auto_hide_menu_bar, ns_draw_fringe_bitmap)
(ns_dumpglyphs_image, ns_check_menu_open)
(applicationDidFinishLaunching)
(antialiasThresholdDidChange:)
(keyDown:, toggleFullScreen:, setPosition:portion:whole:): Remove
checks for OSX <= 10.5/10.6.
(changeFont:): Use macfont on COCOA, nsfont on GNUSTEP.
(syms_of_nsterm): Call syms_of_macfont on COCOA, syms_of_nsfont on
GNUSTEP.

* src/macfont.m: Remove >= 1050 check.
(macfont_create_family_with_symbol)
(macfont_get_glyph_for_character)
(mac_font_get_glyphs_for_variants)
(mac_ctfont_create_available_families, syms_of_macfont): Remove
code for OSX < 10.6.
(mac_font_family_group, mac_font_family_compare): Remove, only used
for OSX < 10.6.

* src/nsimage.m (allocInitFromFile:): Remove code for OSX < 10.6.

* src/nsmenu.m (NSMenuDidBeginTrackingNotification): Remove.
(x_activate_menubar, trackingNotification:): Remove check for
OSX >= 10.5.
(menuNeedsUpdate:): Remove check for OSX < 10.5.

* src/nsterm.h (MAC_OS_X_VERSION_10_4, MAC_OS_X_VERSION_10_5): Remove.
(NS_HAVE_NSINTEGER): Remove block.
Remove >= OSX 10.6 tests.

* src/unexmacosx.c: Remove include ppc/reloc.h.
(unrelocate, copy_dysymtab): Remove PPC code.
(rebase_reloc_address): Remove, only used for PPC:

9 years agoFix putenv race conditions with undefined behavior.
Paul Eggert [Sun, 12 Oct 2014 06:09:50 +0000 (23:09 -0700)]
Fix putenv race conditions with undefined behavior.

Do all putenv calls before Emacs creates any threads.
Use a safer way to modify the TZ environment variable in the
presence of multiple threads.  For further thread-safety,
prefer localtime_r and gmtime_r to localtime and gmtime,
and prefer struct tm's tm_gmtoff (if available) to calling
both localtime_r and gmtime_r.
* configure.ac (LOCALTIME_CACHE): Remove.
We needn't worry about SunOS 4 any more; Sun dropped support in 2003.
All uses of LOCALTIME_CACHE removed.  This simplifies the fix.
(tzalloc): Add check for this function.
* admin/merge-gnulib (GNULIB_MODULES): Add time_r, since Emacs now
calls localtime_r and gmtime_r directly.
* src/dbusbind.c (Fdbus__init_bus): Move xputenv call from here ...
(init_dbusbind): ... to this new function.
* src/emacs.c (main) [HAVE_DBUS]: Call it before creating threads.
* src/xterm.c (x_term_init): Move xputenv call from here ...
(init_xterm): ... to this new function.
* src/emacs.c (main) [USE_GTK]: Call it before creating threads.
* src/editfns.c (HAVE_TM_GMTOFF): Default to false.
(dump_tz_string): New constant.
(init_editfns): Use it.  This centralizes the dump_tz stuff.
Call set_time_zone_rule here, so that its xputenv is done
before Emacs goes multithreaded.
(mktime_z) [!HAVE_TZALLOC]: New function, which is typically
thread-safe enough for Emacs.
(format_time_string, Fdecode_time, Fcurrent_time_string)
(Fcurrent_time_zone):
Prefer localtime_r and gmtime_r, which are more thread-safe, to
localtime and gmtime.  Remove now-unnecessary calls to block_input.
(tm_gmtoff): New static function.
(Fdecode_time, Fcurrent_time_zone): Use it.
(Fencode_time): Use mktime_z, for better thread-safety.
(set_time_zone_rule): Now static.  Rewrite to be mostly thread-safe,
i.e., not quite thread-safe but good enough for Emacs typical usage.
Do not reclaim storage that is in the environment; let it leak.
Always call tzset, since localtime_r does not.
* src/emacs.c (dump_tz, Fdump_emacs) [HAVE_TZSET]: Remove dump_tz stuff.
This is now done in init_editfns.
* src/systime.h (mktime_z, timezone_t, tzalloc, tzfree) [!HAVE_TZALLOC]:
New macros and declarations, for platforms lacking tzalloc & friends.

Fixes: debbugs:8705
9 years agoMerge Org 8.2.9
Bastien Guerry [Sun, 12 Oct 2014 05:18:57 +0000 (07:18 +0200)]
Merge Org 8.2.9

9 years agoFix ns-use-fullscreen-animation again... add boolean.
Jan Djärv [Sat, 11 Oct 2014 20:00:59 +0000 (22:00 +0200)]
Fix ns-use-fullscreen-animation again...  add boolean.

* cus-start.el (all): Add missing ns and boolean to
ns-use-fullscreen-animation.

9 years ago* cus-start.el (all): Add missing ns to ns-use-fullscreen-animation.
Jan Djärv [Sat, 11 Oct 2014 19:58:02 +0000 (21:58 +0200)]
* cus-start.el (all): Add missing ns to ns-use-fullscreen-animation.

9 years ago* configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size to 8 MB. (Bug...
Ken Brown [Sat, 11 Oct 2014 17:16:12 +0000 (13:16 -0400)]
* configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size to 8 MB.  (Bug#18438)

9 years agoFix last change
Leo Liu [Sat, 11 Oct 2014 14:27:47 +0000 (22:27 +0800)]
Fix last change

9 years ago* progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
Leo Liu [Sat, 11 Oct 2014 14:11:03 +0000 (22:11 +0800)]
* progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
Use strings.
(cfengine3-create-imenu-index): New function.
(cfengine3-mode): Use it for `imenu-create-index-function'.
(cfengine-auto-mode): Improve and prefer cfengine3-mode when
buffer is empty.

9 years ago* cus-start.el (all): Add ns-use-fullscreen-animation.
Jan Djärv [Sat, 11 Oct 2014 08:28:11 +0000 (10:28 +0200)]
* cus-start.el (all): Add ns-use-fullscreen-animation.

9 years agoFix mailaddress
Jan Djärv [Sat, 11 Oct 2014 08:24:56 +0000 (10:24 +0200)]
Fix mailaddress

9 years agoFix mailaddress.
Jan Djärv [Sat, 11 Oct 2014 08:22:00 +0000 (10:22 +0200)]
Fix mailaddress.

9 years agoDrop support for deprecated (since 23.1) forms of diary-display-function
Glenn Morris [Sat, 11 Oct 2014 02:54:11 +0000 (19:54 -0700)]
Drop support for deprecated (since 23.1) forms of diary-display-function

* lisp/calendar/diary-lib.el (diary-display-function):
Drop support for deprecated nil and list forms.
(diary-list-entries): Update for the above.

* lisp/calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.

9 years agoFix port to Debian GNU/kFreeBSD 7 (wheezy).
Paul Eggert [Fri, 10 Oct 2014 18:02:09 +0000 (11:02 -0700)]
Fix port to Debian GNU/kFreeBSD 7 (wheezy).

* process.c (accept4) [!HAVE_ACCEPT4]: New macro.

Fixes: debbugs:18666
9 years ago* lisp/erc/erc.el: Fix paren typo in previous.
Glenn Morris [Fri, 10 Oct 2014 16:53:19 +0000 (12:53 -0400)]
* lisp/erc/erc.el: Fix paren typo in previous.

9 years agoOnly initialize erc-last-saved-position if not already a marker.
Ivan Shmakov [Fri, 10 Oct 2014 13:16:12 +0000 (09:16 -0400)]
Only initialize erc-last-saved-position if not already a marker.

Fixes: debbugs:16145
9 years ago* lisp/window.el (temp-buffer-window-show): Make BUFFER a required arg.
Leo Liu [Fri, 10 Oct 2014 12:39:49 +0000 (20:39 +0800)]
* lisp/window.el (temp-buffer-window-show): Make BUFFER a required arg.

Fixes: debbugs:18656
9 years ago[maint] Start Emacs versioning doc; nfc.
Thien-Thi Nguyen [Fri, 10 Oct 2014 07:54:08 +0000 (09:54 +0200)]
[maint] Start Emacs versioning doc; nfc.

* admin/versioning: New file.

9 years ago* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
Stefan Monnier [Fri, 10 Oct 2014 04:03:27 +0000 (00:03 -0400)]
* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
Reported by Arni Magnusson <arnima@hafro.is>.
* lisp/progmodes/prolog.el (prolog-electric--underscore): Same.

Fixes: debbugs:18622
9 years ago* lisp/select.el (gui-selection-exists-p-alist): New method.
Stefan Monnier [Fri, 10 Oct 2014 03:28:24 +0000 (23:28 -0400)]
* lisp/select.el (gui-selection-exists-p-alist): New method.
* lisp/menu-bar.el (menu-bar-edit-menu, clipboard-yank):
* lisp/simple.el (deactivate-mark): Use it.
* lisp/term/x-win.el (gui-selection-exists-p):
* lisp/term/w32-win.el (gui-selection-exists-p):
* lisp/term/pc-win.el (gui-selection-exists-p):
* lisp/term/ns-win.el (gui-selection-exists-p): Provide a backend instance.

9 years agoAllow Info-fontify-maximum-menu-size to specify unlimited
Glenn Morris [Fri, 10 Oct 2014 03:24:41 +0000 (20:24 -0700)]
Allow Info-fontify-maximum-menu-size to specify unlimited

* lisp/info.el (Info-fontify-maximum-menu-size): Fix :type.
Allow t to mean no limit.
(Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.

9 years ago* lisp/info.el (Info-fontify-maximum-menu-size): Bump to 400k.
Glenn Morris [Fri, 10 Oct 2014 01:11:24 +0000 (21:11 -0400)]
* lisp/info.el (Info-fontify-maximum-menu-size): Bump to 400k.

Fixes: debbugs:16227
9 years ago* doc/emacs/help.texi: Avoid overfull hbox.
Glenn Morris [Thu, 9 Oct 2014 17:39:07 +0000 (13:39 -0400)]
* doc/emacs/help.texi: Avoid overfull hbox.

9 years ago* doc/lispref/control.texi: Avoid overfull hbox.
Glenn Morris [Thu, 9 Oct 2014 17:36:02 +0000 (13:36 -0400)]
* doc/lispref/control.texi: Avoid overfull hbox.

9 years ago* doc/lispref/elisp.texi (DATE): Bump to October 2014.
Glenn Morris [Thu, 9 Oct 2014 16:07:40 +0000 (09:07 -0700)]
* doc/lispref/elisp.texi (DATE): Bump to October 2014.
I still have no idea what this is for, but newer is better!

9 years agoSpelling fixes.
Paul Eggert [Thu, 9 Oct 2014 15:59:41 +0000 (08:59 -0700)]
Spelling fixes.

9 years ago* src/frame.c (Fmouse_pixel_position): Call Vmouse_position_function.
Stefan Monnier [Thu, 9 Oct 2014 13:50:10 +0000 (09:50 -0400)]
* src/frame.c (Fmouse_pixel_position): Call Vmouse_position_function.

Fixes: debbugs:18638
9 years ago* lisp.h (USE_STACK_STRING): Now true only if USE_STACK CONS.
Paul Eggert [Thu, 9 Oct 2014 06:54:10 +0000 (23:54 -0700)]
* lisp.h (USE_STACK_STRING): Now true only if USE_STACK CONS.

On x86 platforms this works around GCC bug 63495
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63495>,
and more generally should fix a portability problem in Emacs.
Problem reported by Stefan Monnier in:
http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html

9 years agoMerge from emacs-24; up to 2014-07-22T06:37:31Z!yamaoka@jpl.org
Glenn Morris [Thu, 9 Oct 2014 04:23:09 +0000 (21:23 -0700)]
Merge from emacs-24; up to 2014-07-22T06:37:31Z!yamaoka@jpl.org

9 years ago* lisp/frame.el (make-frame): Use t rather than nil for `w'.
Stefan Monnier [Thu, 9 Oct 2014 03:04:59 +0000 (23:04 -0400)]
* lisp/frame.el (make-frame): Use t rather than nil for `w'.

Fixes: debbugs:18653
9 years ago* NEWS: Mention optional arg to terpri and new cl-lib functions.
Leo Liu [Thu, 9 Oct 2014 01:52:47 +0000 (09:52 +0800)]
* NEWS: Mention optional arg to terpri and new cl-lib functions.

9 years ago* doc/lispref/frames.texi: Tweak previous tweaks.
Glenn Morris [Thu, 9 Oct 2014 01:09:10 +0000 (21:09 -0400)]
* doc/lispref/frames.texi: Tweak previous tweaks.

9 years agoDoc tweaks
Glenn Morris [Thu, 9 Oct 2014 00:47:30 +0000 (20:47 -0400)]
Doc tweaks

* doc/lispref/frames.texi (Multiple Terminals): Copyedits.

* lisp/frame.el (display-monitor-attributes-list): Doc tweaks.

* nt/README.W32, src/ChangeLog.10, src/w32term.c:
Standardize on "taskbar" rather than "task bar", since that is what
most references seem to use; e.g.
http://en.wikipedia.org/wiki/Taskbar
http://windows.microsoft.com/en-us/windows7/products/features/windows-taskbar

9 years agoEnhance terpri to allow conditionally output a newline
Leo Liu [Wed, 8 Oct 2014 22:05:48 +0000 (06:05 +0800)]
Enhance terpri to allow conditionally output a newline

* doc/lispref/streams.texi (Output Functions): Document new argument ENSURE to
terpri.

* doc/misc/cl.texi (Porting Common Lisp): Remove parse-integer.

* lisp/emacs-lisp/cl-extra.el (cl-fresh-line): New function.

* src/keymap.c (describe_vector_princ):
* src/keyboard.c (Fcommand_error_default_function): Adapt to change to
Fterpri.

* src/print.c (printchar_stdout_last): Declare.
(printchar): Record the last char written to stdout.
(Fterpri): Add optional argument ENSURE.

* test/automated/print-tests.el: New file.
(terpri): Tests for terpri.  (Bug#18652)

9 years ago* lisp/frame.el: Fix doc typo in previous
Glenn Morris [Wed, 8 Oct 2014 19:37:37 +0000 (15:37 -0400)]
* lisp/frame.el: Fix doc typo in previous

9 years ago* cal-x.el (calendar-dedicate-diary): Drop support for deleted aliases.
Glenn Morris [Wed, 8 Oct 2014 18:30:45 +0000 (14:30 -0400)]
* cal-x.el (calendar-dedicate-diary): Drop support for deleted aliases.

9 years ago* lisp/progmodes/cfengine.el (cfengine3-make-syntax-cache): Always
Leo Liu [Wed, 8 Oct 2014 15:34:58 +0000 (23:34 +0800)]
* lisp/progmodes/cfengine.el (cfengine3-make-syntax-cache): Always
return a syntax.  Replace call-process-shell-command with
process-file.  Ensure cfengine-mode-syntax-functions-regex is
always set.  Ensure cache when cfengine-cf-promises fails.

Fixes: debbugs:18620
9 years agoFix bug #18649 with handling C-g on MS-Windows in -nw sessions.
Eli Zaretskii [Wed, 8 Oct 2014 12:32:38 +0000 (15:32 +0300)]
Fix bug #18649 with handling C-g on MS-Windows in -nw sessions.

 src/w32inevt.c (maybe_generate_resize_event): Pass non-zero as the
 DELAY argument to change_frame_size, so that the frame size
 changes, if any are needed, are delayed until the next redisplay.
 This is to avoid a too early QUIT inside change_frame_size, when
 it calls Lisp in frame_windows_min_size, in case one of the events
 we've read sets the quit-flag.

9 years agodoc/lispref/frames.texi: (Multiple Terminals): Fix last commit.
Eli Zaretskii [Wed, 8 Oct 2014 11:17:13 +0000 (14:17 +0300)]
doc/lispref/frames.texi: (Multiple Terminals): Fix last commit.

9 years agoAccept terminal devices on MS-Windows in APIs that accept frame or display.
Eli Zaretskii [Wed, 8 Oct 2014 10:39:45 +0000 (13:39 +0300)]
Accept terminal devices on MS-Windows in APIs that accept frame or display.

 src/w32fns.c (check_x_display_info): Accept terminal objects as
 argument, to follow what xfns.c does.

9 years agoFix bug #18636 with documentation of multi-monitor displays.
Eli Zaretskii [Wed, 8 Oct 2014 10:16:45 +0000 (13:16 +0300)]
Fix bug #18636 with documentation of multi-monitor displays.

 doc/lispref/frames.texi (Multiple Terminals): Improve the description of X
 display names.  Add index entries.
 (Basic Parameters): Add a cross-reference to where X display names
 are described.
 (Position Parameters): Mention that positional parameters of the
 form (+ POS) can be negative if they are on a non-primary monitor
 of a multi-monitor display.
 (Creating Frames): Mention that on multi-monitor displays the
 frame might be positioned differently than specified by the frame
 parameters alist.

 lisp/faces.el (display-grayscale-p): Mention in the doc string that
 the argument can be either a display name or a frame.
 lisp/frame.el (display-pixel-height, display-pixel-width)
 (display-mm-height, display-mm-width, display-backing-store)
 (display-save-under, display-planes, display-color-cells)
 (display-visual-class, display-monitor-attributes-list)
 (display-screens): Mention in the doc string that the argument can
 be either a display name or a frame.  Improve the docs of the
 monitor attributes.

9 years agoFix bug #18610 with crashes when visiting files with ESC and 8-bit bytes.
Kenichi Handa [Wed, 8 Oct 2014 07:30:57 +0000 (10:30 +0300)]
Fix bug #18610 with crashes when visiting files with ESC and 8-bit bytes.

 src/coding.c (detect_coding_iso_2022): Set coding->rejected
 correctly when an invalid escape sequence is found.

 Backported from trunk.

9 years ago* admin/unidata/Makefile.in: Check for deleted uni- files.
Glenn Morris [Tue, 7 Oct 2014 20:17:09 +0000 (16:17 -0400)]
* admin/unidata/Makefile.in: Check for deleted uni- files.
(all): Use unifiles rather than charprop.el.
(FORCE): New variable and phony rule.
(${unidir}/charprop.el): Respect FORCE.
(unifiles): New rule.

* src/Makefile.in ($(srcdir)/macuvs.h)
($(lispsource)/international/charprop.el): Add explicit FORCE.

Fixes: debbugs:18489
9 years agoFix bug #18650 with warning about zlib when loading url-vars.el.
Eli Zaretskii [Tue, 7 Oct 2014 17:18:07 +0000 (20:18 +0300)]
Fix bug #18650 with warning about zlib when loading url-vars.el.

 src/decompress.c (init_zlib_functions): Move the message about zlib
 being unavailable from here...
 (Fzlib_decompress_region): ...to here.

 lisp/url/url-http.el (url-http-create-request): Recheck zlib availability
 on windows-nt each time it might be required.

9 years ago* font.c (Ffont_get_glyphs): Use validate_subarray and fix
Dmitry Antipov [Tue, 7 Oct 2014 16:00:35 +0000 (20:00 +0400)]
* font.c (Ffont_get_glyphs): Use validate_subarray and fix
the case where an optional string is used.  Adjust docstring.

9 years agoadmin/unidata/Makefile.in small cleanup
Glenn Morris [Tue, 7 Oct 2014 05:14:28 +0000 (22:14 -0700)]
admin/unidata/Makefile.in small cleanup

* admin/unidata/Makefile.in (unidir): Rename from DSTDIR.  Change all uses.
(charprop.el, install): Remove rules.
(clean): Simplify.

9 years ago* lisp/font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
Glenn Morris [Tue, 7 Oct 2014 03:20:33 +0000 (20:20 -0700)]
* lisp/font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.

9 years agoSync with upstream verilog-mode revision c075a492
Wilson Snyder [Tue, 7 Oct 2014 03:19:10 +0000 (20:19 -0700)]
Sync with upstream verilog-mode revision c075a492

* lisp/progmodes/verilog-mode.el (verilog-mode-version): Bump.
(verilog-menu): Add AUTOINSERTLAST.
(verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
is nil, fix indenting initial/final to match always statements, bug825.
Reported by Tim Clapp.
(verilog-extended-complete-re): Fix indentation of DPI-C imports,
bug557.  Reported by ZeDong Mao and Jason Forkey.
(verilog-read-decls): Fix parsing typed interfaces.
Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
(verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
(verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
Reported by Pierre-David Pfister.
(verilog-auto-insert-lisp): Doc fix.
(verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
(verilog-sk-ovm-class, verilog-sk-uvm-object)
(verilog-sk-uvm-component): Fix missing string keyword in class
skeletons, bug824.  Reported by eldad faruhi.

9 years agolisp/gnus/gnus-icalendar.el (gnus-icalendar-identities): Include message-alternative...
Jan Tatarik [Mon, 6 Oct 2014 22:11:44 +0000 (22:11 +0000)]
lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities): Include message-alternative-emails

9 years agoFix "make docs" failure
Ulf Jasper [Mon, 6 Oct 2014 18:26:24 +0000 (20:26 +0200)]
Fix "make docs" failure

* doc/misc/newsticker.texi (Supported Formats): Fix order of subheading and
itemize.

9 years ago* lisp/term/w32-win.el: Move all code from 32-common-fns.el here.
Stefan Monnier [Mon, 6 Oct 2014 17:47:56 +0000 (13:47 -0400)]
* lisp/term/w32-win.el: Move all code from 32-common-fns.el here.
(gui-select-text, gui-selection-value): Use w32 handlers in the w32
console as well.
* lisp/w32-common-fns.el: Remove.
* lisp/loadup.el: Don't load w32-common-fns.el.
* w32-fns.elc: Don't require w32-common-fns.
* src/lisp.mk (lisp): Remove w32-common-fns.elc.

Fixes: debbugs:18629
9 years ago* lisp/icomplete.el: Move Iswitchb autoload here. Much simpler.
Stefan Monnier [Mon, 6 Oct 2014 14:12:56 +0000 (10:12 -0400)]
* lisp/icomplete.el: Move Iswitchb autoload here.  Much simpler.
* lisp/Makefile.in (obsolete-autoloads): Remove.
(AUTOGENEL): Remove obsolete/loaddefs.el.
* lisp/loadup.el: Don't load obsolete/loaddefs.el.
* lisp/obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
Remove redundant obsolescence thingy.

9 years ago* lisp/Makefile.in (obsolete-autoloads): Write to a separate file,
Glenn Morris [Mon, 6 Oct 2014 07:00:33 +0000 (00:00 -0700)]
* lisp/Makefile.in (obsolete-autoloads): Write to a separate file,
to workaround autoloads bug.
(AUTOGENEL): Add obsolete/loaddefs.el.

* lisp/loadup.el: Load obsolete/loaddefs.el if present.

* lisp/subr.el (do-after-load-evaluation):
Don't warn about obsolete/loaddefs.el.

Fixes: debbugs:17407
9 years agoIn term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)
Martin Rudalics [Mon, 6 Oct 2014 06:45:10 +0000 (08:45 +0200)]
In term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)

* term.el (term-window-width): Subtract 1 from the width when
any fringe has zero width, not just the right fringe.  (Bug#18601)

9 years ago* package.texi (Package Menu): Package list was changed to not say "unsigned"
Glenn Morris [Mon, 6 Oct 2014 06:34:21 +0000 (23:34 -0700)]
* package.texi (Package Menu): Package list was changed to not say "unsigned"

9 years ago* lisp/menu-bar.el (menu-bar-games-menu): Remove landmark.
Glenn Morris [Mon, 6 Oct 2014 06:30:07 +0000 (23:30 -0700)]
* lisp/menu-bar.el (menu-bar-games-menu): Remove landmark.
It's not a game you can play, and is of no interest to the casual browser.
It was broken for years and no-one even noticed.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00288.html

9 years ago* configure.ac: Add -Wno-string-plus-int for clang.
Jan Djärv [Mon, 6 Oct 2014 06:21:13 +0000 (08:21 +0200)]
* configure.ac: Add -Wno-string-plus-int for clang.

9 years ago* imenu.el (imenu): Re-write for clarity.
Leo Liu [Mon, 6 Oct 2014 03:59:38 +0000 (11:59 +0800)]
* imenu.el (imenu): Re-write for clarity.

9 years agoRemove calendar code obsolete since at least version 23.1
Glenn Morris [Mon, 6 Oct 2014 02:02:04 +0000 (19:02 -0700)]
Remove calendar code obsolete since at least version 23.1

* lisp/calendar/cal-bahai.el (calendar-absolute-from-bahai)
(calendar-print-bahai-date, calendar-bahai-prompt-for-date)
(calendar-goto-bahai-date, list-bahai-diary-entries)
(mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
(insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
(insert-yearly-bahai-diary-entry):
* lisp/calendar/cal-china.el (chinese-calendar-time-zone)
(chinese-calendar-location-name)
(chinese-calendar-daylight-time-offset)
(chinese-calendar-standard-time-zone-name)
(chinese-calendar-daylight-time-zone-name)
(chinese-calendar-daylight-savings-starts)
(chinese-calendar-daylight-savings-ends)
(chinese-calendar-daylight-savings-starts-time)
(chinese-calendar-daylight-savings-ends-time)
(chinese-calendar-celestial-stem)
(chinese-calendar-terrestrial-branch)
(calendar-absolute-from-chinese, calendar-print-chinese-date)
(calendar-goto-chinese-date):
* lisp/calendar/cal-coptic.el (calendar-absolute-from-coptic)
(calendar-print-coptic-date, coptic-prompt-for-date)
(calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
(calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
* lisp/calendar/cal-french.el (calendar-absolute-from-french)
(calendar-print-french-date, calendar-goto-french-date):
* lisp/calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
(calendar-absolute-from-hebrew, calendar-print-hebrew-date)
(hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
(holiday-rosh-hashanah-etc, holiday-hanukkah)
(holiday-passover-etc, holiday-tisha-b-av-etc)
(list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
(mark-hebrew-diary-entries, insert-hebrew-diary-entry)
(insert-monthly-hebrew-diary-entry)
(insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
(diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
(diary-sabbath-candles):
* lisp/calendar/cal-islam.el (calendar-absolute-from-islamic)
(calendar-print-islamic-date, calendar-goto-islamic-date)
(list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
(mark-islamic-diary-entries, insert-islamic-diary-entry)
(insert-monthly-islamic-diary-entry)
(insert-yearly-islamic-diary-entry):
* lisp/calendar/cal-iso.el (calendar-absolute-from-iso)
(calendar-print-iso-date, calendar-iso-read-args)
(calendar-goto-iso-date, calendar-goto-iso-week):
* lisp/calendar/cal-julian.el (calendar-absolute-from-julian)
(calendar-print-julian-date, calendar-goto-julian-date)
(calendar-absolute-from-astro, calendar-print-astro-day-number)
(calendar-goto-astro-day-number):
* lisp/calendar/cal-mayan.el (calendar-print-mayan-date)
(calendar-next-haab-date, calendar-previous-haab-date)
(calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
(calendar-next-calendar-round-date)
(calendar-previous-calendar-round-date)
(calendar-absolute-from-mayan-long-count)
(calendar-goto-mayan-long-count-date):
* lisp/calendar/cal-move.el (scroll-calendar-left)
(scroll-calendar-right, scroll-calendar-left-three-months)
(scroll-calendar-right-three-months):
* lisp/calendar/cal-persia.el (calendar-absolute-from-persian)
(calendar-print-persian-date, persian-prompt-for-date)
(calendar-goto-persian-date):
* lisp/calendar/cal-x.el (calendar-after-frame-setup-hooks):
* lisp/calendar/calendar.el (view-diary-entries-initially)
(mark-diary-entries-in-calendar, calendar-today-face)
(diary-face, holiday-face, view-calendar-holidays-initially)
(mark-holidays-in-calendar, initial-calendar-window-hook)
(today-visible-calendar-hook, today-invisible-calendar-hook)
(hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
(bahai-diary-entry-symbol, american-date-diary-pattern)
(european-date-diary-pattern, european-calendar-display-form)
(american-calendar-display-form, holidays-in-diary-buffer)
(all-hebrew-calendar-holidays, all-christian-calendar-holidays)
(all-islamic-calendar-holidays, all-bahai-calendar-holidays)
(fancy-diary-buffer, increment-calendar-month)
(extract-calendar-month, extract-calendar-day)
(extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
(mark-visible-calendar-date, calendar-version):
* lisp/calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
(diary-display-hook, list-diary-entries-hook)
(mark-diary-entries-hook, nongregorian-diary-listing-hook)
(nongregorian-diary-marking-hook, print-diary-entries-hook)
(abbreviated-calendar-year, number-of-diary-entries)
(view-other-diary-entries, add-to-diary-list)
(include-other-diary-files, simple-diary-display)
(fancy-diary-display, print-diary-entries, mark-diary-entries)
(mark-sexp-diary-entries, mark-included-diary-files)
(mark-calendar-days-named, mark-calendar-month)
(mark-calendar-date-pattern, sort-diary-entries)
(list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
(insert-weekly-diary-entry, insert-monthly-diary-entry)
(insert-yearly-diary-entry, insert-anniversary-diary-entry)
(insert-block-diary-entry, insert-cyclic-diary-entry)
(fancy-diary-font-lock-keywords, fancy-diary-display-mode):
* lisp/calendar/holidays.el (general-holidays, oriental-holidays)
(local-holidays, other-holidays, hebrew-holidays)
(christian-holidays, islamic-holidays, bahai-holidays)
(solar-holidays, list-calendar-holidays)
(check-calendar-holidays, mark-calendar-holidays)
(filter-visible-calendar-holidays):
* lisp/calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
(diary-phases-of-moon): Remove obsolete aliases.

* lisp/calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
* calendar/cal-x.el (calendar-one-frame-setup)
(calendar-only-one-frame-setup, calendar-two-frame-setup):
Remove obsolete functions.
(cal-x-load-hook): Remove obsolete hook.

* calendar/calendar.el (european-calendar-style): Remove obsolete variable.
(calendar-date-style): No longer consult european-calendar-style.

* calendar/calendar.el (european-calendar, american-calendar):
Remove obsolete commands.

* calendar/calendar.el (calendar-for-loop): Remove obsolete macro.

* calendar/diary-lib.el (diary-face): Remove obsolete variable.
(diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
Use the face `diary' instead of the variable `diary-face'.

* calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
(hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.

* lisp/calendar/icalendar.el (icalendar--date-style): Remove function.
Replace all uses with calendar-date-style.

* lisp/textmodes/remember.el (calendar-date-style): Declare.
(remember-diary-convert-entry):
No longer consult european-calendar-style.

* test/automated/icalendar-tests.el (icalendar--calendar-style):
Remove test, no longer relevant.

9 years ago* keyboard.c (Qleft, Qright): Remove duplicate definitions.
Paul Eggert [Sun, 5 Oct 2014 23:18:31 +0000 (16:18 -0700)]
* keyboard.c (Qleft, Qright): Remove duplicate definitions.

These were already defined in buffer.c, and the duplicate
definitions cause problems on platforms like 'gcc -fno-common'.
Reported by Peter Dyballa in: http://bugs.gnu.org/9927#137

9 years agoFix disable toolbar for GNUStep.
Jan Djärv [Sun, 5 Oct 2014 18:03:42 +0000 (20:03 +0200)]
Fix disable toolbar for GNUStep.

* nsterm.m (updateFrameSize:): Only call update_frame_tool_bar
if toolbar is visible.

Fixes: debbugs:18345
9 years ago* nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than 0.23.
Jan Djärv [Sun, 5 Oct 2014 17:51:11 +0000 (19:51 +0200)]
* nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than 0.23.

Fixes: debbugs:18030
9 years agoMerge from emacs-24; up to 2014-07-21T01:34:03Z!monnier@iro.umontreal.ca
Glenn Morris [Sun, 5 Oct 2014 17:19:23 +0000 (10:19 -0700)]
Merge from emacs-24; up to 2014-07-21T01:34:03Z!monnier@iro.umontreal.ca

9 years ago* nsterm.m (ns_draw_window_cursor): Adjust y for hbar cursor only if smaller than
Jan Djärv [Sun, 5 Oct 2014 15:46:10 +0000 (17:46 +0200)]
* nsterm.m (ns_draw_window_cursor): Adjust y for hbar cursor only if smaller than
line height (Bug#17977).

Fixes: debbugs:18345
9 years ago* nsterm.m (ns_select, ns_read_socket): Use unwind_protect to decrease
Jan Djärv [Sun, 5 Oct 2014 14:17:43 +0000 (16:17 +0200)]
* nsterm.m (ns_select, ns_read_socket): Use unwind_protect to decrease
apploopnr.

Fixes: debbugs:18345
9 years ago* NEWS: Mention ns-use-fullscreen-animation.
Jan Djärv [Sun, 5 Oct 2014 12:25:00 +0000 (14:25 +0200)]
* NEWS: Mention ns-use-fullscreen-animation.

9 years agoAdd ns-use-fullscreen-animation for non-native fullscreen on NS.
Jan Djärv [Sun, 5 Oct 2014 12:20:17 +0000 (14:20 +0200)]
Add ns-use-fullscreen-animation for non-native fullscreen on NS.

* nsterm.m (syms_of_nsterm): ns-use-fullscreen-animation is new.
(toggleFullScreen:): Use ns-use-fullscreen-animation for animate.

9 years agoImport from macoport 24.3.94.
Jan Djärv [Sun, 5 Oct 2014 11:34:59 +0000 (13:34 +0200)]
Import from macoport 24.3.94.

* macfont.m: Fix indentation and import changes from macport
24.3.94.
(macfont_closest_traits_index): New function.
(macfont_closest_traits_index_p): Renamed from
macfont_closest_traits_index.
(macfont_list): Use macfont_closest_traits_index_p.

9 years agocoding.c (detect_coding_iso_2022): Fix previous change.
Kenichi Handa [Sun, 5 Oct 2014 08:52:04 +0000 (17:52 +0900)]
coding.c (detect_coding_iso_2022): Fix previous change.