1. 04 Nov, 2013 16 commits
    • Eli Zaretskii's avatar
      Fix bug #15260 with building and installing Emacs in non-ASCII directories. · d0065ff1
      Eli Zaretskii authored
       src/xdisp.c (message3_nolog, message_with_string): Encode the string
       before writing it to the terminal in a non-interactive session.
       src/lread.c (openp): If both FILENAME and SUFFIX are unibyte, make
       sure we concatenate them into a unibyte string.
       src/fileio.c (make_temp_name): Encode PREFIX, and decode the
       resulting temporary name before returning it to the caller.
       (Fexpand_file_name): If NAME is pure-ASCII and DEFAULT_DIRECTORY
       is a unibyte string, convert NAME to a unibyte string to ensure
       that the result is also a unibyte string.
       src/emacs.c (init_cmdargs): Use build_unibyte_string to make sure we
       create unibyte strings from default paths and directory/file
       src/coding.h (ENCODE_FILE): Do not attempt to encode a unibyte
       src/callproc.c (init_callproc): Use build_unibyte_string to make
       sure we create unibyte strings from default paths and
       directory/file names.
       src/buffer.c (init_buffer): Don't store default-directory of
       *scratch* in multibyte form.  The original problem which led to
       that is described in
       but it was solved long ago.
       lisp/startup.el (normal-top-level): Move setting eol-mnemonic-unix,
       eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
       environment and decoding all of the default-directory's to here
       from command-line.
       (command-line): Decode also argv[0].
       lisp/loadup.el: Error out if default-directory is a multibyte string
       when we are dumping.
       lisp/Makefile.in (emacs): Don't set LC_ALL=C.
       leim/Makefile.in (RUN_EMACS): Don't set LC_ALL=C.
       configure.ac: Don't disallow builds in non-ASCII directories.
    • Ted Zlatanov's avatar
      Add Archive column to package list. · 7397c587
      Ted Zlatanov authored
      * emacs-lisp/package.el (package-menu-mode)
      (package-menu--print-info, package-menu--archive-predicate): Add
      Archive column to package list.
    • Bozhidar Batsov's avatar
    • Michael Albinus's avatar
      Fix problems found while writing a test suite. · b27cc9fc
      Michael Albinus authored
      * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
      (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
      (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
      to nil when running original file name handler.  Otherwise,
      there are problems with constructs like "$$FOO".
      * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
      for `localname'.
    • Bozhidar Batsov's avatar
    • Bozhidar Batsov's avatar
      * lisp/subr.el (version<, version<=, version=): · 46b0a07f
      Bozhidar Batsov authored
      Update docstrings with information for snapshot versions.
    • Bozhidar Batsov's avatar
      * lisp/helpers.el: New library for misc helper functions. · d8c4f18a
      Bozhidar Batsov authored
      	(hash-table-keys): New function returning a list of hash keys.
      	(hash-table-values): New function returning a list of hash values.
    • Dmitry Gutov's avatar
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-smie--forward-token) · dca01b09
      Dmitry Gutov authored
      (ruby-smie--backward-token): Tokenize heredocs as semicolons.
      * test/automated/ruby-mode-tests.el: Remove outdated comment.
      * test/indent/ruby.rb: Add a statement on the line after heredoc.
    • Paul Eggert's avatar
      Port to stricter C99 platforms. · 91f2d272
      Paul Eggert authored
      Especially, C99 prohibits nesting a struct X inside struct Y if
      struct X has a flexible array member.
      Also, merge from gnulib, incorporating:
      2013-11-03 intprops: port to Oracle Studio c99
      * lib/intprops.h: Update from gnulib.
      * src/alloc.c (struct sdata): New type.
      (sdata): Implement in terms of struct sdata.
      Remove u member; all uses replaced by next_vector, set_next_vector.
      (SDATA_SELECTOR, SDATA_DATA, SDATA_DATA_OFFSET): Adjust to sdata change.
      (SDATA_DATA_OFFSET): Now a constant, not a macro.
      (struct sblock): Rename first_data member to data, which is now
      a flexible array member.  All uses changed.
      (next_vector, set_next_vector, large_vector_vec): New functions.
      (vector_alignment): New constant.
      (roundup_size): Make it a multiple of ALIGNOF_STRUCT_LISP_VECTOR, too.
      (struct large-vector): Now merely a NEXT member, since the old approach
      ran afoul of stricter C99.  All uses changed to use
      large_vector_vec or large_vector_offset.
      (large_vector_offset): New constant.
      * src/dispnew.c: Include tparam.h, for tgetent.
      Do not include term.h; no longer needed.
      * src/gnutls.c (Fgnutls_boot): Don't continue after calling a _Noreturn.
      * src/lisp.h (ENUM_BF) [__SUNPRO_C && __STDC__]: Use unsigned int.
      (struct Lisp_Vector): Use a flexible array member for contents,
      instead of a union with a member that is an array of size 1.
      All uses changed.
      (ALIGNOF_STRUCT_LISP_VECTOR): New constant, to make up for the
      fact that the struct no longer contains a union.
      (struct Lisp_Misc_Any, struct Lisp_Marker, struct Lisp_Overlay)
      (struct Lisp_Save_Value, struct Lisp_Free):
      Use unsigned, not int, for spacers, to avoid c99 warning.
      (union specbinding): Use unsigned, not bool, for bitfield, as
      bool is not portable to pre-C99 hosts.
    • Michal Nazarewicz's avatar
      * lisp/textmodes/fill.el (fill-single-char-nobreak-p): New function · 0a749fa0
      Michal Nazarewicz authored
      checking whether point is after a 1-letter word.
    • Nathan Trapuzzano's avatar
      * lisp/progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function): · ec79b92b
      Nathan Trapuzzano authored
      Don't infloop when expanding region over `multiline' syntax-type that
      begins a line.
      Fixes: debbugs:15778
    • Stefan Monnier's avatar
      * lisp/rect.el (rectangle-mark-mode): Rename from rectangle-mark. · 4aca7145
      Stefan Monnier authored
      Make it into a proper minor mode.
      (rectangle--region): (implicitly) rename to rectangle-mark-mode.
      (rectangle-mark-mode-map): New keymap.
      (rectangle--highlight-for-redisplay): Fix some corner cases.
      Fixes: debbugs:15796
    • Glenn Morris's avatar
      * test/automated/Makefile.in (abs_srcdir): Remove. · 8b77446f
      Glenn Morris authored
      (emacs): Unset EMACSLOADPATH.
      (.el.elc, check): Use -L to append srcdir to load-path.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      * lisp/startup.el (command-line-1): Allow `-L :...' to append to load-path. · a0833f62
      Glenn Morris authored
      * doc/emacs/cmdargs.texi (Action Arguments): Mention that `-L :...' appends.
      * etc/NEWS: Mention this.
  2. 03 Nov, 2013 3 commits
  3. 02 Nov, 2013 21 commits