* re: help-gnu-emacs Digest, Vol 132, Issue 1
[not found] <mailman.185.1383321653.6028.help-gnu-emacs@gnu.org>
@ 2013-11-01 16:07 ` Denise Chemla
0 siblings, 0 replies; only message in thread
From: Denise Chemla @ 2013-11-01 16:07 UTC (permalink / raw)
To: help-gnu-emacs
Well, when I press Ctrl+J at the end of the lines containing your instruction, it only put an empty line on the next line but doesn't answer nothing. Will we succeed or am I condamned to type utf-8- ad vitam aeternam ?...!
Sincerely yours,
Denise
> Message du 01/11/13 17:01
> De : help-gnu-emacs-request@gnu.org
> A : help-gnu-emacs@gnu.org
> Copie à :
> Objet : help-gnu-emacs Digest, Vol 132, Issue 1
>
> Send help-gnu-emacs mailing list submissions to
> help-gnu-emacs@gnu.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> or, via email, send a message with subject or body 'help' to
> help-gnu-emacs-request@gnu.org
>
> You can reach the person managing the list at
> help-gnu-emacs-owner@gnu.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of help-gnu-emacs digest..."
>
>
> Today's Topics:
>
> 1. Re: python-shell-send-region uses wrong encoding? (Ernest Adrogu?)
> 2. Re: python-shell-send-region uses wrong encoding? (Stefan Monnier)
> 3. inconsistent file ordering for remote vs local dired
> (gottlieb@nyu.edu)
> 4. Re: inconsistent file ordering for remote vs local dired
> (Michael Albinus)
> 5. utf8 (Denise Chemla)
> 6. Re: utf8 (Peter Dyballa)
> 7. What is the difference between forward-list and forward-sexp?
> (Marcin Borkowski)
> 8. RE: What is the difference between forward-list and
> forward-sexp? (Drew Adams)
> 9. Re: What is the difference between forward-list and
> forward-sexp? (Jambunathan K)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 31 Oct 2013 18:54:38 +0100
> From: Ernest Adrogu?
> To: help-gnu-emacs@gnu.org
> Subject: Re: python-shell-send-region uses wrong encoding?
> Message-ID:
> Content-Type: text/plain; charset=us-ascii
>
> 29-10-2013, 23:20 (-0400); Stefan Monnier escriu:
> > I installed a variant of that patch in Emacs's trunk, which should fix
> > the problem.
>
> The original problem is fixed, but now there's another problem. Send this
> to Python:
>
> class Foo(object):
>
> pass
>
> and you get IndentationError. The problem seems to be this change:
>
> @@ -2034,26 +2038,32 @@ there for compatibility with CEDET.")
> (defun python-shell-send-string (string &optional process msg)
> "Send STRING to inferior Python PROCESS.
> -When MSG is non-nil messages the first line of STRING."
> +When MSG is non-nil messages the first line of STRING.
> +If a temp file is used, return its name, otherwise return nil."
> (interactive "sPython command: ")
> (let ((process (or process (python-shell-get-or-create-process)))
> - (lines (split-string string "\n" t)))
> - (and msg (message "Sent: %s..." (nth 0 lines)))
> - (if (> (length lines) 1)
> + (_ (string-match "\\`\n*\\(.*\\)\\(\n.\\)?" string))
> + (multiline (match-beginning 2)))
> + (and msg (message "Sent: %s..." (match-string 1 string)))
> + (if multiline
> (let* ((temporary-file-directory
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 31 Oct 2013 16:35:30 -0400
> From: Stefan Monnier
> To: help-gnu-emacs@gnu.org
> Subject: Re: python-shell-send-region uses wrong encoding?
> Message-ID:
> Content-Type: text/plain
>
> >> I installed a variant of that patch in Emacs's trunk, which should fix
> >> the problem.
> > The original problem is fixed, but now there's another problem. Send this
> > to Python:
>
> Ah, thanks for the test case. I see there are more problems, even.
> I'm beginning to better understand the code,
>
>
> Stefan
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 31 Oct 2013 18:07:30 -0400
> From: gottlieb@nyu.edu
> To: help-gnu-emacs@gnu.org
> Subject: inconsistent file ordering for remote vs local dired
> Message-ID:
> Content-Type: text/plain
>
> My systems run gnu-linux (gentoo) and emacs 24.3.
>
> Consider a directory DIR with just two files: lower and Upper.
> /bin/ls DIR the files in the order "lower upper".
> emacs -Q dired DIR also lists them in the order "lower Upper".
>
> But emacs -Q dired /localhost:DIR lists them in the order
> "Upper lower".
>
> How can I make them use the same ordering?
>
> (Naturally, the interesting case is when using two systems and not
> localhost).
>
> thanks,
> allan
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 01 Nov 2013 09:02:58 +0100
> From: Michael Albinus
> To: gottlieb@nyu.edu
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: inconsistent file ordering for remote vs local dired
> Message-ID:
> Content-Type: text/plain
>
> gottlieb@nyu.edu writes:
>
> Hi Allen,
>
> > My systems run gnu-linux (gentoo) and emacs 24.3.
> >
> > Consider a directory DIR with just two files: lower and Upper.
> > /bin/ls DIR the files in the order "lower upper".
> > emacs -Q dired DIR also lists them in the order "lower Upper".
> >
> > But emacs -Q dired /localhost:DIR lists them in the order
> > "Upper lower".
> >
> > How can I make them use the same ordering?
>
> This is solved in the recent Emacs trunk. You could upgrade to that
> developer version Emacs 24.3.50, or use the latest Tramp release 2.2.8.
>
> I've tried to find the change which made it happen, but there is no
> obvious one. So I cannot offer you a patch for the builtin Tramp version
> of Emacs 24.3.
>
> > thanks,
> > allan
>
> Best regards, Michael.
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 1 Nov 2013 10:26:11 +0100 (CET)
> From: Denise Chemla
> To: help-gnu-emacs@gnu.org
> Subject: utf8
> Message-ID:
> Content-Type: text/plain; charset=UTF-8
>
> Hi everybody,
>
> ?
>
> I am french, I use intensively gnu-emacs but I don't know it too much. I probably click on bad keys from my keyboard and now, each time I want to save my file using ctrl-s, emacs tells me something like "please confirm your encoding is well utf-8-unix" and only after I write all the letters U T F - 8 - U N I X, it saves my work. I am completely tired to type all those letters at each time I save.
>
> ?
>
> Could you help me, telling me what I made wrong ?
>
> ?
>
> Sincerely yours,
>
> Denise Chemla
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 1 Nov 2013 15:18:29 +0100
> From: Peter Dyballa
> To: Denise Chemla
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: utf8
> Message-ID:
> Content-Type: text/plain; charset=us-ascii
>
>
> Am 01.11.2013 um 10:26 schrieb Denise Chemla:
>
> > each time I want to save my file using ctrl-s,
>
> That cannot work! C-s is bound to incremental-search- or isearch-forward.
>
> > emacs tells me something like "please confirm your encoding is well utf-8-unix" and only after I write all the letters U T F - 8 - U N I X, it saves my work. I am completely tired to type all those letters at each time I save.
>
> You should check the environment variables LANG and LC_ALL. They make GNU Emacs choose an encoding that corresponds to their values. It might work to override this setting by using in your init file
>
> (prefer-coding-system 'utf-8)
>
> BTW, you don't need to repeat the letters "U T F - 8 - U N I X", the second and the other times you can use the arrow keys (up or down) to get your preferred value back. TAB also allows to expand the word started.
>
> --
> Greetings
>
> Pete
>
> A census taker is a man who goes from house to house increasing the population.
>
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 1 Nov 2013 15:40:02 +0100
> From: Marcin Borkowski
> To: GNU Emacs users list
> Subject: What is the difference between forward-list and forward-sexp?
> Message-ID:
> Content-Type: text/plain; charset=US-ASCII
>
> Hi all,
>
> the subject says it all. A simple test (involving two *very* simple
> cases) didn't show any difference. The source code is quite similar,
> and (at least if forward-sexp-function is undefined) the difference
> boils down to calling scan-lists or scan-sexps. These in turn are
> defined in the C source code, which I don't have on my disk (and I'm
> not fluent in C, so the source code wouldn't help me very much anyway).
>
> Best,
>
> --
> Marcin Borkowski
> http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
> Adam Mickiewicz University
>
>
>
> ------------------------------
>
> Message: 8
> Date: Fri, 1 Nov 2013 08:05:50 -0700 (PDT)
> From: Drew Adams
> To: Marcin Borkowski , GNU Emacs users list
>
> Subject: RE: What is the difference between forward-list and
> forward-sexp?
> Message-ID:
> Content-Type: text/plain; charset=us-ascii
>
> > the subject says it all. A simple test (involving two *very* simple
> > cases) didn't show any difference.
>
> A list is a sexp, but not all sexps are lists.
>
>
>
> ------------------------------
>
> Message: 9
> Date: Fri, 01 Nov 2013 20:37:37 +0530
> From: Jambunathan K
> To: Marcin Borkowski
> Cc: GNU Emacs users list
> Subject: Re: What is the difference between forward-list and
> forward-sexp?
> Message-ID:
> Content-Type: text/plain
>
>
> I am not familiar with the technical details. Let me share how I use
> those two.
>
> ----------------------------------------------------------------
>
> Diff. between C-M-f and C-M-n
> =============================
>
> sexp => An expression.
>
> You can use C-M-f to move a symbol at a time. C-M-n will look for a
> parenthesis and skip past it.
>
> (defun message (msg)
> (message msg))
>
> Put your cursor on the 'd' character of defun above and do a C-M-f and a
> C-M-n. You will see a difference.
>
> ----------------------------------------------------------------
>
> Difference between M-f and C-M-f
> ================================
>
> M-f considers word as a unit. C-M-f takes symbol as a unit. Likewise
> for M-k cuts a word and C-M-k will cut a symbol.
>
> (string-match "\\^" markers)
>
> Put your cursor on the 's' of the string-match and do a M-f and C-M-f.
> See what happens.
>
> The above example is in elisp. One can try the above exercise with C
> symbols that have underscores in them.
>
> ----------------------------------------------------------------
>
> Marcin Borkowski writes:
>
> > Hi all,
> >
> > the subject says it all. A simple test (involving two *very* simple
> > cases) didn't show any difference. The source code is quite similar,
> > and (at least if forward-sexp-function is undefined) the difference
> > boils down to calling scan-lists or scan-sexps. These in turn are
> > defined in the C source code, which I don't have on my disk (and I'm
> > not fluent in C, so the source code wouldn't help me very much anyway).
> >
> > Best,
>
>
>
> ------------------------------
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> https://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
>
> End of help-gnu-emacs Digest, Vol 132, Issue 1
> **********************************************
>
^ permalink raw reply [flat|nested] only message in thread