1. 28 Nov, 2016 6 commits
    • NicolasPetton's avatar
    • Eli Zaretskii's avatar
      Fix 'expand-file-name' during startup on MS-Windows · 5878abf8
      Eli Zaretskii authored
      * src/w32.c (w32_init_file_name_codepage): New function, resets
      file_name_codepage and w32_ansi_code_page to undo the values
      recorded during dumping.
      (codepage_for_filenames): Fix an embarrassing typo.  Ignore the
      cached value of file-name encoding if it is nil, i.e. not
      initialized yet.  Actually cache the last used file-name encoding
      to avoid calling APIs when not necessary.
      
      * src/w32.h (w32_init_file_name_codepage): Add prototype.
      
      * src/w32term.c (syms_of_w32term): Set the value of
      w32_unicode_filenames according to the OS version.  This avoids
      resetting it during startup, which then causes temacs to run with
      the incorrect value.
      
      * src/emacs.c (main): Call w32_init_file_name_codepage early
      during the startup.
      
      * src/fileio.c (Fexpand_file_name) [WINDOWSNT]: Update 'newdir'
      after converting $HOME to a UTF-8 string, so that 'newdirlim' is
      consistent with it.  (Bug#25038)
      
      * lisp/international/mule-cmds.el (set-locale-environment): Set
      'default-file-name-coding-system' to the ANSI codepage even in
      non-interactive sessions.
      
      * lisp/files.el (directory-abbrev-alist, abbreviated-home-dir):
      Doc fix.
      (abbreviate-file-name): Decode 'abbreviated-home-dir' if it is a
      unibyte string.
      
      * doc/lispref/files.texi (Directory Names): Index
      'directory-abbrev-alist'.
      5878abf8
    • NicolasPetton's avatar
      ; ChangeLog.2 update · 46065291
      NicolasPetton authored
      46065291
    • NicolasPetton's avatar
    • Glenn Morris's avatar
      Tweak refcard note about documentation location · 6d27423d
      Glenn Morris authored
      * etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
      * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
      * etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
      * etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
      * etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
      * etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
      * etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
      * etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
      * etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
      * etc/refcards/survival.tex, etc/refcards/vipcard.tex:
      * etc/refcards/viperCard.tex: Tweak documentation url.
      6d27423d
    • Glenn Morris's avatar
      Improve treatment of Fortran's "class is" · e46a1344
      Glenn Morris authored
      * lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit):
      Handle "class is".  (Bug#25039)
      * test/automated/f90.el (f90-test-bug25039): New test.
      e46a1344
  2. 27 Nov, 2016 4 commits
  3. 26 Nov, 2016 1 commit
    • Karl Fogel's avatar
      Handle TeX comments when making new paragraph · 93c0f512
      Karl Fogel authored
      * lisp/textmodes/tex-mode.el (tex-handle-newline): New function.
        Handle comment case directly, and dispatch to `tex-terminate-paragraph'
        for original behavior in non-comment case.
        (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.
      93c0f512
  4. 25 Nov, 2016 3 commits
  5. 24 Nov, 2016 3 commits
  6. 23 Nov, 2016 2 commits
  7. 22 Nov, 2016 2 commits
  8. 21 Nov, 2016 3 commits
  9. 20 Nov, 2016 2 commits
  10. 19 Nov, 2016 2 commits
  11. 18 Nov, 2016 4 commits
    • Eli Zaretskii's avatar
      Improve documentation of functions that accept time values · 36bafc9c
      Eli Zaretskii authored
      * doc/lispref/os.texi (Time Calculations): Mention the meaning of
      'nil' or a scalar number as the time-value argument.  Add a
      cross-reference to 'float-time' for computing a time difference as
      a scalar number of seconds.
      
      * src/editfns.c (Fformat_time_string, Ftime_less_p)
      (Ftime_subtract, Ftime_add, Fdecode_time, Fcurrent_time_string)
      (Fcurrent_time_zone): Mention in the doc strings the meaning of
      nil argument and the fact that a time value can be a scalar number
      of seconds since the epoch.
      (Ftime_subtract): Mention 'float-time'.
      36bafc9c
    • Daniel Colascione's avatar
      Speed up initialization by preferring /dev/urandom to GnuTLS · a37c08d5
      Daniel Colascione authored
      * src/sysdep.c (init_random): Try /dev/urandom before GnuTLS.
      
      (cherry picked from commit a37eba84)
      a37c08d5
    • Glenn Morris's avatar
      Add a comment in generated refcards about the source · 4af5981d
      Glenn Morris authored
      * etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
      * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
      * etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
      * etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
      * etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
      * etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
      * etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
      * etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
      * etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
      * etc/refcards/survival.tex, etc/refcards/vipcard.tex:
      * etc/refcards/viperCard.tex: Add comment about the source.
      4af5981d
    • Glenn Morris's avatar
      ef880a5e
  12. 16 Nov, 2016 4 commits
    • Dmitry Gutov's avatar
      js-mode: Fix indent problem after a regexp · 4887e7c6
      Dmitry Gutov authored
      * lisp/progmodes/js.el (js--looking-at-operator-p): Check that the
      slash is not ending a regexp (bug#24854).
      4887e7c6
    • Eli Zaretskii's avatar
      Fix sluggish display of symbols in UTF-8 language environment · e992ac0a
      Eli Zaretskii authored
      * lisp/international/fontset.el (setup-default-fontset): Make sure
      Symbola and FreeMono are set up in the default fontset as belonging
      to the "iso10646-1" registry.  In the UTF-8 locale, this avoids a
      long and futile search for a suitable font, whose side effect is a
      lot of consing, which then hits the font-cache compacting issue,
      and causes very sluggish redisplay of characters displayed by
      these fonts.  All this happens because the default for the
      registry is "iso8859-1".  (Bug#24953)
      e992ac0a
    • Glenn Morris's avatar
      Don't confuse how Texinfo outputs @var with the input · 1fc101b0
      Glenn Morris authored
      * doc/emacs/rmail.texi (Movemail):
      * doc/lispref/control.texi (Pattern matching case statement):
      * doc/lispref/frames.texi (Size and Position):
      * doc/lispref/processes.texi (Asynchronous Processes):
      * doc/lispref/text.texi (Document Object Model):
      * doc/lispref/windows.texi (Coordinates and Windows):
      Do not upper-case the argument of @var.
      1fc101b0
    • Glenn Morris's avatar
      * doc/lispref/display.texi (Scroll Bars): · 91aa5d19
      Glenn Morris authored
      * doc/lispref/frames.texi (Size and Position):
      * doc/lispref/windows.texi (Window Sizes): Fix arglist typos.
      91aa5d19
  13. 15 Nov, 2016 2 commits
    • Glenn Morris's avatar
    • Eli Zaretskii's avatar
      More fixes in copyright notices in etc/refcards/ · 5b0cddd9
      Eli Zaretskii authored
      * etc/refcards/calccard.tex:
      * etc/refcards/cs-dired-ref.tex:
      * etc/refcards/cs-refcard.tex:
      * etc/refcards/cs-survival.tex:
      * etc/refcards/de-refcard.tex:
      * etc/refcards/dired-ref.tex:
      * etc/refcards/fr-dired-ref.tex:
      * etc/refcards/fr-refcard.tex:
      * etc/refcards/fr-survival.tex:
      * etc/refcards/orgcard.tex:
      * etc/refcards/pl-refcard.tex:
      * etc/refcards/pt-br-refcard.tex:
      * etc/refcards/refcard.tex:
      * etc/refcards/ru-refcard.tex:
      * etc/refcards/sk-dired-ref.tex:
      * etc/refcards/sk-refcard.tex:
      * etc/refcards/sk-survival.tex:
      * etc/refcards/survival.tex:
      * etc/refcards/vipcard.tex:
      * etc/refcards/viperCard.tex: Change "GNU Emacs" to "this
      document" in copyright notices.  (Bug#24520)
      5b0cddd9
  14. 13 Nov, 2016 1 commit
    • Eli Zaretskii's avatar
      Update copyright text in refcards · f994c204
      Eli Zaretskii authored
      * etc/refcards/viperCard.tex:
      * etc/refcards/vipcard.tex:
      * etc/refcards/survival.tex:
      * etc/refcards/sk-survival.tex:
      * etc/refcards/sk-dired-ref.tex:
      * etc/refcards/sk-refcard.tex:
      * etc/refcards/ru-refcard.tex:
      * etc/refcards/refcard.tex:
      * etc/refcards/pt-br-refcard.tex:
      * etc/refcards/pl-refcard.tex:
      * etc/refcards/orgcard.tex:
      * etc/refcards/gnus-refcard.tex:
      * etc/refcards/fr-survival.tex):
      * etc/refcards/fr-refcard.tex:
      * etc/refcards/fr-dired-ref.tex:
      * etc/refcards/dired-ref.tex:
      * etc/refcards/de-refcard.tex:
      * etc/refcards/cs-survival.tex:
      * etc/refcards/cs-refcard.tex:
      * etc/refcards/cs-dired-ref.tex:
      * etc/refcards/calccard.tex: Update the copyright blurb.  (Bug#24520)
      f994c204
  15. 12 Nov, 2016 1 commit