unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Colin Williams <lackita@gmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: bug#4004: filename completion
Date: Mon, 17 Aug 2009 12:42:08 -0400	[thread overview]
Message-ID: <87ab1y8k9r.fsf@stupidchicken.com> (raw)
In-Reply-To: <nq7hx278y2.fsf@alcatel-lucent.de> (Michael Albinus's message of "Mon, 17 Aug 2009 17:32:05 +0200")

Michael Albinus <michael.albinus@gmx.de> writes:

>>> Would it be OK to add the check
>>>   (and (boundp 'completion-styles)
>>>        (member 'partial-completion (symbol-value 'completion-styles)))
>>
>> You mean
>>
>>    (and (boundp 'completion-styles)
>>         (member 'partial-completion completion-styles))
>>
>> ?
>
> Yes, I mean that. My version avoids compiler warnings for unknown
> symbol completion-styles, when Tramp runs outside GNU Emacs 23.

The byte-compiler is smart enough to recognize this situation and avoid
warning about it.




  reply	other threads:[~2009-08-17 16:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com>
     [not found] ` <877hxlbndl.fsf@gmx.de>
     [not found]   ` <jwvr5vs3fu0.fsf-monnier+emacsbugreports@gnu.org>
     [not found]     ` <87ocqwenwl.fsf@gmx.de>
     [not found]       ` <jwvmy6c23nk.fsf-monnier+emacsbugreports@gnu.org>
2009-08-07 12:04         ` bug#4004: filename completion Michael Albinus
2009-08-10 19:53           ` Stefan Monnier
2009-08-10 20:06             ` Lennart Borgman
2009-08-10 21:34             ` Michael Albinus
2009-08-15 19:44             ` bug#4004: " Michael Albinus
2009-08-17 15:03               ` Stefan Monnier
2009-08-17 15:32                 ` Michael Albinus
2009-08-17 16:42                   ` Chong Yidong [this message]
2009-08-17 16:50                     ` Drew Adams
2009-08-17 20:00                   ` Stefan Monnier
2009-08-18  5:28                     ` Michael Albinus
2009-08-18 13:10                       ` Stefan Monnier
2009-08-18 14:46                         ` Michael Albinus
2009-08-18 15:11                           ` David Kastrup
2009-08-18 16:44                             ` Stefan Monnier
2009-08-18 19:03                               ` Michael Albinus
2009-08-18 19:25                                 ` Stefan Monnier
2009-08-18 21:44                                   ` David Kastrup

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87ab1y8k9r.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=lackita@gmail.com \
    --cc=michael.albinus@gmx.de \
    --cc=monnier@iro.umontreal.ca \
    /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 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).