-2013-02-27 Bastien Guerry <bzg@gnu.org>
++2013-02-28 Bastien Guerry <bzg@gnu.org>
+
+ * xresources.texi (GTK resources): Fix broken link.
+
+2013-02-25 Eli Zaretskii <eliz@gnu.org>
+
+ * files.texi (Interlocking): Don't refer to symlinks as the
+ exclusive means of locking files.
+
2013-02-22 Glenn Morris <rgm@gnu.org>
* ack.texi (Acknowledgments):
-2013-02-27 Bastien Guerry <bzg@gnu.org>
++2013-02-28 Bastien Guerry <bzg@gnu.org>
+
+ * variables.texi (File Local Variables): Fix reference.
+
-2013-02-23 Eli Zaretskii <eliz@gnu.org>
+2013-02-24 Eli Zaretskii <eliz@gnu.org>
* files.texi (Magic File Names): Improve wording and indexing.
-2013-02-25 Michael Albinus <michael.albinus@gmx.de>
+ 2013-02-28 Bastien Guerry <bzg@gnu.org>
+
+ * org.texi (Visibility cycling): Suggest to set
+ `org-agenda-inhibit-startup' to nil if user wants the startup
+ visibility settings to be honored in any circumstances.
+ (Progress logging, Checkboxes): Fix typos.
+
++2013-02-28 Michael Albinus <michael.albinus@gmx.de>
+
+ * tramp.texi (top) [xxx, yyy, trampfn]: Provide two versions of
+ the macros, for Texinfo 4.13 and 5.0.
+
2013-02-24 Michael Albinus <michael.albinus@gmx.de>
- Port documentation to Texinfo 5.0.
-
+ Port Tramp documentation to Texinfo 5.0.
* tramp.texi (top) [xxx, yyy, trampfn]: Remove superfluous @c.
(Filename Syntax): Do not use @trampfn{} in @item.
(Filename completion): Use @columnfractions in @multitable.
-2013-02-25 Glenn Morris <rgm@gnu.org>
++2013-02-28 Glenn Morris <rgm@gnu.org>
+
+ * textmodes/paragraphs.el (mark-paragraph): Doc fix.
+
-2013-02-21 Juri Linkov <juri@jurta.org>
+2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
+ (doc-view-fallback-mode): Remove overlays here.
+ (doc-view-toggle-display): Instead of here. Don't throw away
+ image-mode-winprops-alist.
+ (doc-view-goto-page): Don't mess with hscroll.
+
+2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
+
+ * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
+ &optional (bug#13819).
+
+2013-02-27 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp-adb.el (tramp-adb-parse-device-names)
+ (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
+
+2013-02-26 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp-sh.el (tramp-sh-handle-insert-directory):
+ Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
+ defined. POSIX environments fall back to the "C" locale then and
+ emit a warning, which shall be suppressed.
+
+2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
+ (easy-mmode-set-keymap-parents): Use make-composed-keymap.
+
+2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
+
+2013-02-25 Juri Linkov <juri@jurta.org>
+
+ * replace.el (read-regexp): Let-bind `default' to the first
+ element of `defaults' if it's a list, otherwise it should be
+ a string or nil. Let-bind `suggestions' to `defaults' if it's
+ a list, otherwise make a list with the string value. Doc fix.
+ (Bug#13805)
+
+2013-02-25 Eli Zaretskii <eliz@gnu.org>
+
+ * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
+ that match "\`\.#", to avoid compiling lock files, even if they
+ are readable (as they are on MS-Windows).
+
+2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * files.el (basic-save-buffer): Remove redundant directory-creation.
+
+2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
+
+ * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
+ Add option to force `pi' to remain symbolic.
+ * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
+ (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
+ (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
+ derivatives, when necessary.
+
+2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
+
+ * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
+ (ps-mode-octal-region): Use string-make-unibyte.
+
+2013-02-23 Glenn Morris <rgm@gnu.org>
+
+ * emulation/viper-cmd.el (viper-submit-report):
+ * progmodes/ps-mode.el (ps-mode-maintainer-address):
+ * progmodes/vera-mode.el (vera-mode-help-address):
+ * textmodes/artist.el (artist-maintainer-address):
+ * textmodes/reftex.el (reftex-report-bug):
+ * vc/ediff-util.el (ediff-submit-report):
+ Add bug-gnu-emacs to bug report address.
+
+ * progmodes/simula.el (simula-mode-menu, simula-mode-map):
+ Remove bug report entries.
+ (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
+
+ * emacs-lisp/bytecomp.el (byte-compile-level): New.
+ (byte-compile-file, byte-compile-from-buffer):
+ Use separate input/output buffers for each level of recursive
+ byte-compile-file calls. (Bug#13787)
+
+2013-02-23 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp.el (tramp-methods): Fix docstring.
+ (tramp-ssh-controlmaster-options): Rename it from
+ `tramp-ssh-controlmaster-template'. Return a string.
+ (tramp-default-method): Adapt check for
+ `tramp-ssh-controlmaster-options'.
+
+ * net/tramp-sh.el (tramp-methods):
+ Replace `tramp-ssh-controlmaster-template' by "%c".
+ (tramp-do-copy-or-rename-file-out-of-band)
+ (tramp-maybe-open-connection): Use it in format spec. Ensure,
+ that it is applied for the first hop only.
+
+2013-02-22 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-lazy-highlight-new-loop):
Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
- * org-indent.el
- (org-indent-add-properties): Bugfix: prevent negative value for
- `added-ind-per-lvl'.
+ 2013-02-28 Achim Gratz <Stromeko@Stromeko.DE>
+
+ * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
+ org-reload uncompiled in the menu.
+
+ 2013-02-28 Bastien Guerry <bzg@gnu.org>
+
- * org.el (org-show-context): Remove useless catch. Make sure the
- top of the window is a visible headline.
++ * org-indent.el (org-indent-add-properties): Bugfix: prevent
++ negative value for `added-ind-per-lvl'.
+
+ * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
+ `isearch-mode-end-hook' so that any isearch fixes the problem with
+ ellipsis on the first line.
+ (org-fix-ellipsis-at-bol): New defsubst.
+ (org-show-context, org-isearch-end): Use it.
+
- * org-macs.el (org-get-alist-option): Return nil, not (nil), so
- that `org-show-context' DTRT.
++ * org.el (org-show-context): Remove useless catch.
++ Make sure the top of the window is a visible headline.
+ (org-activate-plain-links): Remove unused catch.
+
-
++ * org-macs.el (org-get-alist-option): Return nil, not (nil),
++ so that `org-show-context' DTRT.
+
+ * org.el (org-imenu-get-tree): Fix bug when matching against empty
+ headlines.
+
+ * org.el (org-overview): Stay on current line.
+ (org-map-entries): Fix docstring.
+ (org-at-clock-log-p): Delete.
- * org.el (org-insert-heading-respect-content): New `invisible-ok'
- parameter. Add docstring.
+ * org-clock.el (org-at-clock-log-p): Move here.
+
+ * org.el (org-tsr-regexp-both): Don't activate dates in links.
+ (org-activate-dates): Change match boundaries according to the new
+ value of `org-tsr-regexp-both'.
+
+ * org-agenda.el (org-agenda-to-appt): Fix typos.
+
+ * org-agenda.el (org-agenda-local-vars): Don't include
+ `org-agenda-show-window' as it needs to be checked outside of the
+ agenda window.
+
+ * org.el (org-set-tags-command): Fix bug when setting tags for
+ multiple headlines in an active region.
+
+ * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
+ in an invisible region.
+
- * ob-tangle.el (org-babel-tangle-collect-blocks): Bugfix: remove
- code references from blocks.
++ * org.el (org-insert-heading-respect-content): Add docstring.
++ New `invisible-ok' parameter.
+ (org-insert-todo-heading-respect-content): Add docstring.
+
- * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New
- function.
++ * ob-tangle.el (org-babel-tangle-collect-blocks):
++ Bugfix: remove code references from blocks.
+
+ * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
+ Cosmetic changes.
+ (org-agenda-show-new-time): Fix bug when displaying a temporary
+ overlay with the scheduled/deadline information.
+
- * org-id.el (org-id-get-with-outline-path-completion): Fix
- docstring.
++ * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
+ (org-setup-filling): Use it to prevent breaking a timestamp when
+ filling a paragraph.
+
- * org-datetree.el (org-datetree-find-year-create): Match headlines
- with tags.
++ * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
+
+ 2013-02-28 Tim Burt <tcburt@rochester.rr.com> (tiny change)
+
++ * org-datetree.el (org-datetree-find-year-create):
++ Match headlines with tags.
+
2013-02-07 Bastien Guerry <bzg@gnu.org>
* org-agenda.el (org-agenda-get-deadlines)
-2013-02-27 Eli Zaretskii <eliz@gnu.org>
++2013-02-28 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (sys_open): Don't reset the flags for FD in fd_info[].
+ (Bug#13546).
+
+2013-02-27 Eli Zaretskii <eliz@gnu.org>
+
+ * filelock.c (create_lock_file) [WINDOWSNT]: Use _sopen with
+ _SH_DENYRW flag, instead of emacs_open, to deny any other process
+ access to the lock file until it is written and closed.
+ (Bug#13807)
+
+2013-02-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ * callint.c (Qcall_interactively):
+ * macros.c (Qexecute_kbd_macro):
+ Now static.
+
+2013-02-26 Bastien Guerry <bzg@gnu.org>
+
+ * window.c (Frecenter): Tiny docstring enhancement.
+
+2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ Minor textprop integer cleanup.
+ * intervals.h, textprop.c (add_text_properties_from_list):
+ Return void, not int, since nobody uses the return value.
+ * textprop.c (validate_plist, add_properties, remove_properties)
+ (Fadd_text_properties):
+ Don't assume list length fits in int.
+ (interval_has_all_properties, interval_has_some_properties)
+ (interval_has_some_properties_list, add_properties, remove_properties)
+ (Fadd_text_properties, Fremove_text_properties)
+ (Fremove_list_of_text_properties, text_property_stickiness):
+ Use bool for booleans.
+ (Fadd_text_properties, Fremove_text_properties):
+ (Fremove_list_of_text_properties):
+ Reindent do-while as per GNU style.
+
+2013-02-25 Eli Zaretskii <eliz@gnu.org>
+
+ Implement CLASH_DETECTION for MS-Windows.
+
+ * filelock.c [WINDOWSNT]: Include w32.h.
+ (MAKE_LOCK_NAME): Don't use 'lock', it clashes with MS runtime
+ function of that name. Up-case the macro arguments.
+ (IS_LOCK_FILE): New macro.
+ (fill_in_lock_file_name): Use IS_LOCK_FILE instead of S_ISLNK.
+ (create_lock_file): New function, with body extracted from
+ lock_file_1.
+ [WINDOWSNT]: Implement lock files by writing a regular file with
+ the lock information as its contents.
+ (read_lock_data): New function, on Posix platforms just calls
+ emacs_readlinkat.
+ [WINDOWSNT]: Read the lock info from the file.
+ (current_lock_owner): Call read_lock_data instead of calling
+ emacs_readlinkat directly.
+ (lock_file) [WINDOWSNT]: Run the file name through
+ dostounix_filename.
+
+ * w32proc.c (sys_kill): Support the case of SIG = 0, in which case
+ just check if the process by that PID exists.
+
+ * w32.c (sys_open): Don't reset the _O_CREAT flag if _O_EXCL is
+ also present, as doing so will fail to error out if the file
+ already exists.
+
+ * makefile.w32-in ($(BLD)/filelock.$(O)): Depend on src/w32.h.
+
+ * textprop.c (Fadd_text_properties, Fremove_text_properties)
+ (Fremove_list_of_text_properties): Skip all of the intervals in
+ the region between START and END that already have resp. don't
+ have the requested properties, not just the first one. Add
+ assertions that the loop afterwards always modifies the
+ properties. (Bug#13743)
+
+2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * callint.c (Fcall_interactively): Use the right lexical environment
+ for `interactive' specs (bug#13811).
+ * eval.c (Feval): Accept a lexical environment.
+
+2013-02-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ Simplify data_start configuration (Bug#13783).
+ This is a followon simplification to the fix for Bug#13650.
+ * Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD)
+ (START_FILES): Remove. All uses removed.
+ (otherobj): Remove $(VMLIMIT_OBJ), as it's now first.
+ (ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first.
+ (buildobj.h): Use it.
+ ($(ALLOBJS)): Depend on globals.h.
+ (temacs$(EXEEXT)): Use $(ALLOBJS).
+ * autodeps.mk (ALLOBJS): Move to Makefile.in.
+ * deps.mk (vm-limit.o):
+ * makefile.w32-in ($(BLD)/vm-limit.$(O)):
+ Do not depend on mem-limits.h.
+ * emacs.c (__do_global_ctors, __do_global_ctors_aux)
+ (__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__)
+ [__GNUC__ && !ORDINARY_LINK]: Remove.
+ * mem-limits.h, pre-crt0.c: Remove.
+ * unexaix.c, unexcoff.c: Don't include mem-limits.h.
+ * unexcoff.c (etext): New decl.
+ (make_hdr): Use DATA_START instead of start_of_data.
+ * vm-limit.c: Move most of mem-limits.h's contents here.
+ (data_start): New decl. It's OK if this is approximate,
+ so simplify-away some unnecessary exactness.
+ (POINTER): Remove; all uses removed.
+ (data_space_start): Now char *, to avoid casts.
+ (exceeds_lisp_ptr): New function, replacing the old
+ EXCEEDS_LISP_PTR macro. All uses changed.
+ (check_memory_limits): Simplify and remove casts.
+ (start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove.
+ (memory_warnings): Use data_start instead of start_of_data.
+
2013-02-24 Andreas Schwab <schwab@linux-m68k.org>
* xdisp.c (set_message): Only check for debug-on-message if STRING
sys_open (const char * path, int oflag, int mode)
{
const char* mpath = map_w32_filename (path, NULL);
- /* Try to open file without _O_CREAT, to be able to write to hidden
- and system files. Force all file handles to be
- non-inheritable. */
- int res = _open (mpath, (oflag & ~_O_CREAT) | _O_NOINHERIT, mode);
+ int res = -1;
+
+ /* If possible, try to open file without _O_CREAT, to be able to
+ write to existing hidden and system files. Force all file
+ handles to be non-inheritable. */
+ if ((oflag & (_O_CREAT | _O_EXCL)) != (_O_CREAT | _O_EXCL))
+ res = _open (mpath, (oflag & ~_O_CREAT) | _O_NOINHERIT, mode);
if (res < 0)
res = _open (mpath, oflag | _O_NOINHERIT, mode);
- if (res >= 0 && res < MAXDESC)
- fd_info[res].flags = 0;
return res;
}
-2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
++2013-02-28 Fabián Ezequiel Gallina <fgallina@cuca>
+
- * automated/python-tests.el
- (python-tests-with-temp-buffer): Doc fix.
++ * automated/python-tests.el (python-tests-with-temp-buffer): Doc fix.
+ (python-tests-with-temp-file): New macro.
+ (python-tests-shell-interpreter): New var.
+ (python-shell-get-process-name-1)
+ (python-shell-internal-get-process-name-1)
+ (python-shell-parse-command-1)
+ (python-shell-calculate-process-environment-1)
+ (python-shell-calculate-process-environment-2)
+ (python-shell-calculate-process-environment-3)
+ (python-shell-calculate-exec-path-1)
+ (python-shell-calculate-exec-path-2)
+ (python-shell-make-comint-1)
+ (python-shell-make-comint-2)
+ (python-shell-get-process-1)
+ (python-shell-get-or-create-process-1)
+ (python-shell-internal-get-or-create-process-1): New tests.
+
-2013-02-20 Fabián Ezequiel Gallina <fgallina@cuca>
+2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
* automated/python-tests.el: New file.