Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dualウィンドウモードでfilerのディレクトリ指定が動かない #130

Open
x022235 opened this issue Mar 19, 2012 · 0 comments
Milestone

Comments

@x022235
Copy link
Member

x022235 commented Mar 19, 2012

511 名無し~3.EXE sage 03/08/29 20:32 ID:vCpzpY/7
(filer "path 名" t nil t) としても 
"path 名"がファイラーが最初に表示するディレクトリにならないのは 
仕様でしょうか? 
(filer "path 名" t nil nil) ならなるみたいなのですが。

http://www.bookshelf.jp/2ch/win/1053880433.html#511

メモ

  • dual モード時は *filer-primary-directory* が nil なら
    filer の引数で指定されたディレクトリを使う。
  • 一度ファイラーを開くと *filer-primary-directory* に値が設定されるため、
    filer で指定した引数が無視される。
  • single モードでは常に引数で指定したディレクトリを利用する。
lisp
Ffiler (lisp path, lisp multi, lisp title, lisp dual, lisp lmodeless)
{
    ...
  lisp pdir, sdir;
  if (dual == Qnil)
    pdir = sdir = dir;
  else
    {
      pdir = xsymbol_value (Vfiler_primary_directory);
      if (!stringp (pdir) || Ffile_directory_p (pdir) == Qnil)
        pdir = dir;
      pdir = Fappend_trail_slash (Fmap_backslash_to_slash (pdir));
      sdir = xsymbol_value (Vfiler_secondary_directory);
      if (!stringp (sdir) || Ffile_directory_p (sdir) == Qnil)
        sdir = dir;
      sdir = Fappend_trail_slash (Fmap_backslash_to_slash (sdir));
    }
@ghost ghost assigned x022235 Mar 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant