From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: About `name' in loadup.el Date: Wed, 13 Mar 2013 11:35:31 +0100 Message-ID: <87620vlh8s.fsf@zigzag.favinet> References: <20130310081124.53c92d1c25c2bc9c9fe0bf7b@gmail.com> <877glfo5p2.fsf@zigzag.favinet> <20130310210249.11a8a74c64af0c126605df8f@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1363170843 26473 80.91.229.3 (13 Mar 2013 10:34:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2013 10:34:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xue Fuqiao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 13 11:34:29 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UFj0u-00073r-1v for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Mar 2013 11:34:28 +0100 Original-Received: from localhost ([::1]:42934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFj0X-0001l1-DI for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Mar 2013 06:34:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFj06-0001di-17 for help-gnu-emacs@gnu.org; Wed, 13 Mar 2013 06:33:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFj02-0008HR-DS for help-gnu-emacs@gnu.org; Wed, 13 Mar 2013 06:33:37 -0400 Original-Received: from smtp205.alice.it ([82.57.200.101]:46997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFj02-0008H4-3p for help-gnu-emacs@gnu.org; Wed, 13 Mar 2013 06:33:34 -0400 Original-Received: from zigzag.favinet (95.244.64.226) by smtp205.alice.it (8.6.060.15) id 511D107403EA79D9; Wed, 13 Mar 2013 11:33:28 +0100 Original-Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1UFj28-0007ZV-Hw; Wed, 13 Mar 2013 11:35:44 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89504 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Xue Fuqiao () Sun, 10 Mar 2013 21:02:49 +0800 As I said in this thread, I usually do many things before asking a questions: http://lists.gnu.org/archive/html/help-gnu-emacs/2013-01/msg00076.html One thing that you can add to that list is to try executing code (that you feel is safe), to see how it behaves in reality. If the snippet is small and relatively self-contained (as in this particular case), it can be fun to wrap it in a command and edebug it. For example, in *scratch*: (defun ttn-try () (interactive) (... some code ...)) =20 (global-set-key [(meta f1)] 'ttn-try) Then: =2D Place point on the =E2=80=98defun=E2=80=99 and do =E2=80=98M-x edebug-d= efun RET=E2=80=99. =2D Invoke (via =E2=80=98M-f1=E2=80=99), step through (via =E2=80=98SPC=E2= =80=99), eval (via =E2=80=98e=E2=80=99), etc. There is also =E2=80=98edebug-eval-top-level-form=E2=80=99, which is easier= to work with (less preparation required). I use =E2=80=98edebug-defun=E2=80=99 out of h= abit, mostly. > Adopting this approach is beneficial in another way: You will no > longer need to ask the somewhat pointless question "Can anybody > help?". The answer to that question is always "yes". (Likewise, > the answer to "Who can help?" must necessarily include "Xue > Fuqiao". :-D) I won't close my request for help with semantically-null questions like =E2=80=9CCan anyone help?=E2=80=9D any more, because they are super= fluous and annoying =E2=80=94 like what you said. Well, the truth is i have a lot of practice being superfluous and annoying. You could say i'm an expert on this subject! :-D Anyway, Emacs is cool because you can study it also "from the inside". =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlFAVnYACgkQZwMiJEyAdQKcLgCdGWR688Y0iUWM/fJl9AFb5F+g DMsAniMoAQQ8goNZIliLSWW+QkwROf9f =xbBd -----END PGP SIGNATURE----- --=-=-=--