From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Mon, 28 Dec 2015 09:44:18 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11409d3e91097e0527f14f06 X-Trace: ger.gmane.org 1451292278 1518 80.91.229.3 (28 Dec 2015 08:44:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Dec 2015 08:44:38 +0000 (UTC) Cc: emacs-devel To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 28 09:44:37 2015 Return-path: Envelope-to: ged-emacs-devel@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 1aDTPx-0002Em-8L for ged-emacs-devel@m.gmane.org; Mon, 28 Dec 2015 09:44:37 +0100 Original-Received: from localhost ([::1]:43911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDTPw-00088e-8G for ged-emacs-devel@m.gmane.org; Mon, 28 Dec 2015 03:44:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDTPh-00088V-Mu for emacs-devel@gnu.org; Mon, 28 Dec 2015 03:44:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDTPg-0004Wo-1J for emacs-devel@gnu.org; Mon, 28 Dec 2015 03:44:21 -0500 Original-Received: from mail-io0-x22e.google.com ([2607:f8b0:4001:c06::22e]:36057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDTPf-0004Wk-OM for emacs-devel@gnu.org; Mon, 28 Dec 2015 03:44:19 -0500 Original-Received: by mail-io0-x22e.google.com with SMTP id o67so299532078iof.3 for ; Mon, 28 Dec 2015 00:44:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wkgI3rzoY0COJXYwj4y32JhEv8Mzx3m4w9/XTo6WG/o=; b=jkBTeY7Q0R7/ddOVd7EXoEyYntjMiy+V9Mrd0o6Juomi4a7Llgrv1+kk58e8z+Zvuw Zv05At+voUGk5jG8qungr3w7URNuQTqhDQDlLGetgtDk3hDw4lgyPfbbsTwLz5qT9NRI POX1ssaHsYwkQAS1Hk4Lz5lOi5JF32cWhjW/89ALaF5pETKUNdZCv3My9n92RJc3VLo9 R54kN7HEr+jJrp21ChyVCRVrgUY5pWp7mPcEDdlmPaOD9Jy+cB6W8gqo9O3gBGnoWT02 DFnEmMHMvIcPfXD8XNIba53QI7PuFfSDz5cvGgqb9ysczGUI/qbpZD8Csfa1IpV5mYaM A75w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=batsov-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wkgI3rzoY0COJXYwj4y32JhEv8Mzx3m4w9/XTo6WG/o=; b=RFSqbwOp8WLjLZcH9e0Nst9bUflJN+vLAiZh0fAG0llzNNXkZmEbG4VKZC3vH87v3t 5d5NL4zX79cswu0NAuhn1wjeEa1Oh66sgVynBXG/lV0NchfmQKdhky91IX3ITpHeWeSa GS/p/G5I9lSVBLzczPmC1Wxf1u8D0IqCila9KSIYpK5EeudXUkes7kWC3u5Eoxc0KuV9 EMlshgXVhQiz9vf1//yFAe3QJNsj/Hty6shXbBGet2V6nkx6Az12ypPu31sQLBFEf1Tr WNzbcq5+juhRIHy5Jw4gkVcAbBg53uwQ3zZ8bmCMihrDc9eQR32V0OfJFT7Wzwrf4Ge7 Ld1g== X-Received: by 10.107.162.21 with SMTP id l21mr47738319ioe.123.1451292259057; Mon, 28 Dec 2015 00:44:19 -0800 (PST) Original-Received: by 10.107.26.194 with HTTP; Mon, 28 Dec 2015 00:44:18 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: SOlybRrFf6ZkBG3amsxbYlgzSfY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c06::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196997 Archived-At: --001a11409d3e91097e0527f14f06 Content-Type: text/plain; charset=UTF-8 We should aim to provide the best possible Emacs experience on every platform, so I doubt there will be much opposition to making that cocoa port better. We've discussed with Jan a while back, that it's ok to add OS X-specific features, as long as they are enabled conditionally and the the GNUStep version is not affected by them. I suspect that a lot of Emacs users are OS X users these days (many friends of mine who were long-time GNU/Linux users work on OS X today, me included), so the impact of improving the cocoa port can be potentially huge! On 28 December 2015 at 08:51, YAMAMOTO Mitsuharu < mituharu@math.s.chiba-u.ac.jp> wrote: > >>>>> On Thu, 24 Dec 2015 09:28:35 -0800, John Wiegley > said: > > >> The Mac port based on the `emacs-25' branch is now available from > >> https://bitbucket.org/mituharu/emacs-mac.git (the `work' branch) > > >> Note that this is a bare development branch and documentations are > >> not updated yet. You don't have to specify --with-mac for configure > >> options because it is the default now. > > > Thank you, Yamamoto-san! This is fantastic, and will help me to > > track the latest development more closely than a build I only use > > for testing. > > > How much work would it be for us to merge this build flavor into the > > main emacs-25 branch? > > Originally, the Mac port was not intended for inclusion to the > main distribution, but for my private and classroom use. But if > the inclusion is useful and meaningful for many people, then I'll > make some effort to do that. > > I have one concern about the inclusion of the Mac port, that is, > whether it can be merged with its full features. If not, then I'll > have to provide some additional patch anyway, and that's not > beneficial to the current users of the Mac port. In particular, I > suspect the inclusion of the following features might be controversial > whether they can be regarded as specific to Mac: > > * Pixel-based mouse wheel smooth scroll for newer mice/trackpads. > * When the clipboard has both textual and image data, yank inserts > the former and push both into the kill ring so the latter can be > inserted with yank-pop afterwards. > * The function `mac-start-animation' provides several animation > effects via Core Animation. You can see the default > animations with buffer switching by horizontal > swiping/flicking (horizontal movement), exiting from the > splash screen by typing "q" (fade out), and the "About > Emacs" (ripple effect) and "Preferences..." menu items (swipe > effect) in the application menu in the menu bar. > * Emoji display, with support of variation sequences (text-style > vs. emoji-style) and modifiers (skin tones) if the font supports > them. > * Blend-and-blur of background color on OS X 10.10 and later > via face's stipple attribute: e.g., (set-face-stipple > 'fringe "alpha:50%"). > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp > > --001a11409d3e91097e0527f14f06 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
We should aim to provide the best possible Emacs experienc= e on every platform, so I doubt there will be much opposition to making tha= t cocoa port better. We've discussed with Jan a while back, that it'= ;s ok to add OS X-specific features, as long as they are enabled conditiona= lly and the the GNUStep version is not affected by them.=C2=A0

I suspect that a lot of Emacs users are OS X users these days (many = friends of mine who were long-time GNU/Linux users work on OS X today, me i= ncluded), so the impact of improving the cocoa port can be potentially huge= !

On 2= 8 December 2015 at 08:51, YAMAMOTO Mitsuharu <mituharu@math.s= .chiba-u.ac.jp> wrote:
>>>>> On Thu, 24 Dec 2015 09:28:35 -0800, John = Wiegley <jwiegley@gmail.com>= ; said:

>> The Mac port based on the `emacs-25' branch is now available f= rom
>> https://bitbucket.org/mituharu/emacs-mac.git (the `work' branch)

>> Note that this is a bare development branch and documentations are=
>> not updated yet. You don't have to specify --with-mac for conf= igure
>> options because it is the default now.

> Thank you, Yamamoto-san! This is fantastic, and will help me to
> track the latest development more closely than a build I only use
> for testing.

> How much work would it be for us to merge this build flavor into the > main emacs-25 branch?

Originally, the Mac port was not intended for inclusion to the
main distribution, but for my private and classroom use.=C2=A0 But if
the inclusion is useful and meaningful for many people, then I'll
make some effort to do that.

I have one concern about the inclusion of the Mac port, that is,
whether it can be merged with its full features.=C2=A0 If not, then I'l= l
have to provide some additional patch anyway, and that's not
beneficial to the current users of the Mac port.=C2=A0 In particular, I
suspect the inclusion of the following features might be controversial
whether they can be regarded as specific to Mac:

=C2=A0 * Pixel-based mouse wheel smooth scroll for newer mice/trackpads. =C2=A0 * When the clipboard has both textual and image data, yank inserts =C2=A0 =C2=A0 the former and push both into the kill ring so the latter can= be
=C2=A0 =C2=A0 inserted with yank-pop afterwards.
=C2=A0 * The function `mac-start-animation' provides several animation<= br> =C2=A0 =C2=A0 effects via Core Animation.=C2=A0 You can see the default
=C2=A0 =C2=A0 animations with buffer switching by horizontal
=C2=A0 =C2=A0 swiping/flicking (horizontal movement), exiting from the
=C2=A0 =C2=A0 splash screen by typing "q" (fade out), and the &qu= ot;About
=C2=A0 =C2=A0 Emacs" (ripple effect) and "Preferences..." me= nu items (swipe
=C2=A0 =C2=A0 effect) in the application menu in the menu bar.
=C2=A0 * Emoji display, with support of variation sequences (text-style
=C2=A0 =C2=A0 vs. emoji-style) and modifiers (skin tones) if the font suppo= rts
=C2=A0 =C2=A0 them.
=C2=A0 * Blend-and-blur of background color on OS X 10.10 and later
=C2=A0 =C2=A0 via face's stipple attribute: e.g., (set-face-stipple
=C2=A0 =C2=A0 'fringe "alpha:50%").

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0YAMAMOTO Mitsuha= ru
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
mituharu@math.s.chiba-u.ac.jp


--001a11409d3e91097e0527f14f06--