mark-active (was: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1)

2009-05-18 Thread Marc Girod

Two more changes I noticed with 23.0.92 (with respect to 21.2):

1. mark-active stays t after use (e.g. in the *shell* buffer),
with the result that the visual effect to mark the region gets sticky.

2. in a file buffer, doing C-x C-f (find-file) and RET will not read the 
file again, but instead invoke dired.

Are these intentional?

Marc

-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23594677.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: mark-active (was: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1)

2009-05-18 Thread Marc Girod


Marc Girod wrote:
 
 Two more changes I noticed with 23.0.92 (with respect to 21.2):
 
A third one:

3. in the *shell* buffer, M-p (comint-previous-input) will not 
only affect the line at the prompt, but also remove anything 
below it in the buffer. I used to push with C-o (open-line) 
commands I intended to run later, which getting prerequisites 
first from the stack. No, my intentions get washed up with 
the bath water.

Marc
-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23595893.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: mark-active (was: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1)

2009-05-18 Thread Phil Betts
Marc Girod wrote:
 Two more changes I noticed with 23.0.92 (with respect to 21.2):
 
 1. mark-active stays t after use (e.g. in the *shell* buffer),
 with the result that the visual effect to mark the region gets
 sticky.

I can't help you here.  I've not tried cygwin's 23.0.92 yet, but I
can't say I've noticed this on Linux, although because I don't have
transient-mark-mode turned on, I wouldn't really expect to.

 2. in a file buffer, doing C-x C-f (find-file) and RET will not read
 the file again, but instead invoke dired.

'Twas ever thus.  I think you're confusing C-x C-f with C-x C-v
(find-alternate-file).  The former has always* defaulted to the
current directory.  The latter has always defaulted to the current
filename.

[TIP: if you haven't already, try ido-mode.  It redefines all buffer
and file selection functions, and although it takes a little while to
learn to get the most out of it, IMHO you'll quickly wonder how you
managed without it.]


[*] within my admittedly patchy memory.  I *have* verified that 21.2.1
(the earliest version I have at hand) worked this way, on both
cygwin and Linux.

Phil
-- 


This email has been scanned by Ascribe Ltd using Microsoft Antigen for Exchange.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: mark-active (was: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1)

2009-05-18 Thread Eli Zaretskii
 Date: Mon, 18 May 2009 03:11:52 -0700 (PDT)
 From: Marc Girod marc dot girod at gmail.com
 
 
 Two more changes I noticed with 23.0.92 (with respect to 21.2):

These questions are not Cygwin-specific, so they are best asked on
emacs-devel or help-gnu-emacs, but since you asked...

 1. mark-active stays t after use (e.g. in the *shell* buffer),
 with the result that the visual effect to mark the region gets sticky.

There are several entries in etc/NEWS.22 and etc/NEWS that you should
read; search for transient.  (They are too long to copy-paste here.)

 2. in a file buffer, doing C-x C-f (find-file) and RET will not read the 
 file again, but instead invoke dired.

From etc/NEWS.22:

  ** C-x C-f RET (find-file), typing nothing in the minibuffer, is no longer
  a special case.

  Since the default input is the current directory, this has the effect
  of specifying the current directory.  Normally that means to visit the
  directory with Dired.

  You can get the old behavior by typing C-x C-f M-n RET, which fetches
  the actual file name into the minibuffer.

 Are these intentional?

Yes.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-17 Thread Eli Zaretskii
 Date: Sun, 17 May 2009 00:33:13 -0400
 From: Christopher Faylor cgf-use-the-mailinglist-please at cygwin dot com
 
 On Sun, May 17, 2009 at 06:12:04AM +0300, Eli Zaretskii wrote:
  Date: Sat, 16 May 2009 02:52:22 -0700 (PDT)
  From: Marc Girod marc dot girod at gmail dot com
  
  Eli Zaretskii wrote:
   
   ...if Emacs could know the Cygwin version.
   
  uname -r
  
  this gives on 2 installations e.g.:
  
  1.5.25(0.156/4/2)
  1.7.0(0.210/5/3)
 
 We haven't patched the uname program.  emacs can use the same standard
 UNIX function calls as uname:
 
 http://cygwin.com/ml/cygwin/2009-05/msg00496.html

Great, thanks.  This means that an existing Emacs variable
`operating-system-release', whose value is derived from uts.release,
should hold either 1.5.SOMETHING or 1.7.SOMETHING, and that can be
used to distinguish between the two Cygwin families.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-17 Thread Marc Girod


Eli Zaretskii wrote:
 
 This means that an existing Emacs variable
 `operating-system-release', whose value is derived from uts.release,
 should hold either 1.5.SOMETHING or 1.7.SOMETHING, and that can be
 used to distinguish between the two Cygwin families.
 
Indeed. I found it on 23.0.92 (not on 21.2), holding 1.7.0(0.210/5/3)

-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23585560.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Eli Zaretskii
 Date: Fri, 15 May 2009 09:29:37 -0400
 From: Ken Brown kbrown at cornell dot edu
 CC: cygwin at cygwin dot com
 
  (concat .newmail-
   (file-name-nondirectory
(if (memq system-type '(windows-nt cygwin ms-dos))
;; cannot have colons in file name
(replace-regexp-in-string : - file)
  file)))
 
 By the way, the patch is no longer needed; as of cygwin 1.7, it's legal 
 to have colons in file names.

Right, but the Emacs developers do not want so easily to drop support
for all older versions of Cygwin, especially since Cygwin 1.7 is still
in beta.

Btw, it might be a good idea to introduce some Emacs function or
variable that would return the version of Cygwin being used at run
time, so that Lisp programs could avoid limiting Cygwin 1.7 and later
where older versions are inherently limited.  The above is a case in
point, even though it is not a grave limitation; but there are more
serious limitations in the Emacs sources that could be lifted for
newer Cygwin versions, if Emacs could know the Cygwin version.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod


Eli Zaretskii wrote:
 
 ...if Emacs could know the Cygwin version.
 
uname -r

this gives on 2 installations e.g.:

1.5.25(0.156/4/2)
1.7.0(0.210/5/3)

$ ./uname -s
CYGWIN_NT-6.0

Marc
-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23572106.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod

I just noticed that my /usr/share/info/dir file was reduced to a bare
minimum:
2 lines for libc and libm...
I had just updated 1.7 to the latest...

My setup.log.full has indeed:

unlink C:\cygwin2/usr/share/info/dir
unlink C:\cygwin2/usr/share/info/libc.info
unlink C:\cygwin2/usr/share/info/libm.info
unlink C:\cygwin2/usr/share/info/standards.info
...
Installing file cygfile:///usr/share/info/dir
Installing file cygfile:///usr/share/info/libc.info
Installing file cygfile:///usr/share/info/libm.info
Installing file cygfile:///usr/share/info/standards.info

Marc
-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23572302.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod


Marc Girod wrote:
 
 uname -r
 
Er... maybe you would object that this is part of coreutils,
and thus not necessarily of every cygwin installation...

Marc
-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23572349.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Marc Girod on 5/16/2009 4:17 AM:
 
 Marc Girod wrote:
 uname -r
 this gives on 2 installations e.g.:
 
 1.5.25(0.156/4/2)
 1.7.0(0.210/5/3)
 
 $ ./uname -s
 CYGWIN_NT-6.0
 

uname -s is wrong (you will get the same answer for two different cygwin
installations on the same underlying Windows, but different answers across
different Windows versions).  But uname -r is reliable.


 Er... maybe you would object that this is part of coreutils,
 and thus not necessarily of every cygwin installation...

Coreutils is part of every cygwin installation, as is every other package
in the Base category (for example, findutils, tar, bash...).  In other
words, there are some programs so essential to a unix-y environment that
you can count on them being present.

But that said, all coreutils' uname(1) does is call uname(2).  So emacs
can reliably use uname(2) (provided by cygwin1.dll) rather than wasting a
fork to call uname(1).

- --
Don't work too hard, make some time for fun as well!

Eric Blake e...@byu.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoOuBAACgkQ84KuGfSFAYCwJQCgk7m39ef9Jp5NiVWgX/4/tfN3
pI8Anjq1G3mIwif/JCu68Iu3BrI2eVWW
=CgBH
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Eli Zaretskii
 Date: Sat, 16 May 2009 02:52:22 -0700 (PDT)
 From: Marc Girod marc.gi...@gmail.com
 
 Eli Zaretskii wrote:
  
  ...if Emacs could know the Cygwin version.
  
 uname -r
 
 this gives on 2 installations e.g.:
 
 1.5.25(0.156/4/2)
 1.7.0(0.210/5/3)
 
 $ ./uname -s
 CYGWIN_NT-6.0

I meant an Emacs function, not an external program.  That Emacs
function could call the same API that uname uses to report these
values, but depending on external programs that are not necessarily
installed is not the best idea.

Thanks.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Christopher Faylor
On Sun, May 17, 2009 at 06:12:04AM +0300, Eli Zaretskii wrote:
 Date: Sat, 16 May 2009 02:52:22 -0700 (PDT)
 From: Marc Girod marc.gi...@gmail.com
 
 Eli Zaretskii wrote:
  
  ...if Emacs could know the Cygwin version.
  
 uname -r
 
 this gives on 2 installations e.g.:
 
 1.5.25(0.156/4/2)
 1.7.0(0.210/5/3)
 
 $ ./uname -s
 CYGWIN_NT-6.0

I meant an Emacs function, not an external program.  That Emacs
function could call the same API that uname uses to report these
values, but depending on external programs that are not necessarily
installed is not the best idea.

We haven't patched the uname program.  emacs can use the same standard
UNIX function calls as uname:

http://cygwin.com/ml/cygwin/2009-05/msg00496.html

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-15 Thread Ken Brown
New experimental versions of the emacs, emacs-X11, and emacs-el packages 
are now available for download for those testing cygwin 1.7, replacing 
the previous experimental 22.1-3 packages.  I have left 21.2-13 as current.


CYGWIN NEWS:

This is the first release in almost two years, after a maintainer 
change.  If no serious problems arise, I hope to make some version of 
emacs-23 the current version of emacs by the time Cygwin 1.7 is released.


There is one known bug: The cygwin build of emacs has problems getting 
the local time zone (see 
http://www.cygwin.com/ml/cygwin/2009-02/msg00148.html).  This affects 
emacs functions like display-time.  A workaround is to set the TZ 
environment variable before starting emacs.  For example,


  export TZ=America/New_York

NEWS:
=
This is an upstream pre-release for what will be emacs 23.1.  See

  http://www.gnu.org/software/emacs/

for more information.

DESCRIPTION:

Emacs is a powerful, customizable, self-documenting, modeless text 
editor.  Emacs contains special code editing features, a scripting 
language (elisp), and the capability to read mail, news, and more 
without leaving the editor.


Ken Brown
New emacs maintainer for Cygwin



To update your installation, click on the Install Cygwin now link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is
available starting at this URL.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-15 Thread Ken Brown

On 5/15/2009 9:09 AM, gustav wrote:

Dear Ken,

First, thank you so much for having taken care of Emacs!

I enclose a patch to rmail.el, which I always have to apply, because
version 21.2 normally attempts to create files with po:, but neither
Windows nor Cygwin tolerate that. Current rmail.el checks for Windows,
but doesn't for Cygwin.


This has already been fixed upstream, as of emacs 22.1.  Here's an 
excerpt from the current rmail.el (emacs 23.0.92):


(concat .newmail-
(file-name-nondirectory
 (if (memq system-type '(windows-nt cygwin ms-dos))
 ;; cannot have colons in file name
 (replace-regexp-in-string : - file)
   file)))

By the way, the patch is no longer needed; as of cygwin 1.7, it's legal 
to have colons in file names.


Ken

P.S.  For future reference, it's best to send comments about cygwin 
packages to the cygwin mailing list so that others can benefit from them 
also.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-15 Thread Ken Brown
New experimental versions of the emacs, emacs-X11, and emacs-el packages 
are now available for download for those testing cygwin 1.7, replacing 
the previous experimental 22.1-3 packages.  I have left 21.2-13 as current.


CYGWIN NEWS:

This is the first release in almost two years, after a maintainer 
change.  If no serious problems arise, I hope to make some version of 
emacs-23 the current version of emacs by the time Cygwin 1.7 is released.


There is one known bug: The cygwin build of emacs has problems getting 
the local time zone (see 
http://www.cygwin.com/ml/cygwin/2009-02/msg00148.html).  This affects 
emacs functions like display-time.  A workaround is to set the TZ 
environment variable before starting emacs.  For example,


  export TZ=America/New_York

NEWS:
=
This is an upstream pre-release for what will be emacs 23.1.  See

  http://www.gnu.org/software/emacs/

for more information.

DESCRIPTION:

Emacs is a powerful, customizable, self-documenting, modeless text 
editor.  Emacs contains special code editing features, a scripting 
language (elisp), and the capability to read mail, news, and more 
without leaving the editor.


Ken Brown
New emacs maintainer for Cygwin



To update your installation, click on the Install Cygwin now link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is
available starting at this URL.