Dima Kogan | 25 Oct 22:17 2014
Picon

gfile-based file notifications are not immediate

Hi.

In the last few days I started several threads about various details of
file notification and auto-revert behavior. This one is about some
incorrect behavior of notifications using the 'gfile' (gio from glib)
backend.

As in the inotify thread, I set up a simple test. I built emacs using

 ./configure --with-file-notification=inotify

I then ran

 ./emacs --eval "`cat  /tmp/tstnotify.el`" -Q -nw

with tstnotify.el being

 (progn
   (require 'filenotify)

   (dolist (fil '("/tmp/tst1" "/tmp/tst2"))
     (file-notify-add-watch fil  '(change attribute-change)
                            (lambda (event)
                              (message "notify event %s" event)))
     (find-file fil))
   (switch-to-buffer "*Messages*"))

Here I ask for notifications for two files, and print out the events as
they come in. While emacs is running this way, I modify those two files
using an external tool. I would expect to see modification events for
(Continue reading)

Dima Kogan | 25 Oct 08:17 2014
Picon

inotify-based file notifications missing sometimes

Hi.

I ran into an issue with inotify-base file notifications when looking at
auto-revert stuff from an earlier thread. To show the issue, I build
the latest emacs from source using

 ./configure --with-file-notification=inotify

I then run

 ./emacs --eval "`cat  /tmp/tstnotify.el`" -Q -nw

with tstnotify.el being

 (progn
   (require 'filenotify)

   (dolist (fil '("/tmp/tst1" "/tmp/tst2"))
     (file-notify-add-watch fil  '(change attribute-change)
                            (lambda (event)
                              (message "notify event %s" event)))
     (find-file fil))
   (switch-to-buffer "*Messages*"))

Here I ask for notifications for two files, and print out the events as
they come in. While emacs is running this way, I modify those two files
using an external tool. I would expect to see modification events for
both of these files, but I only see them for one of the files.

The issue is that emacs doesn't ask inotify to look at the two files, it
(Continue reading)

Stephen Leake | 25 Oct 00:15 2014

building emacs-dynamic-modules on Windows Msys64 mingw32

I'm trying to build emacs-dynamic-modules on Windows Msys64 for mingw32.

I've checkout out the git repository with:

git clone https://github.com/aaptel/emacs-dynamic-module.git

In an msys shell, I did:

cd /c/Projects/emacs/emacs-dynamic-module
./autogen.sh
./configure --prefix=/mingw32
make

This failed with "missing ctags.c"; I edited lib-src/Makefile to delete
ctags.exe

Then make got further, but dies with:

make[2]: Leaving directory '/c/Projects/emacs/emacs-dynamic-module/lisp'
if test "no" = "yes"; then \
  rm -f bootstrap-emacs.exe; \
  ln temacs.exe bootstrap-emacs.exe; \
else \
  ./temacs --batch --load loadup bootstrap || exit 1; \
  test "X" = X ||  -zex emacs.exe; \
  mv -f emacs.exe bootstrap-emacs.exe; \
fi
/bin/sh: line 4: ./temacs: cannot execute binary file: Exec format error
Makefile:798: recipe for target 'bootstrap-emacs.exe' failed
make[1]: *** [bootstrap-emacs.exe] Error 1
(Continue reading)

Perry E. Metzger | 24 Oct 23:42 2014

os x selection stuff broken

Howdy;

Sometime in the last week or two on head, the code to copy and paste
to the clipboard (or whatever the global cut/copy/paste thing in OS X
actually is called) broke badly, or changed in some undocumented
fashion. (For example, ns-store-selection-internal is now unbound.)
Has anyone been fiddling with it?

Perry
--

-- 
Perry E. Metzger		perry <at> piermont.com

Eli Zaretskii | 24 Oct 21:29 2014
Picon

Re: "Official" binary of Emacs-24.4 for MS-Windows

> Date: Fri, 24 Oct 2014 20:03:51 +0200
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Cc: Emacs development discussions <emacs-devel <at> gnu.org>
> 
> To produce the binary distribution, should I do a plain "make
> install"? Or perhaps:
>   make install GZIP_INFO= GZIP_PROG=
> ?

I don't see a reason not to compress files.  Emacs can display and use
them just fine, even if gzip.exe is not installed/available, right?

> Also, the README file in [1] was written for 24.3.  So I think it
> should be renamed (README-24.3), and perhaps a new README-24.4 file
> should be written (by someone knowledgeable enough, not me :-) ).

Just replace that README with README.W32 that we have in the
distribution.

Thanks.

Dani Moncayo | 24 Oct 17:13 2014
Picon

"Official" binary of Emacs-24.4 for MS-Windows

Hello Eli and Glenn,

I've followed your advice for making an "official" binary distribution
of Emacs-24.4 for MS-Windows [1][2], and this is what I've got:

20 hours ago, I sent an email to "ftp-upload <at> gnu.org", asking for
upload rights to the GNU FTP site.  Still without answer (I don't know
how long this use to take).

I've just tried to make the binary, but after stripping temacs.exe,
this is what happens when I try to re-dump emacs.exe:

----------
Dani <at> LEG570 $ strip temacs.exe
Dani <at> LEG570 $ make
cd ../lisp; make  update-subdirs
make[1]: Entering directory `/usr/home/dani/emacs/emacs-24.4-build/lisp'
for file in `find ../../emacs-24.4/lisp -type d -print`; do  case
$file in  ../../emacs-24.4/lisp*/cedet* | ../../emacs-
24.4/lisp*/leim* ) ;;  *) wins="$wins${wins:+ }$file" ;;  esac;  done; \
for file in $wins; do \
   ../../emacs-24.4/lisp/../build-aux/update-subdirs $file; \
done;
make[1]: Leaving directory `/usr/home/dani/emacs/emacs-24.4-build/lisp'
if test "no" = "yes"; then \
  rm -f bootstrap-emacs.exe; \
  ln temacs.exe bootstrap-emacs.exe; \
else \
  ./temacs --batch --load loadup bootstrap || exit 1; \
  test "X" = X ||  -zex emacs.exe; \
(Continue reading)

Sun Yijiang | 24 Oct 05:47 2014
Picon

Font weight incorrect on OS X

Observation:
(any face ... weight: bold)  ==> normal text
(any face ... weight: normal) ==> bold text

Platform:
Mac OS X 10.10
Compiled with Xcode 6.1
./configure --with-ns && make && make install

Best Regards,
Yijiang

Tjernlund | 23 Oct 21:46 2014
Picon

default-frame-alist vs. initial-frame-alist

I have to set both lists below to make the change in colors effective. I think it should be
enough with default-frame-alist. This is on both 24.3 and 24.4

;; Color settings.
(setq default-frame-alist '((background-color . "#333333") (foreground-color . "White")
(cursor-color . "White")))
(setq initial-frame-alist default-frame-alist)

  Jocke

Yoni Rabkin | 23 Oct 19:36 2014
Picon

eww.el: autoload eww-list-bookmarks


In EWW (eww.el) `eww-list-bookmarks' should be autoloaded. It's a valid
entry point to start using EWW (it's certainly how I use it) and
shouldn't depend on someone calling M-x eww beforehand.


--

-- 
   "Cut your own wood and it will warm you twice"
Nic Ferrier | 23 Oct 16:13 2014
Picon

switching marmalade to https

So I switched marmalade-repo to HTTPS and forced a redirect for HTTP
users. But Emacs on Windows machines can't use HTTPS.

Should I continue to have marmalade-repo open to HTTP?

Or should I exclude Windows users?

Or is there a hack I can advise Windows users on to get them working
again?

Opinions.

Nic

Aurélien Aptel | 23 Oct 15:25 2014
Picon

git switch status

I didn't follow the latest development of the repo conversion to git.
I was under the impression that Eric managed to solve most issues and
that we were waiting for the release to happen before the switch. If
this is true when can we expect the conversion to happen? Is there
something we can do to help?


Gmane