* Emacs 25: Warning (bytecomp): Use ‘with-current-buffer’
@ 2015-11-21 22:47 Arash Esbati
2015-11-22 12:25 ` Artur Malabarba
0 siblings, 1 reply; 3+ messages in thread
From: Arash Esbati @ 2015-11-21 22:47 UTC (permalink / raw)
To: emacs-devel
Hi all,
I can successfully build emacs-25 branch on Win7 64bit with:
--8<---------------cut here---------------start------------->8---
PKG_CONFIG_PATH=/mingw64/lib/pkgconfig \
CPPFLAGS='-DNDEBUG' \
CFLAGS='-O3 -g0 -pipe' \
LDFLAGS='-s -Wl,-s' \
./configure \
--host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 \
--build=x86_64-w64-mingw32 --with-wide-int --with-jpeg \
--with-xpm --with-png --with-tiff --with-rsvg \
--with-xml2 --with-gnutls --with-xft \
--without-imagemagick --without-dbus
--8<---------------cut here---------------end--------------->8---
(and then `make' and `make install'). When I start it from bash with
`./emacs &', I get:
--8<---------------cut here---------------start------------->8---
Warning (bytecomp): Use ‘with-current-buffer’ rather than save-excursion+set-buffer
--8<---------------cut here---------------end--------------->8---
I don't get this warning with `emacs -Q &' or Emacs 24.5. Since the
message is somewhat sparse, can somebody give me a hint how to search in
my `.emacs' for the culprit?
TIA, Arash
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs 25: Warning (bytecomp): Use ‘with-current-buffer’
2015-11-21 22:47 Emacs 25: Warning (bytecomp): Use ‘with-current-buffer’ Arash Esbati
@ 2015-11-22 12:25 ` Artur Malabarba
2015-11-22 15:38 ` Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Artur Malabarba @ 2015-11-22 12:25 UTC (permalink / raw)
To: Arash Esbati; +Cc: emacs-devel
Arash Esbati <esbati@gmx.de> writes:
> Warning (bytecomp): Use ‘with-current-buffer’ rather than save-excursion+set-buffer
>
> I don't get this warning with `emacs -Q &' or Emacs 24.5. Since the
> message is somewhat sparse, can somebody give me a hint how to search in
> my `.emacs' for the culprit?
You could try an `M-x rgrep' for `set-buffer'.
Keep in mind the warning could also be coming from a package inside
`.emacs.d/elpa', instead of your `.emacs'.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Emacs 25: Warning (bytecomp): Use ‘with-current-buffer’
2015-11-22 12:25 ` Artur Malabarba
@ 2015-11-22 15:38 ` Drew Adams
0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2015-11-22 15:38 UTC (permalink / raw)
To: Artur Malabarba, Arash Esbati; +Cc: emacs-devel
> > Warning (bytecomp): Use ‘with-current-buffer’ rather than save-
> > excursion+set-buffer
> >
> > I don't get this warning with `emacs -Q &' or Emacs 24.5. Since the
> > message is somewhat sparse, can somebody give me a hint how to search in
> > my `.emacs' for the culprit?
>
> You could try an `M-x rgrep' for `set-buffer'.
>
> Keep in mind the warning could also be coming from a package inside
> `.emacs.d/elpa', instead of your `.emacs'.
Is there a good reason why the warning should not reference
(elisp) Excursions, which explains the issue?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-22 15:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-21 22:47 Emacs 25: Warning (bytecomp): Use ‘with-current-buffer’ Arash Esbati
2015-11-22 12:25 ` Artur Malabarba
2015-11-22 15:38 ` Drew Adams
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).