all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Uday Reddy <uDOTsDOTreddy@cs.bham.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: Old style backquotes warning
Date: Tue, 22 Mar 2011 14:27:49 +0000	[thread overview]
Message-ID: <4d88b1ed$0$23757$14726298@news.sunsite.dk> (raw)
In-Reply-To: <mailman.9.1300481525.31996.help-gnu-emacs@gnu.org>

On 3/18/2011 8:51 PM, Drew Adams wrote:
>> old backquotes detected.  How do I fix the macro?
>>
>> (defmacro squash (month day year time&optional court)
>>    (backquote
>>     (squash-internal (, month) (, day) (, year) (quote (, time))
>>                      (, court))))
>
> (defmacro squash (m d y t&optional c)
>    `(squash-internal ,m ,d ,y ',t ,c))
>
>

Right.  Any idea what is old style about this backquote:

		`(lambda ()
		   (if (eq (current-buffer) ,(current-buffer))
		       (kill-buffer ,work-buffer)))

The compiler complains rather bitterly!

Cheers,
Uday



  parent reply	other threads:[~2011-03-22 14:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 16:20 Old style backquotes warning Ed Reingold
2011-03-18 20:51 ` Drew Adams
2011-03-18 20:54 ` Drew Adams
     [not found] ` <mailman.9.1300481525.31996.help-gnu-emacs@gnu.org>
2011-03-18 21:35   ` Ed Reingold
2011-03-22 14:27   ` Uday Reddy [this message]
2011-03-22 14:34     ` Uday Reddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='4d88b1ed$0$23757$14726298@news.sunsite.dk' \
    --to=udotsdotreddy@cs.bham.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.